message
stringlengths
6
474
diff
stringlengths
8
5.22k
docs: Add empty line before code blocks for mountsnoop guide. With default markdown, code blocks should be preceded by an empty line.
@@ -9,12 +9,14 @@ In this guide, we will learn how to use it by running a small `kubernetes` clust ## How to use it? First, we need to create two pods for us to play with: + ```bash $ kubectl run busybox-0 --image busybox:latest sleep inf $ kubectl run busybox-1 --image busybox:latest sleep inf ``` You can now use the ...
This commit corrects EPC memory calculation by iterating over increments of regs.ecx to find if sub-leaf exists, until _CPUID call failes. If _CPUID() passes for the incremented ecx value, then subleaf exists and its memory is added to epc size reported.
@@ -65,7 +65,6 @@ static int _CPUID(Regs* regs) // Check if no sub-leaves are supported if (regs->eax == 0 && regs->ebx == 0 && regs->ecx == 0 && regs->edx == 0) { - printf("Error getting CPUID. Returned: %d", regs->eax); result = 1; } return result; @@ -152,9 +151,9 @@ int main(int argc, const char* argv[]) /* Enumera...
hv: virq: refine vcpu_inject_vlapic_int() has more than one exit point The MISRA-C Standards suggests procedures to be single exit. Acked-by: Eddie Dong
@@ -119,33 +119,32 @@ static int32_t vcpu_inject_vlapic_int(struct acrn_vcpu *vcpu) * through vmcs. */ if (is_apicv_intr_delivery_supported()) { - return -1; - } - + ret = -1; + } else { /* Query vLapic to get vector to inject */ ret = vlapic_pending_intr(vlapic, &vector); - + if (ret != 0) { /* * From the Intel SDM, V...
Disable cmp_http test on AIX AIX has permission problems of the form: lsof: can't open /dev/mem: Permission denied lsof: can't open /dev/kmem: Permission denied
@@ -29,8 +29,8 @@ plan skip_all => "These tests are not supported in a no-cmp build" plan skip_all => "These tests are not supported in a no-ec build" if disabled("ec"); -plan skip_all => "Tests involving local HTTP server not available on Windows or VMS" - if $^O =~ /^(VMS|MSWin32)$/; +plan skip_all => "Tests involvin...
Parameter: Increase impact of obs input
@@ -46,9 +46,9 @@ STRUCT_CONFIG_SECTION(SurviveKalmanTracker) STRUCT_CONFIG_ITEM("obs-cov-scale", "Covariance matrix scaling for obs", 1, t->obs_cov_scale) STRUCT_CONFIG_ITEM("obs-pos-variance", "Variance of position integration from light capture", - 1e-4, t->obs_pos_var) + 1e-6, t->obs_pos_var) STRUCT_CONFIG_ITEM("ob...
Added disclaimer to README.md on top-level
@@ -188,3 +188,7 @@ The software in this repository is Apache 2.0 licensed and copyright u-blox with - The FreeRTOS additions [port/platform/common/debug_utils/src/freertos/additions](/port/platform/common/debug_utils/src/freertos/additions) are copied from the Apache licensed [ESP-IDF](https://github.com/espressif/esp...
Hyundai: fix addr check race condition
@@ -45,11 +45,19 @@ AddrCheckStruct hyundai_addr_checks[] = { {881, 0, 8, .expected_timestep = 10000U}, { 0 }}}, {.msg = {{902, 0, 8, .check_checksum = true, .max_counter = 15U, .expected_timestep = 10000U}, { 0 }, { 0 }}}, {.msg = {{916, 0, 8, .check_checksum = true, .max_counter = 7U, .expected_timestep = 10000U}, { ...
Doc: clarify note ports id overlapping Fixes
@@ -30,7 +30,9 @@ enum clap_note_dialect { }; typedef struct clap_note_port_info { - clap_id id; // stable identifier + // id identifies a port and must be stable. + // id may overlap between input and output ports. + clap_id id; uint32_t supported_dialects; // bitfield, see clap_note_dialect uint32_t preferred_dialect...
tests/access: pass mode to open
#include <assert.h> #include <fcntl.h> +#ifdef USE_HOST_LIBC +#define TEST_FILE "access-host-libc.tmp" +#else #define TEST_FILE "access.tmp" +#endif int main() { // Make sure that it wasn't created by a previous test run @@ -15,7 +19,7 @@ int main() { assert(access(TEST_FILE, R_OK) == -1); assert(access(TEST_FILE, X_OK...
linux/pt: reorder functions
@@ -176,12 +176,13 @@ void arch_ptAnalyze(run_t* run) { #else /* _HF_LINUX_INTEL_PT_LIB */ +void perf_ptInit(void) { + return; +} + void arch_ptAnalyze(run_t* fuzzer HF_ATTR_UNUSED) { LOG_F( "The program has not been linked against the Intel's Processor Trace Library (libipt.so)"); } -void perf_ptInit(void) { -} - #end...
Fix label rendering issue on Custom Event Variable Select
@@ -11,7 +11,7 @@ const allVariables = Array.from(Array(10).keys()); class CustomEventVariableSelect extends Component { variableName = index => { const { variables } = this.props; - const letter = String.fromCharCode("A".charCodeAt(0) + index); + const letter = String.fromCharCode("A".charCodeAt(0) + parseInt(index, 1...
fix(cmsis-pack): fix LVGL.pidx
<timestamp>2023-01-15T23:33:00</timestamp> <pindex> <pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="1.1.0-alpha"/> - <pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/v8.3/env_support/cmsis-pack/" vendor="LVGL" name="lvgl8" version="1.0.6-p1...
system startup for osx
@@ -408,11 +408,73 @@ bool SetStartOnSystemStartup(bool fAutoStart) } return true; } + +#elif defined(Q_OS_MAC) +// based on: https://github.com/Mozketo/LaunchAtLoginController/blob/master/LaunchAtLoginController.m + +#include <CoreFoundation/CoreFoundation.h> +#include <CoreServices/CoreServices.h> + +LSSharedFileList...
fixed drv_gpio bug
@@ -257,7 +257,7 @@ const static struct rt_pin_ops drv_pin_ops = int rt_hw_pin_init(void) { rt_err_t ret = RT_EOK; - memset(pin_alloc_table, 0, sizeof pin_alloc_table); + memset(pin_alloc_table, -1, sizeof pin_alloc_table); free_pin = GPIO_ALLOC_START; ret = rt_device_pin_register("pin", &drv_pin_ops, RT_NULL);
Check NULLing the encoding works before the parse is started
@@ -2394,7 +2394,10 @@ START_TEST(test_explicit_encoding) const char *text1 = "<doc>Hello "; const char *text2 = " World</doc>"; - /* First say we are UTF-8 */ + /* Just check that we can set the encoding to NULL before starting */ + if (XML_SetEncoding(parser, NULL) != XML_STATUS_OK) + fail("Failed to initialise encod...
parallel-libs/slepc: bump to v3.9.1
%define PNAME %(echo %{pname} | tr [a-z] [A-Z]) Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Version: 3.8.2 +Version: 3.9.1 Release: 1 Summary: A library for solving large scale sparse eigenvalue problems License: LGPL-3.0
out_opensearch: fix double free on index header
@@ -569,7 +569,6 @@ static int opensearch_format(struct flb_config *config, return -1; } - flb_sds_destroy(j_index); if (strcasecmp(ctx->write_operation, FLB_OS_WRITE_OP_UPDATE) == 0) { write_op_update = FLB_TRUE; @@ -595,6 +594,7 @@ static int opensearch_format(struct flb_config *config, msgpack_unpacked_destroy(&resu...
Remove FIXME in bfv_olap_optimizer.out. Now the SQL does not fallback to planner.
@@ -673,9 +673,6 @@ DETAIL: Query-to-DXL Translation: No variable entry found due to incorrect norm | 2100 (2 rows) --- start_ignore --- GPDB_12_MERGE_FIXME: unsupported exec location fallback --- end_ignore with cte as (select row_number() over (order by code) as rn1, code from t2_github_issue_10143 group by code)
Fixed issue where it would not properly parse an XFF if %h was already set. Fixed
@@ -1373,8 +1373,6 @@ special_specifier (GLogItem * logitem, char **str, char **p) { switch (**p) { /* XFF remote hostname (IP only) */ case 'h': - if (logitem->host) - return 0; if (find_xff_host (logitem, str, p)) return spec_err (logitem, SPEC_TOKN_NUL, 'h', NULL); break;
Add legacy include guard manually to opensslconf.h.in
@@ -61,9 +61,13 @@ extern "C" { # define RC4_INT {- $config{rc4_int} -} -#include <openssl/macros.h> - # ifdef __cplusplus } # endif + +# include <openssl/macros.h> +# if !OPENSSL_API_3 +# define HEADER_FILE_H /* deprecated in version 3.0 */ +# endif + #endif /* HEADER_OPENSSLCONF_H */
Change default physical memory color (old graphs only)
@@ -211,7 +211,7 @@ VOID PhAddDefaultSettings( PhpAddIntegerSetting(L"ColorIoReadOther", L"00ffff"); PhpAddIntegerSetting(L"ColorIoWrite", L"ff0077"); PhpAddIntegerSetting(L"ColorPrivate", L"0077ff"); - PhpAddIntegerSetting(L"ColorPhysical", L"ffff00"); + PhpAddIntegerSetting(L"ColorPhysical", L"ff8000"); // Blue PhpAd...
armv8: disable for now PMUSERENR_EL0 because QEMU version <2.6.0 doesn't support it
@@ -82,16 +82,18 @@ void timers_init(int timeslice) //pmcr = armv8_PMCR_EL0_N_insert(pmcr, 6); /* N is RO ? */ armv8_PMCR_EL0_wr(NULL, pmcr); - armv8_PMUSERENR_EL0_t pmu = 0; +// AT: disable for now because it's not supported by QEMU version<2.6.0 +// AT: doesn't seem to break anything +// armv8_PMUSERENR_EL0_t pmu = 0...
Interleaved testing
@@ -699,27 +699,27 @@ static __unused void mempool_test(void) { fprintf(stderr, "System memory test for ~2Mb\n"); mempool_speedtest((2 << 20) / MEMTEST_SLICE, malloc, free, realloc); fprintf(stderr, "*****************************\n"); - fprintf(stderr, "System memory test for ~4Mb\n"); - mempool_speedtest((2 << 21) / M...
Ensure bone pose gets reset when not animating;
@@ -480,10 +480,12 @@ void lovrGraphicsBatch(BatchRequest* req) { lovrMaterialSetTexture(material, TEXTURE_ENVIRONMENT_MAP, req->environmentMap); } - if (req->type == BATCH_MESH) { - float* pose = req->params.mesh.pose ? req->params.mesh.pose : (float[]) MAT4_IDENTITY; - int count = req->params.mesh.pose ? (MAX_BONES *...
correct references to session cache functions
@@ -113,7 +113,7 @@ static apr_byte_t oidc_session_load_cache(request_rec *r, oidc_session_t *z) { /* get the string-encoded session from the cache based on the key; decryption is based on the cache backend config */ if (uuid != NULL) { char *s_json = NULL; - rc = oidc_cache_get(r, OIDC_CACHE_SECTION_SESSION, uuid, &s_...
admin/ganglia: call out shadow-utils/shadow dependency for (pre) script usage
@@ -52,12 +52,14 @@ BuildRequires: perl BuildRequires: fdupes BuildRequires: libapr1-devel BuildRequires: libexpat-devel +Requires(pre): shadow # Can't find memcached built for SLES #BuildRequires: php5-memcached %else BuildRequires: apr-devel >= 1 BuildRequires: expat-devel BuildRequires: libmemcached-devel +Requires(...
fix find Keil toolchain
@@ -34,7 +34,7 @@ function _find_sdkdir(sdkdir) if sdkdir then table.insert(paths, 1, sdkdir) end - local result = find_path("C51", paths) + local result = find_path("..\\C51", paths) if not result then -- find it from some logical drives paths paths = {} @@ -65,15 +65,13 @@ function _find_c51(sdkdir) end -- c51(exe) s...
Support %{file.name} token in VS.
["file.directory"] = { absolute = true, token = "%(RootDir)%(Directory)" }, ["file.reldirectory"] = { absolute = false, token = "%(RelativeDir)" }, ["file.extension"] = { absolute = false, token = "%(Extension)" }, + ["file.name"] = { absolute = false, token = "%(Filename)%(Extension)" }, }
tools/runserial: remove only temp scripts
@@ -19,7 +19,6 @@ def get_bytes_from_file(path): contents = mpy.read() # Remove the temporary .mpy file and return the contents - os.remove(path) os.remove(mpy_path) return [int(c) for c in contents] @@ -31,7 +30,9 @@ def get_bytes_from_str(string): with tempfile.NamedTemporaryFile('w', suffix='.py', delete=False) as f...
VERSION bump to version 0.9.10
@@ -28,7 +28,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 9) -set(LIBNETCONF2_MICRO_VERSION 9) +set(LIBNETCONF2_MICRO_VERSION 10) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(LIB...
Join properly two folders
@@ -168,11 +168,11 @@ func KubeletDir() string { // KubeletSeccompRootPath specifies the path where all kubelet seccomp // profiles are stored. func KubeletSeccompRootPath() string { - return path.Join(KubeletDir() + "seccomp") + return path.Join(KubeletDir(), "seccomp") } // ProfilesRootPath specifies the path where t...
fix: message::create::run() checks
@@ -365,6 +365,7 @@ run(client *client, const uint64_t channel_id, params *params, dati *p_message) if (!params->file.name && !params->file.content) { // content-type is application/json + if (!params->embed) { if (IS_EMPTY_STRING(params->content)) { D_PUTS("Missing 'content'"); return; @@ -374,6 +375,7 @@ run(client *...
Fix linker warnings for jvpp shared libs
@@ -19,7 +19,7 @@ AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir} \ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \ -I@top_srcdir@/plugins -I@top_builddir@/plugins -AM_LDFLAGS = -module -shared -avoid-version -rpath /none -no-undefined +AM_LDFLAGS = -shared -avoid-version -rpath /none -no-undefined BUILT_SOUR...
update svn 1.10 to r3910411
}, "svn110": { "formula": { - "sandbox_id": 286028033, + "sandbox_id": 289699987, "match": "svn" }, "executable": {
fedora: fix Fedora 36 abi tests
@@ -27,7 +27,7 @@ RUN rm -rf ${ELEKTRA_ROOT}/elektra-tests* ${ELEKTRA_ROOT}/elektra-dbg* RUN yum localinstall -y ${ELEKTRA_ROOT}/* -RUN wget https://rpms.libelektra.org/fedora-34/libelektra.repo -O libelektra.repo \ +RUN wget https://rpms.libelektra.org/fedora-35/libelektra.repo -O libelektra.repo \ && mv libelektra.re...
Fix wrong pointer call in dcd_samg.c
@@ -440,7 +440,7 @@ void dcd_int_handler(uint8_t rhport) // write to EP fifo if (xfer->ff) { - tu_fifo_read_n(ff, (void *) &UDP->UDP_FDR[epnum], xact_len); + tu_fifo_read_n(xfer->ff, (void *) &UDP->UDP_FDR[epnum], xact_len); } else {
OcAppleBootCompatLib: Remove devirtualise hacks
@@ -183,38 +183,17 @@ DevirtualiseMmio ( { UINTN NumEntries; UINTN Index; - UINTN Index2; EFI_MEMORY_DESCRIPTOR *Desc; - BOOLEAN Reset; // - // This is the list of known addresses that need virtual addresses - // due to their firmware implementations to access NVRAM. - // To simplify this code, as it changes anyway eve...
Reinserted lost definitions in vplanet.h.
#define DAYSEC 86400 // Seconds per day #define REARTH 6.3781e6 // Equatorial; Prsa et al. 2016 #define RJUP 7.1492e7 // Equatorial; Prsa et al. 2016 +#define RNEP 2.4764e7 // Neptune's Radius (ref?) +#define MNEP 1.0244e26 // Neptune's Mass (ref?) +#define RHOEARTH 5515 // Earth's Density +#define eEARTH 0.016710219 /...
out_stackdriver: do not set flush socket to blocking mode
@@ -561,8 +561,8 @@ static msgpack_object *parse_labels(struct flb_stackdriver *ctx, msgpack_object } } - flb_plg_debug(ctx->ins, "labels_key [%s] not found in the payload", - ctx->labels_key); + //flb_plg_debug(ctx->ins, "labels_key [%s] not found in the payload", + // ctx->labels_key); return NULL; } @@ -603,8 +603,7...
GitHub Actions: Use `cmake --build` commands
@@ -91,12 +91,12 @@ jobs: working-directory: ${{runner.workspace}}/build shell: bash # Execute the build. You can specify a specific target with "--target <NAME>" - run: ninja + run: cmake --build . - name: Install working-directory: ${{runner.workspace}}/build shell: bash - run: output="$(ninja install 2>&1)" || print...
Set correct error messages instead of default one for writing new message to producer queue
@@ -1828,14 +1828,14 @@ espi_send_msg_to_producer_mbox(esp_msg_t* msg, espr_t (*process_fn)(esp_msg_t *) } else { if (!esp_sys_mbox_putnow(&esp.mbox_producer, msg)) { /* Write message to producer queue immediatelly */ ESP_MSG_VAR_FREE(msg); /* Release message */ - res = espERR; + res = espERRMEM; } } if (block && res =...
cmake: save excluded tools to REMOVED_TOOLS variable
@@ -313,6 +313,21 @@ macro (remove_tool name reason) CACHE STRING ${TOOLS_DOC} FORCE) + + # save removed tools for dependency resolving later on + if (REMOVED_TOOLS) + set (REMOVED_TOOLS + "${REMOVED_TOOLS};${name}" + CACHE STRING + "${REMOVED_TOOLS_DOC}" + FORCE) + else () + set (REMOVED_TOOLS + "${name}" + CACHE STRI...
Bump to version 1.0.0-rc1
[coverity]: https://scan.coverity.com/projects/mcuboot [travis]: https://travis-ci.org/runtimeco/mcuboot -This is mcuboot, version 0.9.0 +This is mcuboot, version 1.0.0-rc1 MCUBoot is a secure bootloader for 32-bit MCUs. The goal of MCUBoot is to define a common infrastructure for the bootloader, system flash layout on...
attempt macos build, only mkfs builds now
@@ -14,6 +14,7 @@ jobs: - run: make && make unit-test - run: make && make runtests - run: make && make runtime-tests + nightly-build: docker: - image: circleci/golang:1.11 @@ -34,6 +35,17 @@ jobs: - run: echo $(date +"%m%d%Y") > nanos-nightly-linux.timestamp - run: ~/gsutil/gsutil cp nanos-nightly-linux.timestamp gs://...
apps/bttester: Disable connection retry by default It breaks some test cases in Defensics and we have another workaround for that implemented there. By default it is not needed.
@@ -53,7 +53,7 @@ syscfg.defs: BTTESTER_CONN_RETRY: description: Retry connections when connection failed to be established - value: 3 + value: 0 BTTESTER_BTP_DATA_SIZE_MAX: description: Maximum BTP payload
metrics: exporter: initialize metrics event structure
@@ -155,7 +155,7 @@ struct flb_me *flb_me_create(struct flb_config *ctx) /* Initialize event loop context */ event = &me->event; - MK_EVENT_NEW(event); + MK_EVENT_ZERO(event); /* Run every one second */ fd = mk_event_timeout_create(ctx->evl, 1, 0, &me->event);
mmapstorage: use uintptr_t for pointer calculations
* @copyright BSD License (see doc/LICENSE.md or https://www.libelektra.org) * */ -#define _POSIX_C_SOURCE 200112L +#define _XOPEN_SOURCE 600 /* -- Imports --------------------------------------------------------------------------------------------------------------------------- */ #include <assert.h> #include <errno.h>...
build: document docker pull stages
@@ -177,6 +177,7 @@ def dockerInit() { } } +/* Generate Stages to pull all docker images */ def generateDockerPullStages() { def tasks = [:] DOCKER_IMAGES.each { key, image -> @@ -188,6 +189,9 @@ def generateDockerPullStages() { } /* Returns a stage that tries to pull an image + * + * Also sets IMAGES_TO_BUILD to true ...
data tree BUGFIX avoid underflow
@@ -1281,14 +1281,14 @@ lyd_new_path_check_find_lypath(struct ly_path *path, const char *str_path, const LY_ERR ret = LY_SUCCESS, r; const struct lysc_node *schema; struct ly_path_predicate *pred; - LY_ARRAY_COUNT_TYPE u, last_u; + LY_ARRAY_COUNT_TYPE u, new_count; assert(path); /* go through all the compiled nodes */ ...
Fix dead link in README.md
@@ -32,7 +32,7 @@ Mac OS X users can install from [homebrew](http://brewformulas.org/Stlink) or [d Debian Linux users can install it via the ```stlink-tool``` package [repository](https://packages.debian.org/buster/stlink-tools) -Ubuntu Linux users can install it via the ```stlink-tool``` package [repository](https://p...
OcAppleKernelLib: Rework memory leak fixes.
@@ -238,8 +238,6 @@ InternalScanBuildLinkedSymbolTable ( return EFI_OUT_OF_RESOURCES; } - Kext->LinkedSymbolTable = SymbolTable; - MachHeader = MachoGetMachHeader64 (&Kext->Context.MachContext); ASSERT (MachHeader != NULL); // @@ -278,6 +276,7 @@ InternalScanBuildLinkedSymbolTable ( if ((Symbol->Type & MACH_N_TYPE_TYPE...
Turn off output
@@ -206,7 +206,7 @@ static bool test_hypsec_rf_pulse_ode(void) start_rf_pulse(&data, h, tol, N, P, xp); - bart_printf("%f, %f, %f\n", xp[0][0], xp[0][1], xp[0][2]); + // bart_printf("%f, %f, %f\n", xp[0][0], xp[0][1], xp[0][2]); UT_ASSERT(fabs(xp[0][2] + 1.) < tol);
fix rados_connect failed in tcmu_rbd_image_open
@@ -131,7 +131,7 @@ static int tcmu_rbd_image_open(struct tcmu_device *dev) if (ret < 0) { tcmu_dev_err(dev, "Could not connect to cluster. (Err %d)\n", ret); - goto rados_shutdown; + goto set_cluster_null; } ret = rados_ioctx_create(state->cluster, state->pool_name, @@ -159,6 +159,7 @@ rados_destroy: state->io_ctx = N...
make eager-region-commit false by default on windows
@@ -42,19 +42,24 @@ static mi_option_desc_t options[_mi_option_last] = { MI_DEBUG, UNINIT, "show_errors" }, { 0, UNINIT, "verbose" }, + #if MI_SECURE + { MI_SECURE, INITIALIZED, "secure" }, // in a secure build the environment setting is ignored + #else + { 0, UNINIT, "secure" }, + #endif + // the following options are...
malefor: reset PD chip Fill API board_reset_pd_mcu() for resetting DB PD chip. BRANCH=none TEST=make buildall -j
@@ -339,7 +339,32 @@ static const struct usb_mux mux_config_p1_usb3 = { void board_reset_pd_mcu(void) { - /* TODO(b/159024035): Malefor: check USB PD reset operation */ + int val; + + gpio_set_level(GPIO_USB_C1_RT_RST_ODL, 0); + msleep(GENERIC_MAX(PS8XXX_RESET_DELAY_MS, + PS8815_PWR_H_RST_H_DELAY_MS)); + gpio_set_level...
Use common define for properties, engine, cipher and digest params
@@ -40,6 +40,16 @@ extern "C" { */ #define OSSL_PROV_PARAM_MODULE_FILENAME "module-filename" +/* + * Algorithm parameters + * If "engine" or "properties" are specified, they should always be paired + * with the algorithm type. + */ +#define OSSL_ALG_PARAM_DIGEST "digest" /* utf8_string */ +#define OSSL_ALG_PARAM_CIPHER...
Another compilation fix
@@ -131,7 +131,7 @@ namespace carto { double maxLon = boost::lexical_cast<double>(std::string(results[3].first, results[3].second)); double maxLat = boost::lexical_cast<double>(std::string(results[4].first, results[4].second)); if (minLon >= maxLon || minLat >= maxLat) { - Log::Warning("CartoPackageManager: Empty bound...
Fix initializing SPIMemReserved when resource group is enabled. When resource group is enabled, initialization of SPIMemReserved should not depend on statement_mem.
#include "utils/memutils.h" #include "utils/snapmgr.h" #include "utils/typcache.h" +#include "utils/resource_manager.h" #include "utils/resscheduler.h" #include "cdb/cdbvars.h" @@ -2550,8 +2551,16 @@ static uint64 SPIMemReserved = 0; void SPI_InitMemoryReservation(void) { Assert(!IsResManagerMemoryPolicyNone()); + + if...
ecp_curves: Update `mbedtls_ecp_group_free()`. This patch updates the method to not free the `grp->P` and `grp->N` structure members. The contents of `P` and `N` are stored in static memory at `curve448_p/n` and `curve25519p/n` and no longer dynamically allocated.
@@ -582,11 +582,9 @@ void mbedtls_ecp_group_free(mbedtls_ecp_group *grp) } if (grp->h != 1) { - mbedtls_mpi_free(&grp->P); mbedtls_mpi_free(&grp->A); mbedtls_mpi_free(&grp->B); mbedtls_ecp_point_free(&grp->G); - mbedtls_mpi_free(&grp->N); } if (!ecp_group_is_static_comb_table(grp) && grp->T != NULL) {
Fix formatting of generate_ssl_debug_helpers.py Satisfy pylint formatting errors
@@ -276,10 +276,9 @@ class SignatureAlgorithmDefinition: translation_table = [] for m in self._definitions: name = m.groupdict()['name'] + return_val = name[len('MBEDTLS_TLS1_3_SIG_'):].lower() translation_table.append( - ' case {}:\n return "{}";'.format(name, - name[len('MBEDTLS_TLS1_3_SIG_'):].lower()) - ) + ' case ...
Update: concept_net_narsese.py: avoid error output on EOF when piping in file
@@ -149,7 +149,10 @@ querySpecificQuestion = "querySpecificQuestion=false" not in sys.argv if querySpecificQuestion: maxAmount = max(maxAmount, 30) #at least 30 results are fine to make sure the specifically asked relation will be included while True: + try: line = input() + except: + exit(0) isCommand = line.startswit...
tests BUGFIX reflect the recent changes of the XML parser in its tests
@@ -246,26 +246,26 @@ test_attribute(void **state) /* valid attribute */ str = "xmlns=\"urn\">"; assert_int_equal(LY_SUCCESS, lyxml_get_attribute(&ctx, &str, &prefix, &prefix_len, &name, &name_len)); - assert_non_null(name); + assert_null(name); assert_null(prefix); - assert_int_equal(5, name_len); + assert_int_equal(0...
[core] no graceful-restart-bg on OpenBSD, NetBSD disable server.graceful-restart-bg on OpenBSD and NetBSD kqueue is not inherited across fork, and OpenBSD and NetBSD do not implement rfork() (implemented on FreeBSD and DragonFly) lighttpd has not implemented rebuilding the kqueues after fork, so server.graceful-restart...
@@ -841,7 +841,26 @@ static int server_graceful_state_bg (server *srv) { * platforms to achieve the same: * https://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe */ + #if defined(HAVE_KQUEUE) + #if defined(__FreeBSD__) || defined(__DragonFly__) + /*(must *exclude* rfork RFFD...
board/quiche/board.c: Format with clang-format BRANCH=none TEST=none
@@ -159,8 +159,7 @@ struct ppc_config_t ppc_chips[] = { * PS8802 set mux board tuning. * Adds in board specific gain and DP lane count configuration */ -static int board_ps8822_mux_set(const struct usb_mux *me, - mux_state_t mux_state) +static int board_ps8822_mux_set(const struct usb_mux *me, mux_state_t mux_state) { ...
Correctly zero the DISPLAY_COLUMNS structure.
@@ -715,8 +715,9 @@ static void list_type(FUNC_TYPE ft, int one) { FUNCTION *fp; int i = 0; - DISPLAY_COLUMNS dc = {0}; + DISPLAY_COLUMNS dc; + memset(&dc, 0, sizeof(dc)); if (!one) calculate_columns(&dc);
netutils/dhcpd: add debug message for checking exceptional case This commit is to add debug message for checking exceptional case - checking all send messages
@@ -1309,11 +1309,16 @@ static inline int dhcpd_request(void) #ifdef HAVE_LEASE_TIME g_state.ds_leases[ipaddr - CONFIG_NETUTILS_DHCPD_STARTIP].expiry = dhcpd_time() + CONFIG_NETUTILS_DHCPD_OFFERTIME; #endif - - dhcpd_sendack(ipaddr); + if (dhcpd_sendack(ipaddr) == ERROR) { + ndbg("Failed to send ACK\n"); + return ERROR...
Add to Requires
@@ -33,7 +33,9 @@ BuildRequires: gcc-fortran %endif BuildRequires: perl +Requires: perl BuildRequires: lua +Requires: lua Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig
fixed call to make-groups in outer core
=/ book=notebook-info [title.old '' =(%open comments.old) / /] =+ ^- [grp-car=(list card) write-pax=path read-pax=path] - (make-groups book-name group-pax ~ %.n %.n) + (make-groups:main book-name group-pax ~ %.n %.n) =. writers.book write-pax =. subscribers.book read-pax =/ inv-car (send-invites book-name (~(get ju old...
comment and remove useless semicolons
@@ -466,9 +466,12 @@ function Coder:pallene_entry_point_definition(f_id) local typ, c_name = self:prepare_captured_var(u_id, upval.decl) local decl = C.declaration(ctype(typ), c_name)..";"; local src = string.format("&U[%d]", u_id) + -- Since upvalue boxes do not have metatables, type checking them at runtime is not po...
netkvm: add connection state printout on device init For diagnostics purposes, as the driver may report link off initially in case of failover configuration
@@ -270,12 +270,14 @@ static NDIS_STATUS ParaNdis6_Initialize( miniportAttributes.GeneralAttributes.XmitLinkSpeed = miniportAttributes.GeneralAttributes.RcvLinkSpeed = pContext->LinkProperties.Speed; miniportAttributes.GeneralAttributes.MediaDuplexState = pContext->LinkProperties.DuplexState; + DPrintf(0, "[%s] Initial...
Add note about cmake 3.19 not working with zephr ; addresses issue
@@ -71,6 +71,8 @@ sudo apt install -y \ :::note Recent LTS releases of Debian and Ubuntu may include outdated CMake versions. If the output of `cmake --version` is older than 3.15, upgrade your distribution (e.g., from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS), or else install CMake version 3.15 or newer manually (e.g, fro...
test-suite: update hypre test for v2.14.0 API
@@ -232,9 +232,7 @@ int main (int argc, char *argv[]) { HYPRE_BoomerAMGCreate(&precond); HYPRE_BoomerAMGSetPrintLevel(precond, 1); /* print amg solution info */ - HYPRE_BoomerAMGSetCoarsenType(precond, 6); - HYPRE_BoomerAMGSetRelaxType(precond, 6); /* Sym G.S./Jacobi hybrid */ - HYPRE_BoomerAMGSetNumSweeps(precond, 1);...
check oob write of payload because the content might be from untrusted sources
@@ -80,10 +80,10 @@ discord_message_cleanup(discord_message_t *message) void discord_send_message(discord_t *client, char channel_id[], char content[]) { - char fmt_payload[] = "{\"content\":\"%s\"}"; char payload[MAX_PAYLOAD_LEN]; - snprintf(payload, sizeof(payload)-1, fmt_payload, content); + int ret = snprintf(paylo...
TWAI: Fix ESP32-S2 register field name
@@ -61,7 +61,7 @@ typedef volatile struct twai_dev_s { uint32_t es: 1; /* SR.6 Error Status */ uint32_t bs: 1; /* SR.7 Bus Status */ uint32_t ms: 1; /* SR.8 Miss Status */ - uint32_t reserved24: 23; /* Internal Reserved */ + uint32_t reserved23: 23; /* Internal Reserved */ }; uint32_t val; } status_reg; /* Address 2 */...
fixed format error, add auto compile check
@@ -213,6 +213,8 @@ jobs: - {RTT_BSP: "at32/at32f407-start", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "at32/at32f413-start", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "at32/at32f415-start", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "at32/at32f421-start", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "at32/at32...
VERSION bump to version 0.12.13
@@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 12) +set(LIBNETCONF2_MICRO_VERSION 13) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
scale close button padding
@@ -1181,9 +1181,9 @@ drawbar(Monitor *m) drw_setscheme(drw, scheme[SchemeClose]); if (selmon->gesture != 12) { XSetForeground(drw->dpy, drw->gc, drw->scheme[ColBg].pixel); - XFillRectangle(drw->dpy, drw->drawable, drw->gc, x + 6, (bh - 20) / 2, 20, 16); + XFillRectangle(drw->dpy, drw->drawable, drw->gc, x + bh / 6, (b...
Update `setupConfigure` description
@@ -524,7 +524,7 @@ closeFd: /* * Configure the environment - * - setup /etc/profile file + * - setup /etc/profile.d/scope.sh * - extract memory to filter file /usr/lib/appscope/scope_filter * - extract libscope.so to /usr/lib/appscope/libscope.so * - patch the library
Add no-config when generating movies.
@@ -24,9 +24,9 @@ import os, string, subprocess, visit_utils, Image def GenerateMovie(movieArgs): if TestEnv.params["parallel"]: - args = [TestEnv.params["visit_bin"], "-movie", "-np", "2", "-l", TestEnv.params["parallel_launch"]] + movieArgs + args = [TestEnv.params["visit_bin"], "-movie", "-noconfig", "-np", "2", "-l...
adc: temporarily disable adc2 wifi test pending on s3 adc calibration
#include "driver/gpio.h" -#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S3) +#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C3, ESP32S3) static const char* TAG = "test_adc2"; @@ -44,6 +44,11 @@ static const char* TAG = "test_adc2"; #define ADC_WIDTH ADC_WIDTH_BIT_12 #define ADC_HIGH 4095 #define ADC_ERROR_THRES 100 +#elif CONFIG_...
Fixes pattern parsing in ecma_builtin_global_object_unescape () Issue revealed an unhandled corner case while parsing pattern. This patch fixes it and also adds a test case. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik
@@ -1316,6 +1316,12 @@ ecma_builtin_global_object_unescape (ecma_value_t this_arg, /**< this argument * hex_digits = (ecma_char_t) (hex_digits * 16 + (ecma_char_t) lit_char_hex_to_int (chr)); status++; } + else + { + /* Previously found hexadecimal digit in escape sequence but it's not valid '%xy' pattern + * so essent...
Fix thread tab column index
@@ -114,7 +114,7 @@ VOID PhInitializeThreadList( PhAddTreeNewColumn(TreeNewHandle, PH_THREAD_TREELIST_COLUMN_USERTIME, FALSE, L"User time", 100, PH_ALIGN_LEFT, ULONG_MAX, 0); PhAddTreeNewColumn(TreeNewHandle, PH_THREAD_TREELIST_COLUMN_IDEALPROCESSOR, FALSE, L"Ideal processor", 80, PH_ALIGN_LEFT, ULONG_MAX, 0); PhAddTre...
Add link to the enhancement label in GH.
@@ -10,26 +10,4 @@ Check out the website to learn more: https://zmkfirmware.dev/ You can also come join our [ZMK Discord Server](https://zmkfirmware.dev/community/discord/invite) -## TODO - -- Document boards/shields/keymaps usage. -- Display support, including displaying BLE SC auth numbers for "numeric comparison" mo...
Simplify eval-string implementation.
(setdyn :exit-value value) nil) -(defn eval-string - ``Evaluates a string in the current environment. If more control over the - environment is needed, use `run-context`.`` - [str] - (var state (string str)) - (defn chunks [buf _] - (def ret state) - (set state nil) - (when ret - (buffer/push-string buf str) - (buffer/...
use memset to ensure _KeyName and _KeyData are always initialized to 0
struct _KeyName * keyNameNew (void) { struct _KeyName * name = elektraMalloc (sizeof (struct _KeyName)); - name->key = NULL; - name->keySize = 0; - name->ukey = NULL; - name->keyUSize = 0; - name->refs = 0; + memset (name, 0, sizeof (struct _KeyName)); return name; } @@ -77,9 +73,7 @@ void keyNameDel (struct _KeyName *...
kernel/os: Fix invalid sysview trace id
@@ -61,7 +61,7 @@ os_sem_release(struct os_sem *sem) struct os_task *rdy; os_error_t ret; - os_trace_api_u32(OS_TRACE_ID_SEM_INIT, (uint32_t)sem); + os_trace_api_u32(OS_TRACE_ID_SEM_RELEASE, (uint32_t)sem); /* OS must be started to release semaphores */ if (!g_os_started) { @@ -107,7 +107,7 @@ os_sem_release(struct os_...
update ya tool arc switch to arc-vcs
}, "arc": { "formula": { - "sandbox_id": [413571119], + "sandbox_id": [415546019], "match": "arc" }, "executable": {
Fix memory leak in evtDestroy.
@@ -45,6 +45,13 @@ evtDestroy(evt_t** evt) { if (!evt || !*evt) return; evt_t* o = *evt; + + evtEvents(o); // Try to send events. We're doing this in an + // attempt to empty the evbuf before the evbuf + // is destroyed. Any events added after evtEvents + // and before cbufFree wil be leaked. + cbufFree(o->evbuf); + tr...
pin spdlog version
@@ -3,7 +3,7 @@ set_xmakever("2.6.0") set_languages("c++20") set_arch("x64") -add_requires("spdlog", "nlohmann_json", "hopscotch-map", "minhook", "mem", "imgui 1.84.2", "sol2", "tiltedcore 0.2.3", "sqlite3", "xbyak", "stb", "openrestry-luajit") +add_requires("spdlog 1.9", "nlohmann_json", "hopscotch-map", "minhook", "m...
Remove unused HAS_LFN_SUPPORT
# define _setmode setmode # define _O_TEXT O_TEXT # define _O_BINARY O_BINARY -# define HAS_LFN_SUPPORT(name) (pathconf((name), _PC_NAME_MAX) > 12) # undef DEVRANDOM_EGD /* Neither MS-DOS nor FreeDOS provide 'egd' sockets. */ # undef DEVRANDOM # define DEVRANDOM "/dev/urandom\x24"
board/felwinter/board.h: Format with clang-format BRANCH=none TEST=none
#define CONFIG_ACCEL_LIS2DW12_INT_EVENT \ TASK_EVENT_MOTION_SENSOR_INTERRUPT(LID_ACCEL) - /* Sensor console commands */ #define CONFIG_CMD_ACCELS #define CONFIG_CMD_ACCEL_INFO @@ -203,23 +202,11 @@ enum temp_sensor_id { TEMP_SENSOR_COUNT }; -enum sensor_id { - LID_ACCEL = 0, - BASE_ACCEL, - BASE_GYRO, - SENSOR_COUNT -}...
Fix parsing of source prefix length in filters for IPv4 routes.
@@ -451,8 +451,6 @@ parse_filter(int c, gnc_t gnc, void *closure, struct filter **filter_return) filter->af = af; else if(filter->af != af) goto error; - if(af == AF_INET && filter->action.src_plen == 96) - memset(&filter->action.src_prefix, 0, 16); } else if(strcmp(token, "table") == 0) { int table; c = getint(c, &tab...
Remove hip_rocblas andreduction_team from epsdb knowpass while we catch up amd-staging-open-a+a
@@ -45,7 +45,6 @@ gdb_teams global_allocate helloworld hip_device_compile -hip_rocblas host_targ issue_001 issue_002 @@ -82,7 +81,6 @@ reduce reduc_map_prob reduction reduction_issue_16 -reduction_team reduction_teams reduction_teams_distribute_parallel schedule
state.stick_calibration_wizard to retain results of calibration outcome
@@ -212,7 +212,6 @@ void rx_stick_calibration_wizard(void) { sequence_is_running = 1; //just once rx_apply_temp_calibration_scale(); //and shove temp values into profile that are the inverse of expected values from sticks reset_stick_calibration_test_buffer(); //make sure we test with a fresh comparison buffer - state....
Fix bug with wrong parameters order
@@ -2647,9 +2647,10 @@ class CatBoost(_CatBoostBase): raise TypeError('Parameter grid value is not iterable (key={!r}, value={!r})'.format(key, grid[key])) return self._tune_hyperparams( - param_grid, X, y, cv, -1, partition_random_seed, refit, - calc_cv_statistics, search_by_train_test_split, - shuffle, stratified, tr...
sockeye: don't print the hex values as parsing doesn't work with those
@@ -131,6 +131,10 @@ add_xeon_phi(S, Addr, Enum, NewS) :- GDDR_ID = ["GDDR", "PCI0", Enum], state_add_overlay(S2, BAR0_ID, GDDR_ID, NewS). +% state_remove_pci_id(S3, Addr, _, S4), +% K1OMCoreId = ["K1OM_CORE", "PCI0", Enum], + %state_add_pci_id(S4, Addr, K1OMCoreId, NewS). + :- export add_pci/4. add_pci(S, Addr, Enum, ...
compile: make version_gen work on alpine
@@ -53,7 +53,7 @@ BEGIN { sub("^[ \t]+", "", $0); sub("[ \t]+$", "", $0); - if (/^[a-zA-Z0-9._]+[ \t]*{$/) { + if (/^[a-zA-Z0-9._]+[ \t]*\{$/) { # Strip brace. sub("{", "", $1); brackets++; @@ -63,7 +63,7 @@ BEGIN { generated[symver] = 0; version_count++; } - else if (/^}[ \t]*[a-zA-Z0-9._]+[ \t]*;$/) { + else if (/^\}...
ias: print the details of pairing in the debugging info.
@@ -32,6 +32,10 @@ uint64_t ias_gen[NCPU]; /* the current time in microseconds */ static uint64_t now_us; +#ifdef IAS_DEBUG +int owners[NCPU]; +#endif + static void ias_cleanup_core(unsigned int core) { struct ias_data *sd = cores[core]; @@ -75,6 +79,9 @@ static int ias_attach(struct proc *p, struct sched_spec *cfg) go...
hv: nested: update run_vcpu() function for nested case Since L2 guest vCPU mode and VPID are managed by L1 hypervisor, so we can skip these handling in run_vcpu(). And be careful that we can't cache L2 registers in struct acrn_vcpu. Acked-by: Eddie Dong
@@ -633,7 +633,8 @@ int32_t run_vcpu(struct acrn_vcpu *vcpu) pr_info("VM %d Starting VCPU %hu", vcpu->vm->vm_id, vcpu->vcpu_id); - if (vcpu->arch.vpid != 0U) { + /* VMX_VPID for l2 guests is not managed in this way */ + if (!is_vcpu_in_l2_guest(vcpu) && (vcpu->arch.vpid != 0U)) { exec_vmwrite16(VMX_VPID, vcpu->arch.vpi...
Docs: Fix Typo in license version Typo in Apache License version for ESP_MQTT Merges
@@ -57,7 +57,7 @@ These third party libraries can be included into the application (firmware) prod * :component:`Asio <asio>`, Copyright (c) 2003-2018 Christopher M. Kohlhoff is licensed under the Boost Software License as described in :component_file:`COPYING file<asio/asio/asio/COPYING>`. -* :component:`ESP-MQTT <mqt...