message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Resolved QT warning from the annotations window. | @@ -798,14 +798,13 @@ QvisAnnotationWindow::CreateGeneralTab3D(QWidget *parentWidget)
int row = 0;
// Create the axes group
- axesGroup = new QGroupBox(parentWidget);
+ axesGroup = new QGroupBox(top);
axesGroup->setTitle(tr("Axes"));
rLayout->addWidget(axesGroup, row, 0, 1, 2);
row++;
// Create the axes layout
QGridLay... |
move esptool sdk installation before python3 env is set. Kind of a cheat | @@ -2,6 +2,16 @@ FROM ubuntu:16.04
RUN apt-get update && apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi python python-pip gcc g++ git autoconf gperf bison flex automake texinfo wget help2man gawk libtool libtool-bin ncurses-dev unzip unrar-free libexpat-dev sed bzip2 locales curl zlib1g-dev libffi-dev lib... |
[chainmaker]modify Macro text | @@ -107,6 +107,8 @@ BSINT32 BoatWalletCreate(BoatProtocolType protocol_type, const BCHAR *wallet_nam
BUINT8 hashLenDummy;
#endif
+ BoatHlchainmakerWalletConfig *test_ptr = (BoatHlchainmakerWalletConfig*)wallet_config_ptr;
+
/* Check wallet configuration */
if ((wallet_name_str == NULL) && (wallet_config_ptr == NULL))
{... |
Fixed inconsistencies in Android VS project test | function suite.setup()
p.action.set("vs2015")
+ system "android"
wks, prj = test.createWorkspace()
end
local function prepare()
- system "android"
- local cfg = test.getconfig(prj, "Debug", platform)
+ local cfg = test.getconfig(prj, "Debug")
vc2010.clCompile(cfg)
end
- local function preparePropertyGroup()
- system "a... |
gimble: switch T8 and T9 key
We have micmute at T8 and keyboard backlight at T9.
BRANCH=none
TEST=make -j BOARD=gimble | @@ -34,8 +34,8 @@ static const struct ec_response_keybd_config gimble_kb = {
TK_SNAPSHOT, /* T5 */
TK_BRIGHTNESS_DOWN, /* T6 */
TK_BRIGHTNESS_UP, /* T7 */
- TK_KBD_BKLIGHT_TOGGLE, /* T8 */
- TK_MICMUTE, /* T9 */
+ TK_MICMUTE, /* T8 */
+ TK_KBD_BKLIGHT_TOGGLE, /* T9 */
TK_PLAY_PAUSE, /* T10 */
TK_VOL_MUTE, /* T11 */
TK_... |
Suppress bison warning in ecpg grammar.
opt_distinct_clause is only used in PLpgSQL_Expr, which ecpg
ignores, so it needs to ignore opt_distinct_clause too.
My oversight in reported by Bruce Momjian.
Discussion: | @@ -71,6 +71,7 @@ my %replace_types = (
'type_function_name' => 'ignore',
'ColLabel' => 'ignore',
'Sconst' => 'ignore',
+ 'opt_distinct_clause' => 'ignore',
'PLpgSQL_Expr' => 'ignore',
'PLAssignStmt' => 'ignore',
'plassign_target' => 'ignore',
|
[CUDA] Enable FP64 versions of math builtins | @@ -639,49 +639,57 @@ void pocl_map_libdevice_calls(llvm::Module *module)
struct function_map_entry function_map[] =
{
// TODO: FP64 versions - not all of them just worked in the same way...
- {"acosf", "__nv_acosf"},
- {"acoshf", "__nv_acoshf"},
- {"asinf", "__nv_asinf"},
- {"asinhf", "__nv_asinhf"},
- {"atanf", "__nv... |
Fix filtering in blend test util | @@ -226,9 +226,9 @@ int main(int argc, char **argv)
// Bilinear filter with a half-pixel offset
float r_src = static_cast<float>(pixel_in_00[0] + pixel_in_01[0] + pixel_in_10[0] + pixel_in_11[0]) / (255.0f * 4.0f);
- float g_src = static_cast<float>(pixel_in_00[1] + pixel_in_01[1] + pixel_in_10[1] + pixel_in_11[2]) / (... |
apps/examples/pwfb/pwfb_main.c: Temporarily work around a race condition by adding a delay. | @@ -396,6 +396,17 @@ static bool pwfb_configure_window(FAR struct pwfb_state_s *st, int wndx,
goto errout_with_hwnd;
}
+ /* There is a race condition which we resole by simply waiting a bit here:
+ * In order for the size and position to take effect, a command is sent to
+ * server which responds with an event. So we n... |
zephyr/drivers/cros_displight/cros_displight.c: Format with clang-format
BRANCH=none
TEST=none | @@ -38,8 +38,8 @@ static void displight_set_duty(int percent)
pulse_ns = DIV_ROUND_NEAREST(DISPLIGHT_PWM_PERIOD_NS * percent, 100);
- LOG_DBG("displight PWM %s set percent (%d), pulse %d",
- pwm_dev->name, percent, pulse_ns);
+ LOG_DBG("displight PWM %s set percent (%d), pulse %d", pwm_dev->name,
+ percent, pulse_ns);
... |
line~: clipping at maxsize | @@ -182,6 +182,7 @@ static void line_list(t_line *x, t_symbol *s, int ac, t_atom *av)
odd = natoms % 2;
nsegs = natoms / 2;
if (odd) nsegs++;
+ /*
if (nsegs > x->x_size)
{
int ns = nsegs = LINE_MAX_SIZE;
@@ -194,6 +195,14 @@ static void line_list(t_line *x, t_symbol *s, int ac, t_atom *av)
odd = 0;
}
}
+ */
+
+ //clip ... |
FIxed jited code for bwd non custom padding | @@ -425,9 +425,9 @@ LIBXSMM_API_DEFINITION libxsmm_dnn_err_t libxsmm_dnn_internal_create_conv_handle
if (handle->padding_flag == 1) {
descriptor.ifh_padded = handle->ifhp + 2 * handle->desc.pad_h;
descriptor.ifw_padded = handle->ifwp + 2 * handle->desc.pad_w;
- matcopyback_descriptor.m = handle->ifhp;
if (handle->buffe... |
script: change the comment accordingly. | @@ -25,7 +25,7 @@ for n in /sys/devices/system/node/node[2-9]; do
echo 0 > $n/hugepages/hugepages-2048kB/nr_hugepages
done
-# reserve the first LLC to iokernel
+# reserve LLC to iokernel
modprobe msr
pqos -R l3cdp-any
pqos -e "llc:1=0x00003;llc:0=0xffffc;"
|
Update README.md
Code block | @@ -29,21 +29,29 @@ INSTALLATION
1. Download ecCodes from https://software.ecmwf.int/wiki/display/ECC/Releases
2. Unpack distribution:
- > tar -xzf eccodes-x.y.z-Source.tar.gz
+ ```
+ tar -xzf eccodes-x.y.z-Source.tar.gz
+ ```
3. Create a separate directory where to build ecCodes:
- > mkdir build
- > cd build
+ ```
+ m... |
Documentation change for automation only: update tunnel restart mechanism.
The SSH/HTTPS tunnel restart mechanism is changed to use the native SSH server ping/restart approach, rather than the autossh -M mechanism, since the SSH mechanism requires no extra spare ports. | @@ -367,7 +367,7 @@ sudo make install
...run `autossh` once, manually, as `sudo` in order to accept the signature of the remote server with something like:
```
-sudo /usr/local/bin/autossh -M 2000 -N -R 8888:localhost:8888 user@remote_machine -i path/to/ssh_key
+sudo /usr/local/bin/autossh -M 0 -o "ServerAliveInterval ... |
Nicer spelling and layout. | @@ -146,7 +146,7 @@ check_mod(struct config_file* cfg, struct module_func_block* fb)
edns_known_options_delete(&env);
}
-/** true is addr is a localhost address, 127.0.0.1 or ::1 (@port) */
+/** true if addr is a localhost address, 127.0.0.1 or ::1 (@port) */
static int
str_addr_is_localhost(const char* a)
{
@@ -165,14... |
adds some base64 en/de-coding tests | ?~(out abet ((slog out) abet))
::
++ test-base64
- =/ jon '{"iss":"joe","exp":1300819380,"http://example.com/is_root":true}'
;: weld
%- expect-eq !>
- :- 'AQAB'
- (en-base64url 65.537)
+ ['AQAB' (en-base64url 65.537)]
%- expect-eq !>
- :- 65.537
- (need (de-base64url 'AQAB'))
- :: expected value includes newlines
- :: ... |
Added docstrings to pyutils.py. | @@ -4,8 +4,11 @@ import numpy as np
import core
def check(status):
- """
- Check the status returned by a ccllib function.
+ """Check the status returned by a ccllib function.
+
+ Args:
+ status (int or core.error_types): Flag or error describing the success of a function.
+
"""
# Check for normal status (no action req... |
Bugfix: nsa_socket_internal() must not change the blocking mode of an underlying system socket. | @@ -464,16 +464,6 @@ int nsa_socket_internal(int domain, int type, int protocol,
neatSocket->ns_socket_sd = customFD;
}
- /* ====== Set socket into non-blocking mode =========================== */
- if(neatSocket->ns_socket_sd >= 0) {
- // Do not change blocking mode for stdout, stderr and stdin.
- if( (neatSocket->ns_... |
kukui: Disable eMMC power supply on boot
Allows reworked boards to boot using eMMC emulation, without
manual steps.
BRANCH=none
TEST=Flash and boot kukui
Commit-Ready: ChromeOS CL Exonerator Bot | @@ -216,6 +216,9 @@ void emmc_task(void *u)
/* Are we currently transmitting data? */
int tx = 0;
+ /* TODO(b:111773571): Remove this once we fix eMMC power supply. */
+ mt6370_set_ldo_voltage(0);
+
emmc_init_spi();
gpio_enable_interrupt(GPIO_EMMC_CMD);
@@ -231,6 +234,7 @@ void emmc_task(void *u)
/*
* TODO(b:110907438)... |
py/stream: Update comment for mp_stream_write_adaptor. | @@ -242,7 +242,7 @@ mp_obj_t mp_stream_write(mp_obj_t self_in, const void *buf, size_t len, byte fla
}
}
-// XXX hack
+// This is used to adapt a stream object to an mp_print_t interface
void mp_stream_write_adaptor(void *self, const char *buf, size_t len) {
mp_stream_write(MP_OBJ_FROM_PTR(self), buf, len, MP_STREAM_RW... |
Add \t' to system info message for readability | @@ -93,7 +93,7 @@ void sysinfo(void)
do {
nread = read(fd, sysinfo_str, MAX_BUF_SIZE);
sysinfo_str[nread] = '\0';
- printf("%s", sysinfo_str);
+ printf("\t%s", sysinfo_str);
} while (nread == MAX_BUF_SIZE);
close(fd);
printf("\n");
|
No ESP in non-white | @@ -65,6 +65,7 @@ def flash_release(path=None, st_serial=None):
panda.close()
# flashing ESP
+ if panda.is_white():
status("4. Flashing ESP (slow!)")
align = lambda x, sz=0x1000: x+"\xFF"*((sz-len(x)) % sz)
esp = ESPROM(st_serial)
@@ -78,6 +79,8 @@ def flash_release(path=None, st_serial=None):
del flasher
del esp
time.... |
Better relative tray positioning. | @@ -436,44 +436,35 @@ void ComputeTraySize(TrayType *tp)
tp->x = tp->requestedX;
tp->y = tp->requestedY;
- /* Determine on which screen the tray will reside. */
- switch(tp->valign) {
- case TALIGN_TOP:
- y = 0;
- break;
- case TALIGN_BOTTOM:
- y = rootHeight - 1;
- break;
- case TALIGN_CENTER:
- y = 1 + rootHeight / 2... |
Check if not using Opaque PSK in ECHDE-PSK PSA version of ssl_parse_client_key_exchange() | @@ -4046,6 +4046,10 @@ static int ssl_parse_client_key_exchange( mbedtls_ssl_context *ssl )
psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED;
uint8_t ecpoint_len;
+ /* Opaque PSKs are currently only supported for PSK-only. */
+ if( ssl_use_opaque_psk( ssl ) == 1 )
+ return( MBEDTLS_ERR_SSL_FEATURE_UNAVAI... |
mbedtls: fix crt_bundle test to ensure proper server start event
This fixes occasional test failure that was observed due to
client task getting started before server was up. | @@ -168,6 +168,9 @@ void server_task(void *pvParameters)
goto exit;
}
+ /* Signal that server is up and hence client task can start now */
+ xSemaphoreGive(*sema);
+
bool connected = false;
while (!exit_flag) {
@@ -272,8 +275,6 @@ int client_task(const uint8_t *bundle, esp_crt_validate_res_t *res)
esp_crt_bundle_set(bu... |
Minor changes in cli and python migrate target. | @@ -28,7 +28,7 @@ endif()
set(target python-frontend-migrate)
add_custom_target(${target} ALL
- COMMAND ${CMAKE_COMMAND} -E env "PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR};$ENV{PYTHONPATH}" ${PYTHON_EXECUTABLE} ${LOADER_SCRIPT_PATH}/manage.py migrate
+ COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH="${CMAKE_CURRENT_BINARY_DIR}... |
doc: add MCE check avoidance explanation
Add a reference to the intel.com white paper on MCE avoidance to the
Disable MCE Workaround configuration option | @@ -111,7 +111,7 @@ If your VM is not a security VM, leave this option unchecked. </xs:documentation
</xs:element>
<xs:element name="MCE_ON_PSC_DISABLED" type="Boolean" default="n">
<xs:annotation acrn:title="Disable MCE workaround" acrn:views="advanced">
- <xs:documentation>Disable the software workaround for Machine ... |
doc: Fix link reference for PGSSLMAXPROTOCOLVERSION
The link was pointing to the minimum protocol version. Incorrect as of
Author: Daniel Gustafsson
Discussion:
Backpatch-through: 13 | @@ -7872,7 +7872,7 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
<primary><envar>PGSSLMAXPROTOCOLVERSION</envar></primary>
</indexterm>
<envar>PGSSLMAXPROTOCOLVERSION</envar> behaves the same as the <xref
- linkend="libpq-connect-ssl-min-protocol-version"/> connection parameter.
+ linkend="libpq-con... |
free the Post-Handshake Auth digest when there is an error saving the digest | @@ -2381,6 +2381,8 @@ int tls13_save_handshake_digest_for_pha(SSL *s)
if (!EVP_MD_CTX_copy_ex(s->pha_dgst,
s->s3.handshake_dgst)) {
SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR);
+ EVP_MD_CTX_free(s->pha_dgst);
+ s->pha_dgst = NULL;
return 0;
}
}
|
libhfcommon/util: change an incorrect call for non-x86 archs | @@ -82,7 +82,7 @@ __attribute__((always_inline)) static inline bool ATOMIC_BITMAP_SET(uint8_t* add
: "Ir"(offset % 8));
return old;
#else /* defined(__x86_64__) || defined(__i386__) */
- return (ATOMIC_POST_OR_RELAXED(*addr, mask) & mask);
+ return (ATOMIC_POST_OR(*addr, mask) & mask);
#endif /* defined(__x86_64__) || ... |
SharpYuvConvert: fix a race on SharpYuvGetCPUInfo
Rather than make a copy, requiring an additional lock/unlock only to set
the pointer to itself, pass the address of SharpYuvGetCPUInfo and use it
as a sentinel to avoid updating the pointer. | @@ -439,7 +439,11 @@ void SharpYuvInit(VP8CPUInfo cpu_info_func) {
static volatile VP8CPUInfo sharpyuv_last_cpuinfo_used =
(VP8CPUInfo)&sharpyuv_last_cpuinfo_used;
LOCK_ACCESS;
+ // Only update SharpYuvGetCPUInfo when called from external code to avoid a
+ // race on reading the value in SharpYuvConvert().
+ if (cpu_in... |
tests: runtime: out_elasticsearch: use new test prototype | @@ -55,7 +55,6 @@ static void cb_check_replace_dots(void *ctx, int ffd,
char *out_js = res_data;
char *record = "\"key_4\":5000";
- printf("%s\n", out_js);
p = strstr(out_js, record);
TEST_CHECK(p != NULL);
flb_free(res_data);
|
Add Registration test | @@ -1876,8 +1876,20 @@ void QuicTestCommonSetParam()
void QuicTestRegistrationSetParam()
{
//
- // No parameter for Registration as of now
+ // No parameter for Registration
//
+ {
+ MsQuicRegistration Registration;
+ TEST_TRUE(Registration.IsValid());
+ uint32_t Dummy = 0;
+ TEST_QUIC_STATUS(
+ QUIC_STATUS_INVALID_PAR... |
Fix crash on mouse motion on fullscreen container
container_at expects a workspace, not the fullscreened container.
Fixes | @@ -99,8 +99,7 @@ static struct sway_container *container_at_coords(
return ws;
}
if (ws->sway_workspace->fullscreen) {
- return container_at(ws->sway_workspace->fullscreen, lx, ly,
- surface, sx, sy);
+ return container_at(ws, lx, ly, surface, sx, sy);
}
if ((*surface = layer_surface_at(output,
&output->layers[ZWLR_LA... |
CI: add a non-caching CI loop | @@ -80,6 +80,17 @@ jobs:
- name: make test
run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
+ non-caching:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: config
+ run: ./config enable-asan enable-ubsan no-cached-fetch && perl configdata.pm --dump
+ - name: make
+ run: make -s -j4
+ - name: make... |
Docs for device states | @@ -67,6 +67,8 @@ void DEV_IdleStateHandler(Device *device, const Event &event)
}
}
+/*! #2 This state checks that a valid NodeDescriptor is available.
+ */
void DEV_NodeDescriptorStateHandler(Device *device, const Event &event)
{
if (event.what() == REventStateEnter)
@@ -76,7 +78,7 @@ void DEV_NodeDescriptorStateHandl... |
Correct version of the st7789.cpp driver! | @@ -51,11 +51,11 @@ namespace pimoroni {
sleep_ms(150);
if(width == 240 && height == 240) {
- madctl = 0x04;
+ madctl[0] = 0x04;
}
if(width == 240 && height == 135) {
- madctl = 0x70;
+ madctl[0] = 0x70;
}
command(reg::MADCTL, 1, madctl); // row/column addressing order - rgb pixel order
|
libhfuzz: __wrap_* functions don't need to be weak | @@ -143,7 +143,7 @@ static inline void* _memmem(
/* Define a weak function x, as well as __wrap_x pointing to x */
#define XVAL(x) x
#define HF_WEAK_WRAP(ret, func, ...) \
- __attribute__((weak, alias(#func))) XVAL(ret) XVAL(__wrap_##func) (__VA_ARGS__); \
+ __attribute__((alias(#func))) XVAL(ret) XVAL(__wrap_##func) (... |
make: remove build system dependency on `git` using some hooks
Currently for checking IDF version and submodules existence,
build system uses `git` commands. But, it could be possible use-case
where `git` is not installed (assuming IDF is flattened in source format)
on system and build happens without any warnings. | @@ -227,7 +227,12 @@ endif
@echo $(ESPTOOLPY_WRITE_FLASH) $(ESPTOOL_ALL_FLASH_ARGS)
+# If we have `version.txt` then prefer that for extracting IDF version
+ifeq ("$(wildcard ${IDF_PATH}/version.txt)","")
IDF_VER := $(shell cd ${IDF_PATH} && git describe --always --tags --dirty)
+else
+IDF_VER := `cat ${IDF_PATH}/versi... |
[core] fix fd sharing when splitting file chunk
(bug on master branch; never released)
fix fd sharing in chunkqueue_steal_partial_file_chunk() | @@ -482,6 +482,7 @@ static void chunkqueue_steal_partial_file_chunk(chunkqueue * const restrict dest
if (c->file.fd >= 0) {
chunk * const d = dest->last;
if (c->file.refchg) {
+ d->file.fd = c->file.fd;
d->file.ref = c->file.ref;
d->file.refchg = c->file.refchg;
d->file.refchg(d->file.ref, 1);
|
grunt: Add I2C support for the BMI160
We need to enable I2C_PORT_ACCEL so that the driver supports I2C
transfers.
BRANCH=none
TEST=On EC console:
> accelinit 1
> accelread 1
With this CL we avoid an error | #define I2C_PORT_TCPC1 NPCX_I2C_PORT2_0
#define I2C_PORT_THERMAL NPCX_I2C_PORT3_0
#define I2C_PORT_SENSOR NPCX_I2C_PORT7_0
+/* Accelerometer and Gyroscope are the same device. */
+#define I2C_PORT_ACCEL I2C_PORT_SENSOR
#define CONFIG_BRINGUP /* TODO(teravest): Remove this later. */
|
cmake: fixes stream.h include so it can be found. | @@ -118,6 +118,7 @@ set(INTERFACE_FILES
include/criterion/internal/assert/tag.h
include/criterion/internal/assert/tostr.h
include/criterion/internal/assert/types.h
+ include/criterion/internal/assert/stream.h
include/criterion/internal/capabilities.h
include/criterion/internal/common.h
include/criterion/internal/deprec... |
zephyr/shim/src/tasks.c: Format with clang-format
BRANCH=none
TEST=none | @@ -18,7 +18,6 @@ BUILD_ASSERT(EC_TASK_PRIORITY(EC_TASK_PRIO_LOWEST) < K_IDLE_PRIO,
"CONFIG_NUM_PREEMPT_PRIORITIES too small, some tasks would run at "
"idle priority");
-
/* Declare all task stacks here */
#define CROS_EC_TASK(name, e, p, size, pr) \
K_THREAD_STACK_DEFINE(name##_STACK, size);
@@ -69,14 +68,12 @@ struc... |
start sponsor ping when we learn our sponsor | ::
=. life.ames-state life
=. crypto-core.ames-state (nol:nu:crub:crypto private-key)
+ :: recalculate each peer's symmetric key
+ ::
+ =/ our-private-key sec:ex:crypto-core.ames-state
+ =. peers.ames-state
+ %- ~(run by peers.ames-state)
+ |= =ship-state
+ ^+ ship-state
+ ::
+ ?. ?=(%known -.ship-state)
+ ship-state
+... |
remove AOMP_BUILD_TRUNK and do not exclude .git directory when rsync | @@ -90,7 +90,7 @@ if [ "$1" == "install" ] ; then
fi
# Fix the banner to print the AOMP version string.
-if [ $AOMP_STANDALONE_BUILD == 1 ] && [ "$AOMP_BUILD_TRUNK" == 1 ] ; then
+if [ $AOMP_STANDALONE_BUILD == 1 ] ; then
cd $AOMP_REPOS/$AOMP_PROJECT_REPO_NAME
if [ "$AOMP_CHECK_GIT_BRANCH" == 1 ] ; then
MONO_REPO_ID=`g... |
fix: compilation errors of generated code | @@ -234,7 +234,7 @@ gen_default(FILE * fp, char * type)
fprintf(fp, "}\n\n");
fprintf(fp, "void free_list(struct %s **p) {\n", type);
- fprintf(fp, " ntl_free((void**)p, &_cleanup_);\n");
+ fprintf(fp, " ntl_free((void**)p, cleanup);\n");
fprintf(fp, "}\n\n");
fprintf(fp, "void list_from_json(char *str, size_t len, voi... |
[io] remove curious iparam when NSGS is not chosen | @@ -2255,9 +2255,9 @@ class MechanicsHdf5Runner(siconos.io.mechanics_hdf5.MechanicsHdf5):
#solverOptions.iparam[1]=Numerics.SICONOS_FRICTION_3D_NSGS_ERROR_EVALUATION_ADAPTIVE
#solverOptions.iparam[8]=1
# -- light error evaluation with full final
- if self._dimension ==3: # ugly
- solverOptions.iparam[1] = Numerics.SICO... |
travis: Update config
Move to using Ubuntu 18.04 rather than 14.04 (which has been out of
support for years now) and fix up some warnings from the config file
checker. | @@ -4,10 +4,14 @@ os:
- linux
- linux-ppc64le
+# NB: This is just the distro used for the container host
+dist: bionic
+services: docker
+
cache: ccache
env:
- matrix:
+ jobs:
- RUN_ON_CONTAINER=ubuntu-18.04
- RUN_ON_CONTAINER=ubuntu-20.04
- RUN_ON_CONTAINER=ubuntu-latest
@@ -18,7 +22,7 @@ env:
- RUN_ON_CONTAINER=debia... |
[bsp] add led task to easy confirm kernel is running | #include <board.h>
#include <rtthread.h>
+#include "peri_driver.h"
+
+#define INIT_STACK_SIZE 512
+#define LED_STACK_SIZE 256
+
#ifndef RT_USING_HEAP
/* if there is not enable heap, we should use static thread and stack. */
ALIGN(8)
-static rt_uint8_t init_stack[512];
+static rt_uint8_t init_stack[INIT_STACK_SIZE];
sta... |
sysdeps/managarm: Convert sys_setuid to bragi | @@ -376,37 +376,26 @@ uid_t sys_getuid() {
int sys_setuid(uid_t uid) {
SignalGuard sguard;
- HelAction actions[3];
- globalQueue.trim();
- managarm::posix::CntRequest<MemoryAllocator> req(getSysdepsAllocator());
- req.set_request_type(managarm::posix::CntReqType::SET_UID);
- req.set_uid(uid);
+ managarm::posix::SetUidR... |
Add a multi thread test for downgrading keys | @@ -401,23 +401,46 @@ static void thread_shared_evp_pkey(void)
multi_success = 0;
}
+static void thread_downgrade_shared_evp_pkey(void)
+{
+#ifndef OPENSSL_NO_DEPRECATED_3_0
+ /*
+ * This test is only relevant for deprecated functions that perform
+ * downgrading
+ */
+ if (EVP_PKEY_get0(shared_evp_pkey) == NULL)
+ mul... |
change kit issuer url | @@ -10,6 +10,5 @@ https://accounts.google.com/ https://console.developers.google.com/
https://aai.egi.eu/oidc/ egi-aai-checkin@lists.grnet.gr
https://aai-dev.egi.eu/oidc https://aai-dev.egi.eu/oidc/manage/admin/client/new egi-aai-checkin@lists.grnet.gr
https://login.elixir-czech.org/oidc/ https://login.elixir-czech.org... |
kex.c : Correct type cast in curve25519_sha256() | @@ -2691,7 +2691,7 @@ curve25519_sha256(LIBSSH2_SESSION *session, unsigned char *data,
goto clean_exit;
}
- session->server_hostkey_len = (u_int32_t)hostkey_len;
+ session->server_hostkey_len = (uint32_t)hostkey_len;
session->server_hostkey = LIBSSH2_ALLOC(session,
session->server_hostkey_len);
if(!session->server_host... |
SOVERSION bump to version 7.3.5 | @@ -72,7 +72,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJOR_SOVERSION 7)
set(SYSREPO_MINOR_SOVERSION 3)
-set(SYSREPO_MICRO_SOVERSION 4)
+set(SYSREPO_MICRO_SO... |
fix path typo for vwebp_sdl in Makefile.vc | @@ -367,8 +367,8 @@ $(DIRBIN)\gif2webp.exe: $(EX_UTIL_OBJS) $(IMAGEIO_UTIL_OBJS) $(LIBWEBPMUX)
$(DIRBIN)\gif2webp.exe: $(LIBWEBP)
$(DIRBIN)\vwebp.exe: $(DIROBJ)\examples\vwebp.obj $(EX_UTIL_OBJS)
$(DIRBIN)\vwebp.exe: $(IMAGEIO_UTIL_OBJS) $(LIBWEBPDEMUX) $(LIBWEBP)
-$(DIRBIN)\vwebp_sdl.exe: $(DIROBJ)\examples\vwebp_sdl.... |
reduced more excess of hashes | @@ -124,14 +124,13 @@ if(oldhcxrecord.message_pair == hcxrecord.message_pair)
if(memcmp(oldhcxrecord.mac_ap.addr, hcxrecord.mac_ap.addr, 6) == 0)
if(memcmp(oldhcxrecord.mac_sta.addr, hcxrecord.mac_sta.addr, 6) == 0)
if(memcmp(oldhcxrecord.keymic, hcxrecord.keymic, 16) == 0)
+ if(memcmp(oldhcxrecord.essid, hcxrecord.ess... |
dm: rtvm enable lapic_pt automatically
Enable `lapic_pt` automatically for rtvm for better performance.
Reserve `--lapic_pt` for future use. If VM is not in realtime mode,
`--lapic_pt` will cause a warning.
Acked-by: Wang, Yu1 | @@ -932,10 +932,10 @@ main(int argc, char *argv[])
break;
case CMD_OPT_LAPIC_PT:
lapic_pt = true;
- is_rtvm = true;
break;
case CMD_OPT_RTVM:
is_rtvm = true;
+ lapic_pt = true;
break;
case CMD_OPT_SOFTWARE_SRAM:
if (parse_vssram_buf_params(optarg) != 0)
@@ -1003,6 +1003,10 @@ main(int argc, char *argv[])
usage(1);
}
+ ... |
VERSION bump to version 2.0.245 | @@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# set version of the project
set(LIBYANG_MAJOR_VERSION 2)
set(LIBYANG_MINOR_VERSION 0)
-set(LIBYANG_MICRO_VERSION 244)
+set(LIBYANG_MICRO_VERSION 245)
set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}... |
coverity fix potential NULL dereference in test_mk_file_path() | @@ -439,11 +439,12 @@ char *test_mk_file_path(const char *dir, const char *file)
char *dir_end;
char dir_end_sep;
# endif
- size_t len = strlen(dir) + strlen(sep) + strlen(file) + 1;
+ size_t dirlen = dir != NULL ? strlen(dir) : 0;
+ size_t len = dirlen + strlen(sep) + strlen(file) + 1;
char *full_file = OPENSSL_zalloc... |
plugin types BUGFIX comparing values in an union | @@ -2058,10 +2058,10 @@ error:
static LY_ERR
ly_type_compare_union(const struct lyd_value *val1, const struct lyd_value *val2)
{
- if (val1->realtype != val2->realtype) {
+ if (val1->subvalue->value->realtype != val2->subvalue->value->realtype) {
return LY_ENOT;
}
- return val1->realtype->plugin->compare(val1->subvalue... |
workflows: fix release env usage | @@ -28,6 +28,7 @@ jobs:
staging-release-version-check:
name: Check staging release matches
+ environment: release
runs-on: ubuntu-latest
steps:
- name: Get the version on staging
|
Update release/c/README.md for v0.2 | -Wuffs ships as a "single file C library", also known as a "[header file
+# Releases (in the C Programming Language)
+
+[Wuffs the Library](/doc/wuffs-the-library.md) ships as a "single file C
+library", also known as a "[header file
library](https://github.com/nothings/stb/blob/master/docs/stb_howto.txt)".
-To use Wuf... |
HardwareDevices: Update unknown parameters | @@ -170,8 +170,8 @@ PPH_STRING NetworkAdapterQueryNameFromGuid(
_In_ PGUID InterfaceGuid,
_Out_opt_ PWSTR InterfaceDescription,
_Inout_ PSIZE_T InterfaceDescriptionLength,
- PVOID Unknown1,
- PVOID Unknown2
+ _In_ BOOL Cache,
+ _In_ BOOL Refresh
) = NULL;
GUID interfaceGuid = GUID_NULL;
@@ -197,8 +197,8 @@ PPH_STRING N... |
README.md: Added information about Fedora and RedHat/CentOS packages. | @@ -35,6 +35,10 @@ Arch Linux users can install from the [repository](https://www.archlinux.org/pac
Alpine Linux users can install from the [repository](https://pkgs.alpinelinux.org/packages?name=stlink)
+Fedora users can install from [repository](https://src.fedoraproject.org/rpms/stlink)
+
+RedHat/CentOS 7 users can ... |
runtime: work stealing bug fix | @@ -288,7 +288,7 @@ static bool steal_work(struct kthread *l, struct kthread *r)
lsize = l->q_ptrs->rq_head - l->q_ptrs->rq_tail;
rsize = ACCESS_ONCE(r->q_ptrs->rq_head) - r->q_ptrs->rq_tail;
if (lsize < rsize)
- num_to_steal = MIN((rsize - lsize) / 2, RUNTIME_RQ_SIZE);
+ num_to_steal = MIN(div_up(rsize - lsize, 2), RU... |
Fix bad handling of fin when sending stream data | @@ -3170,6 +3170,8 @@ ssize_t ngtcp2_conn_write_stream(ngtcp2_conn *conn, uint8_t *dest,
return NGTCP2_ERR_STREAM_DATA_BLOCKED;
}
+ fin = fin && ndatalen == datalen;
+
rv = conn_call_send_pkt(conn, &hd);
if (rv != 0) {
return rv;
@@ -3182,7 +3184,7 @@ ssize_t ngtcp2_conn_write_stream(ngtcp2_conn *conn, uint8_t *dest,
f... |
Clean up init values of psa crypto status and fix switch default case | @@ -4858,7 +4858,7 @@ static psa_status_t psa_generate_derived_ecc_key_weierstrass_helper(
mbedtls_mpi k;
mbedtls_mpi diff_N_2;
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
- psa_status_t status = PSA_ERROR_GENERIC_ERROR;
+ psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
mbedtls_mpi_init( &k );
mbedtls_mpi_ini... |
acrn-config: reserve 16M memory for hv start
Need to reserved 16M for HV debug usage like sbuf/ramoops before HV RAM START
to avoid possible conflict with HV memory.
Acked-by: Victor Sun | @@ -14,21 +14,21 @@ DESC = """
VM_NUM_MAP_TOTAL_HV_RAM_SIZE = {
# 120M
- 2:'0x7800000',
+ 2:0x7800000,
# 150M
- 3:'0x9600000',
+ 3:0x9600000,
# 180M
- 4:'0xB400000',
+ 4:0xB400000,
# 210M
- 5:'0xD200000',
+ 5:0xD200000,
# 240M
- 6:'0xF000000',
+ 6:0xF000000,
# 270M
- 7:'0x10E00000',
+ 7:0x10E00000,
}
-def get_addr_for_... |
[software] Specify memory location of tile wake_up registers | @@ -49,6 +49,22 @@ SECTIONS {
ro_cache_start_3 = 0x40000038;
ro_cache_end_3 = 0x4000003C;
+#if NUM_CORES == 256
+ wake_up_tile_g0_reg = 0x40000040;
+ wake_up_tile_g1_reg = 0x40000044;
+ wake_up_tile_g2_reg = 0x40000048;
+ wake_up_tile_g3_reg = 0x4000004C;
+#elif NUM_CORES == 1024
+ wake_up_tile_g0_reg = 0x40000040;
+ w... |
Remove zeroed lines. | @@ -2566,13 +2566,6 @@ int picoquic_prepare_packet_client_init(picoquic_cnx_t* cnx, picoquic_path_t * p
picoquic_packet_type_enum packet_type = picoquic_packet_initial;
picoquic_packet_context_enum pc = picoquic_packet_context_initial;
-#if 0
- if (*next_wake_time > cnx->start_time + PICOQUIC_MICROSEC_HANDSHAKE_MAX) {
... |
Ruby: Disable Windows build | @@ -236,7 +236,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [windows-latest, macos-latest]
+ os: [macos-latest]
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1']
steps:
|
Dedede: Enable PD 3.0
Semantics to set PD 3.0 on the v2 stack changed recently, so enable PD
3.0 specifically (rather than it being default)
BRANCH=None
TEST=make -j buidall | #define CONFIG_USB_PD_LOGGING
#define CONFIG_USB_PD_MAX_SINGLE_SOURCE_CURRENT TYPEC_RP_3A0
#define CONFIG_USB_PD_PORT_MAX_COUNT 2
+#define CONFIG_USB_PD_REV30
#define CONFIG_USB_PD_TCPM_MUX
#define CONFIG_USB_PD_TCPM_TCPCI
#define CONFIG_USB_PD_TRY_SRC
|
Check for zero records and return immediately | @@ -740,6 +740,9 @@ int tls1_enc(SSL *s, SSL3_RECORD *recs, size_t n_recs, int send)
int imac_size;
const EVP_CIPHER *enc;
+ if (n_recs == 0)
+ return 0;
+
if (send) {
if (EVP_MD_CTX_md(s->write_hash)) {
int n = EVP_MD_CTX_size(s->write_hash);
|
as5048b.c: change initialization of struct to C89 standard | @@ -91,13 +91,13 @@ static int as5048b_ioctl(FAR struct qe_lowerhalf_s *lower, int cmd,
static const struct qe_ops_s g_qeops =
{
- .setup = as5048b_setup,
- .shutdown = as5048b_shutdown,
- .position = as5048b_position,
- .setposmax = NULL, /* not supported yet */
- .reset = as5048b_reset,
- .setindex = NULL, /* not sup... |
Disable binary swap tests on Concourse master pipeline
Now that catalog updates are allowed, we should disable binary swap
validation. Once the next catalog freeze comes, someone can flip this
back. | @@ -672,6 +672,7 @@ jobs:
MAKE_TEST_COMMAND: PGOPTIONS='-c optimizer=off' installcheck-world
BLDWRAP_POSTGRES_CONF_ADDONS: "fsync=off"
TEST_OS: centos
+ TEST_BINARY_SWAP: false
CONFIGURE_FLAGS: {{configure_flags}}
- name: icw_gporca_centos6
|
fix panda connection | @@ -137,8 +137,12 @@ class Panda(object):
for device in context.getDeviceList(skip_on_error=True):
#print(device)
if device.getVendorID() == 0xbbaa and device.getProductID() in [0xddcc, 0xddee]:
- if self._serial is None or device.getSerialNumber() == self._serial:
- self._serial = device.getSerialNumber()
+ try:
+ thi... |
Change autocomplete buffer length to CONSOLE_BUFFER_SCREEN | @@ -1147,16 +1147,16 @@ typedef struct
{
Console* console;
char* incompleteWord; // Original word that's being completed.
- char options[CONSOLE_BUFFER_SIZE]; // Options to show to the user.
- char commonPrefix[CONSOLE_BUFFER_SIZE]; // Common prefix of all options.
+ char options[CONSOLE_BUFFER_SCREEN]; // Options to s... |
os/tools/build_test.sh : Add error check when build fail
Current build script tries to build many configurations automatically.
But when there is a fail, build is not stopped and continue to the next.
So when there is a fail, stop the build and show where the build error is come from. | @@ -49,7 +49,7 @@ for target in ${build_targets[@]}; do
echo "===================================="
echo "======== Build \"${target}\" ========"
echo "===================================="
- cd ${OSDIR}; ${BUILD_CMD}
+ cd ${OSDIR}; ${BUILD_CMD} || { echo "\"${target}\" ERROR!!!"; exit 1; }
echo "=======================... |
nrf52820_microbit: Switch USB & I2C IRQ priorities to reduce I2C issues on USB serial connection. | // <7=> 7
#ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
-#define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 2
+#define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1
#endif
// <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
// <7=> 7
#ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY
-#define NRFX_USBD_DEFAULT_CONFIG_... |
arch/boardctl.c : Add reboot debug message
Board Reboot is important event, so it is better to remain the log. | #include <sys/types.h>
#include <sys/boardctl.h>
+#include <debug.h>
+#include <sched.h>
#include <stdint.h>
#include <errno.h>
#include <assert.h>
#include <tinyara/board.h>
+#include <tinyara/arch.h>
#ifdef CONFIG_LIB_BOARDCTL
/****************************************************************************
@@ -143,6 +14... |
Update regarding GitHub Action Runner
different umask is used in CI | @@ -114,7 +114,7 @@ CreateDirIfMissingSuccessCreated(void **state) {
res = scope_stat(buf, &dirStat);
assert_int_not_equal(res, 0);
// TODO add test for 0777
- mkdir_status_t status = libdirCreateDirIfMissing(buf, 0775);
+ mkdir_status_t status = libdirCreateDirIfMissing(buf, 0755);
assert_int_equal(status, MKDIR_STATU... |
[GB] Implement RET instruction | @@ -807,6 +807,14 @@ impl CpuState {
self.set_pc(target);
Some(InstrInfo::jump(instr_size, 6))
}
+ 0xc9 => {
+ // RET
+ self.set_pc(self.pop_u16());
+ if debug {
+ println!("RET {:04x}", self.get_pc());
+ }
+ Some(InstrInfo::jump(1, 4))
+ }
// Handled down below
_ => None,
};
@@ -2155,3 +2163,33 @@ fn test_inc_bc() {
/... |
remove gocd escaping
Note: mandatory check (NEED_CHECK) was skipped | @@ -7,6 +7,6 @@ sed -i -e 's/x86_64\-linux\-gnu/x86_64\-unknown\-freebsd11\.2/' make/*.makefile
# use clang 6.0, not 5.0
sed -i -e "s/\'5 0\'/\'6 0\'/" make/*.makefile
# don't build AFALG on freebsd
-echo '##define OPENSSL_NO_AFALGENG' >> contrib/libs/openssl/1.1.1/include/openssl/opensslconf.h
+echo '#define OPENSSL_N... |
VMS fix: link shared libs from objects files instead of from static libs
The simplifications that were made when Makefile.shared was removed
didn't work quite right. Also, this is what we do on Unix and Windows
anyway, so this makes us more consistent across all platforms. | @@ -664,12 +664,14 @@ EOF
my $shlib = $args{shlib};
my $libd = dirname($lib);
my $libn = basename($lib);
+ my @objs = map { (my $x = $_) =~ s|\.o$|.OBJ|; $x }
+ grep { $_ =~ m|\.o$| }
+ @{$args{objs}};
my @defs = grep { $_ =~ /\.opt$/ } @{$args{objs}};
my @deps = compute_lib_depends(@{$args{deps}});
die "More than one ... |
[util] Don't instantiate TStringBufImpl. | @@ -45,7 +45,7 @@ static bool IsIntersect(const T& a, const U& b) noexcept {
**/
template <class TStringType, typename TStringViewType = TStringBufImpl<typename TStringType::value_type>>
static inline size_t SubstGlobalImpl(TStringType& s, const TStringViewType from, const TStringViewType to, size_t fromPos = 0) {
- if... |
Updated tool to proper cb sig | #include <vector>
#include <sba/sba.h>
-#include <survive_reproject.h>
struct SBAData {
int last_acode = -1;
@@ -93,8 +92,8 @@ void light_process(SurviveObject *so, int sensor_id, int acode, int timeinsweep,
}
SurvivePose lastPose = {};
-void raw_pose_process(SurviveObject *so, uint8_t lighthouse, SurvivePose *pose) {
... |
Teach tab-complete.c about recently-added CREATE TYPE options.
Commit missed adding SUBSCRIPT here,
and commit missed adding MULTIRANGE_TYPE_NAME.
Haiying Tang and Tom Lane
Discussion: | @@ -2959,7 +2959,7 @@ psql_completion(const char *text, int start, int end)
{
if (TailMatches("(|*,"))
COMPLETE_WITH("INPUT", "OUTPUT", "RECEIVE", "SEND",
- "TYPMOD_IN", "TYPMOD_OUT", "ANALYZE",
+ "TYPMOD_IN", "TYPMOD_OUT", "ANALYZE", "SUBSCRIPT",
"INTERNALLENGTH", "PASSEDBYVALUE", "ALIGNMENT",
"STORAGE", "LIKE", "CATE... |
Enable "-w" parameter on demo server. | @@ -173,7 +173,8 @@ int quic_server(const char* server_name, int server_port,
void* cnx_id_callback_ctx, uint8_t reset_seed[PICOQUIC_RESET_SECRET_SIZE],
int dest_if, int mtu_max, uint32_t proposed_version,
const char * esni_key_file_name, const char * esni_rr_file_name,
- FILE * F_log, char const* bin_file, char const ... |
fuzz: no need to check for bbFd | @@ -201,14 +201,12 @@ static void fuzz_perfFeedback(run_t* run) {
uint64_t softCntPc = 0;
uint64_t softCntEdge = 0;
uint64_t softCntCmp = 0;
- if (run->global->feedback.bbFd != -1) {
softCntPc = ATOMIC_GET(run->global->feedback.feedbackMap->pidFeedbackPc[run->fuzzNo]);
ATOMIC_CLEAR(run->global->feedback.feedbackMap->pi... |
not send new blocks in reset state | @@ -120,6 +120,7 @@ static void *xdag_send_new_block_thread(void *arg)
struct xdag_new_block_elem *elem = NULL;
int processed = 0;
while(1) {
+ if(g_xdag_state != XDAG_STATE_REST) {
pthread_mutex_lock(&g_send_new_block_mutex);
elem = list_new_blocks;
pthread_mutex_unlock(&g_send_new_block_mutex);
@@ -140,6 +141,7 @@ st... |
disable NaN checks before BLAS calls dsolve.R (shorter formula) | @@ -40,7 +40,7 @@ while (n <= nto) {
solve(A, B)
})
- mflops <- (2.0/3 * n * n * n + 2 * n * n * n) * loops/ (z[3] * 1e+06)
+ mflops <- (8.0 / 3 * n * n * n) * loops / (z[3] * 1e+06)
st <- sprintf("%.0fx%.0f :", n, n)
cat(sprintf("%20s %10.2f MFlops %10.6f sec\n", st, mflops, z[3]))
|
travis: enable clang-9 build
I think the problem was a line with only whitespace | @@ -25,19 +25,19 @@ jobs:
arch: amd64
compiler: clang
- # - name: "clang-9"
- # compiler: clang-9
- # env:
- # - C_COMPILER=clang-9
- # - CXX_COMPILER=clang++-9
- # - COMPILER_FLAGS='-fsanitize=address,undefined'
- # addons:
- # apt:
- # sources:
- # sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 ... |
apps/example/testcase: Fix warning message for missing % in printf.
Fix warning "printf format string requires 2 parameters but only 1 is given" | @@ -886,16 +886,16 @@ static void itc_wifimanager_success_ratio_ap(void)
printf("\nSuccess Ratio \n");
if (init_cnt > 0) {
- printf("[Initialization Wifi] Success Ratio = %.2f% \n", (s_init_cnt / init_cnt) * 100);
+ printf("[Initialization Wifi] Success Ratio = %.2f%% \n", (s_init_cnt / init_cnt) * 100);
}
if (join_cnt... |
changed bahavior of sending beacons and broadcast requests | @@ -4040,15 +4040,6 @@ while(1)
}
else
{
- if(activebeaconflag == false)
- {
- send_beaconmyap();
- send_beaconclone();
- }
- if(activeextbeaconflag == true)
- {
- send_beaconextap();
- }
if((statuscount %5) == 0)
{
gettimeofday(&tvakt, NULL);
@@ -4111,22 +4102,25 @@ while(1)
{
cpa = 0;
}
- if(set_channel() == true)
+ ... |
Fixed bug in ice belt detection. All tests pass. | @@ -3470,7 +3470,7 @@ void fvNorthIceCapLand(BODY *body,int iBody,double *dLatIceEdge,
*bCap = 1;
// Now find ice cap extent
for (iLat=0;iLat<body[iBody].iNumLats;iLat++) {
- if (!fbIceLatLand(body,iBody,body[iBody].iNumLats-1)) {
+ if (!fbIceLatLand(body,iBody,iLat)) {
// Found edge!
*iLatIceEdge=iLat;
*dLatIceEdge = ... |
IP address dump - don't send subnets for unnumbered interfaces | @@ -1395,8 +1395,11 @@ vl_api_ip_address_dump_t_handler (vl_api_ip_address_dump_t * mp)
if (mp->is_ipv6)
{
/* *INDENT-OFF* */
- foreach_ip_interface_address (lm6, ia, sw_if_index,
- 1 /* honor unnumbered */,
+ /* Do not send subnet details of the IP-interface for
+ * unnumbered interfaces. otherwise listening clients
+... |
perf(non-null judgment):
add non-null judgment of "output_ptr->field_ptr" in in hlfabricDiscoveryPayloadDataPacked() | @@ -324,6 +324,10 @@ __BOATSTATIC BOAT_RESULT hlfabricDiscoveryPayloadDataPacked(BoatHlfabricTx *tx_p
}
output_ptr->field_ptr = BoatMalloc(resLen);
+ if(output_ptr->field_ptr == NULL){
+ BoatLog(BOAT_LOG_CRITICAL, "Fail to allocate output_ptr->field_ptr buffer.");
+ boat_throw(BOAT_ERROR_COMMON_OUT_OF_MEMORY, hlfabricD... |
Put the 1.8.6 release on README.md | @@ -26,6 +26,7 @@ See LICENSE for details.
Release Number | Date | History
---------------|------|--------
1.10.0 | 2019-11-01 | [Portable UPnP SDK][Portable UPnP SDK]
+1.8.6 | 2019-11-20 | [Portable UPnP SDK][Portable UPnP SDK]
1.8.5 | 2019-11-01 | [Portable UPnP SDK][Portable UPnP SDK]
1.8.4 | 2018-10-25 | [Portable ... |
documentation: Fixed Coverage Badge Link | [](https://build.libelektra.org/job/libelektra/job/master/lastBuild)
[](https://github.com/Elektra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.