message
stringlengths
6
474
diff
stringlengths
8
5.22k
Internal fix in VmaBlockVector::AllocatePage
@@ -12252,7 +12252,8 @@ VkResult VmaBlockVector::AllocatePage( freeMemory = (heapBudget.usage < heapBudget.budget) ? (heapBudget.budget - heapBudget.usage) : 0; } - const bool canFallbackToDedicated = !IsCustomPool(); + const bool canFallbackToDedicated = !HasExplicitBlockSize() && + (createInfo.flags & VMA_ALLOCATION_...
delete response only when not NULL
@@ -7833,9 +7833,9 @@ gboolean update_cups_queues(gpointer unused) { else { debug_printf ("CUPS queue with URI %s found, but with \"printer-name\" %s", uri, ippGetString(attr, 0, NULL)); } - } ippDelete(response); + } if (dest) { /* CUPS has found a queue with this name.
in_mqtt: fix ping response A ping response has no payload, but it was encoded with a payload length of 2, confusing many MQTT clients and causing connection timeouts/drops.
@@ -291,7 +291,7 @@ static int mqtt_handle_ping(struct mqtt_conn *conn) int ret; char buf[2] = {0, 0}; - mqtt_packet_header(MQTT_PINGRESP, 2 , (char *) &buf); + mqtt_packet_header(MQTT_PINGRESP, 0 , (char *) &buf); /* write PINGRESP message */ ret = write(conn->event.fd, buf, 2);
[core] quiet more request parse errs unless debug quiet more request parse errors unless debug enabled with debug.log-request-header-on-error = "enable" x-ref: "invalid character in URI -> 400 config?"
@@ -991,12 +991,9 @@ int http_request_parse_target(request_st * const r, int scheme_port) { if (r->conf.http_parseopts & HTTP_PARSEOPT_URL_NORMALIZE) { /*uint32_t len = (uint32_t)buffer_string_length(target);*/ int qs = burl_normalize(target, r->tmp_buf, r->conf.http_parseopts); - if (-2 == qs) { - log_error(r->conf.er...
Windows used 32-bit long
@@ -94,7 +94,7 @@ typedef __int8 int8_t; #ifndef _SIZE_T_DEFINED #typedef __int32 size_t; #endif -typedef unsigned __int64 u_long; +typedef unsigned __int32 u_long; typedef unsigned __int32 u_int; typedef unsigned __int32 u_int32_t; typedef unsigned __int16 u_int16_t;
doc/opal-api: Document changes of adding interrupt-parent property under /ibm, opal/ipmi node on POWER9 and above.
@@ -21,6 +21,8 @@ Device Tree - ``/ibm,opal/`` compatible property now just lists ``ibm,opal-v3`` and no longer ``ibm,opal-v2`` (power9 and above only) - Use only ``stdout-path`` property from POWER9 and above as usage of ``linux,stdout-path`` is deprecated - Rename ``fsp-ipl-side`` as ``sp-ipl-side`` in ``/ipl-params`...
Fix typo in clobber list, should be xmm14 instead of ymm14.
@@ -111,7 +111,7 @@ static void sscal_kernel_16( BLASLONG n, FLOAT *alpha, FLOAT *x) "%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6", "%xmm7", "%xmm8", "%xmm9", "%xmm10", "%xmm11", - "%xmm12", "%xmm13", "%ymm14", "%xmm15", + "%xmm12", "%xmm13", "%xmm14", "%xmm15", "memory" );
global-plugins: fix use after free
@@ -354,12 +354,7 @@ int mountGlobals (KDB * kdb, KeySet * keys, KeySet * modules, Key * errorKey) // the cutpoints for the plugin configs are always directly below the "root", ignore everything else if (keyRel (root, cur) != 1) continue; - ssize_t placementSize = keyGetBaseNameSize (cur); - char * placement = elektraM...
pybricks/util_pb/pb_imu: Fix Essential Hub IMU orientation. As in the SPIKE Prime Hub, it is mounted upside down. If we keep the definition applied here, then the side with USB is the back and the side with the button is the top.
@@ -190,7 +190,7 @@ void pb_imu_accel_read(pb_imu_dev_t *imu_dev, float_t *values) { values[1] = data[1] * imu_dev->accel_scale; values[2] = data[2] * imu_dev->accel_scale; - #if PYBRICKS_HUB_PRIMEHUB + #if (PYBRICKS_HUB_PRIMEHUB || PYBRICKS_HUB_ESSENTIALHUB) // Sensor is upside down values[0] = -values[0]; values[2] =...
recalculate pay data on reorganizations to maintain consensus
@@ -2939,6 +2939,11 @@ bool static Reorganize(CTxDB& txdb, CBlockIndex* pindexNew) mempool.removeConflicts(tx); } + BOOST_FOREACH(CFortunaStake& mn, vecFortunastakes) // now clear the ranks because we need to reorganize the payments in case extras got in + { + mn.payData.clear(); + } + printf("REORGANIZE: done\n"); ret...
Perl: Find package quietly
@@ -57,7 +57,7 @@ if (DOXYGEN_FOUND) set (WITH_DOT NO) endif (DOXYGEN_DOT_FOUND) - find_package (Perl) + find_package (Perl QUIET) add_executable (markdownlinkconverter markdownlinkconverter/markdownlinkconverter.c)
chip/stm32/i2c-stm32l.c: Format with clang-format BRANCH=none TEST=none
static void dump_i2c_reg(int port, const char *what) { CPRINTS("i2c CR1=%04x CR2=%04x SR1=%04x SR2=%04x %s", - STM32_I2C_CR1(port), - STM32_I2C_CR2(port), - STM32_I2C_SR1(port), - STM32_I2C_SR2(port), - what); + STM32_I2C_CR1(port), STM32_I2C_CR2(port), STM32_I2C_SR1(port), + STM32_I2C_SR2(port), what); } #else static ...
fix inputoverlay text size
@@ -9,7 +9,7 @@ class ScoreEntry(FrameObject): def add_to_frame(self, background, x_offset, y_offset, number, index=0): number = str(number) n = len(number) - 1 - index = min(len(self.frames[0]) - 1, index+n) + index = max(0, min(len(self.frames[0]) - 1, index+n-1)) x_start = x_offset - int(n/2 * self.frames[0][index]....
vlib: fix coverity 274750 Add a missing null check. Type: fix
@@ -568,8 +568,11 @@ vl_msg_api_process_file (vlib_main_t * vm, u8 * filename, am->replay_in_progress = 0; return; } + if (m) + { m->endian_handler (tmpbuf + sizeof (uword)); } + } /* msg_id always in network byte order */ if (clib_arch_is_little_endian)
Code: Add missing `break` statements
@@ -64,12 +64,16 @@ static int elektraLogSyslog (int level ELEKTRA_UNUSED, const char * function ELE { case ELEKTRA_LOG_LEVEL_ERROR: vlevel = LOG_ERR; + break; case ELEKTRA_LOG_LEVEL_WARNING: vlevel = LOG_WARNING; + break; case ELEKTRA_LOG_LEVEL_NOTICE: vlevel = LOG_NOTICE; + break; case ELEKTRA_LOG_LEVEL_INFO: vlevel ...
[v3][1DS][Edge][memleak] An instance of WorkThreadShutdownItem is created in join method (in teardown path) and never freed
@@ -153,6 +153,7 @@ namespace PAL_NS_BEGIN { } if (item->type == detail::WorkerThreadItem::Shutdown) { + delete item; break; // TODO: [MG] - delete item }
changes V and K to match orcaJS, fixes
@@ -542,10 +542,10 @@ BEGIN_OPERATOR(konkat) for (Isz i = 0; i < len; ++i) { PORT(0, i + 1, IN); Glyph var = PEEK(0, i + 1); + if (var != '.') { Usz var_idx = safe_index_of(var); if (var_idx != 0) { Glyph result = extra_params->vars_slots[var_idx]; - if (result != '.') { PORT(1, i + 1, OUT); POKE(1, i + 1, result); } @...
reduce page retire cycles
@@ -394,7 +394,7 @@ void _mi_page_free(mi_page_t* page, mi_page_queue_t* pq, bool force) { } #define MI_MAX_RETIRE_SIZE (MI_MEDIUM_OBJ_SIZE_MAX) -#define MI_RETIRE_CYCLES (16) +#define MI_RETIRE_CYCLES (8) // Retire a page with no more used blocks // Important to not retire too quickly though as new @@ -419,7 +419,7 @@...
Improve testing of stateful tickets
@@ -1233,11 +1233,11 @@ static int post_handshake_verify(SSL *sssl, SSL *cssl) return 1; } -static int test_tickets(int idx) +static int test_tickets(int stateful, int idx) { SSL_CTX *sctx = NULL, *cctx = NULL; SSL *serverssl = NULL, *clientssl = NULL; - int testresult = 0, i; + int testresult = 0, sess_id_ctx = 1, i; ...
Update SCCB probe function.
@@ -42,19 +42,17 @@ int SCCB_Init() uint8_t SCCB_Probe() { - uint8_t reg = 0x00; - uint8_t slv_addr = 0x00; - + uint8_t reg = 0; for (int i=0; i<127; i++) { + __disable_irq(); if (HAL_I2C_Master_Transmit(&I2CHandle, i, &reg, 1, TIMEOUT) == HAL_OK) { - slv_addr = i; - break; - } - if (i!=126) { - systick_sleep(1); // Ne...
Check RPL Target prefix length and buffer boundary.
@@ -744,6 +744,19 @@ dao_input_storing(void) case RPL_OPTION_TARGET: /* Handle the target option. */ prefixlen = buffer[i + 3]; + if(prefixlen == 0) { + /* Ignore option targets with a prefix length of 0. */ + break; + } + if(prefixlen > 128) { + LOG_ERR("Too large target prefix length %d\n", prefixlen); + return; + } ...
hfuzz-cc: -_LIBHFNETDRIVER_module_main for mac
@@ -404,7 +404,6 @@ static int ldMode(int argc, char** argv) { args[j++] = "-Wl,-u,LIBHFUZZ_module_instrument"; args[j++] = "-Wl,-u,LIBHFUZZ_module_memorycmp"; #else /* _HF_ARCH_DARWIN */ - args[j++] = "-Wl,-u,_LIBHFNETDRIVER_module_main", args[j++] = "-Wl,-u,_LIBHFUZZ_module_instrument"; args[j++] = "-Wl,-u,_LIBHFUZZ_...
lens: don't prematurely flush state
:: %fact =^ cards this (take-export !<(* q.cage.sign)) - :_ this :_ cards + :_ this(job.state ~) + :_ cards ?> ?=(^ job.state) ?> ?=(%export -.source.com.u.job.state) [%pass /export %agent [our.bowl app.source.com.u.job.state] %leave ~] =/ enc (en:base64 octs) (pairs:enjs:format file+s+output data+s+enc ~) :: - :_ this...
api: remove extra useless code Since the INQUIRY cmd handler is always called by tcmur_cmdproc_thread, created by dev->handler->added(), just after rhandler->open(). And before the thread is alive all the possible dev->max_xfer_len setting is done. So the code here is useless.
@@ -605,16 +605,6 @@ finish_page83: * value due to device specific limits. */ max_xfer_length = tcmu_get_dev_max_xfer_len(dev); - if (!max_xfer_length) { - max_xfer_length = tcmu_get_attribute(dev, - "hw_max_sectors"); - if (max_xfer_length < 0) { - return tcmu_set_sense_data(sense, - HARDWARE_ERROR, - ASC_INTERNAL_TAR...
nimble/ll: Fix tracking adi in the chains Controller maintains auxdata for the whole advertising event. With this patch we make sure that ADI is not overwitten if chains does not have it e.g. in scan response
@@ -1628,6 +1628,7 @@ ble_ll_scan_get_aux_data(struct ble_ll_scan_sm *scansm, uint8_t ext_hdr_flags; uint8_t *ext_hdr; uint8_t has_addr = 0; + uint8_t has_adi = 0; int i; struct ble_ll_aux_data tmp_aux_data = { 0 }; @@ -1667,6 +1668,7 @@ ble_ll_scan_get_aux_data(struct ble_ll_scan_sm *scansm, if (ext_hdr_flags & (1 << ...
readme: elaborate a bit more on the h2o requirement
@@ -26,7 +26,7 @@ For convenience, you can alternatively run the `make.sh` script. ### For running h2olog - Root privilege to execute the program -- H2O server built after [53e1db42](https://github.com/h2o/h2o/commit/53e1db428772460534191d1c35c79a6dd94e021f) +- H2O server built after [53e1db42](https://github.com/h2o/h...
Add description for compiling demo.
@@ -63,3 +63,11 @@ Before compiling the Demo, you need to modify the following parts of the Demo C 4. Search for `hw_bcs_demo_endorser_peer0Org1_url`, `hw_bcs_demo_endorser_peer0Org2_url`, `hw_bcs_demo_order_url`, and set the url address of the endorsement node and sorting node 5. If TLS is enabled in the demo, search ...
Add MBEDTLS_TEST_DEPRECATED dependency
@@ -119,7 +119,8 @@ static int cipher_reset_key( mbedtls_cipher_context_t *ctx, int cipher_id, mbedtls_cipher_free( ctx ); mbedtls_cipher_init( ctx ); -#if !defined(MBEDTLS_USE_PSA_CRYPTO) || defined(MBEDTLS_DEPRECATED_REMOVED) +#if !defined(MBEDTLS_USE_PSA_CRYPTO) || defined(MBEDTLS_DEPRECATED_REMOVED) || \ + !defined...
Do not override module name if it is specified in swg file
@@ -2,6 +2,7 @@ import argparse import os import subprocess import tarfile +import re def just_do_it(): @@ -16,8 +17,27 @@ def just_do_it(): java_srcs_dir = os.path.join(os.path.dirname(args.jsrc_out), args.package.replace('.', '/')) if not os.path.exists(java_srcs_dir): os.makedirs(java_srcs_dir) + + modrx = re.compil...
Remove the global variable in telnetd_daemon
#include <sys/socket.h> #include <sys/ioctl.h> +#include <inttypes.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> @@ -81,31 +82,6 @@ struct telnetd_s * connection is accepted. */ }; -/* This structure is used to passed information to telnet daemon when it - * started. It contains global information visab...
Trim alpha to the [0, 1] interval.
@@ -854,6 +854,10 @@ tsError ts_bspline_interpolate_catmull_rom(const tsReal *points, memcpy(bs_ctrlp, points, sof_ctrlp); TS_RETURN_SUCCESS(status) } + if (alpha < 0.f) + alpha = (tsReal) 0.f; + if (alpha > 1.f) + alpha = (tsReal) 1.f; /* Copy `points` to `cr_ctrlp`. Add space for `first` and `last`. */ cr_ctrlp = (ts...
Render multiple tile layer copies only in planar mode
@@ -371,7 +371,7 @@ namespace carto { // Recursively calculate visible tiles calculateVisibleTilesRecursive(cullState, MapTile(0, 0, 0, _frameNr), _dataSource->getDataExtent()); if (auto options = _options.lock()) { - if (options->isSeamlessPanning()) { + if (options->getRenderProjectionMode() == RenderProjectionMode::...
Update README.md include code contributors in README
@@ -88,4 +88,32 @@ Maintainers: [Evgeniy](https://github.com/jonano614) ( XDAG: gKNRtSL1pUaTpzMuPMznKw49ILtP6qX3, BTC: 1Jonano4esJzZvqNtUY6NwfPme3EMpVs7n ) [Frozen](https://github.com/xrdavies) ( XDAG: +L5dzSh1QZv1We3wi8Of31M8eHwQJq4K ) -[Full list of contributors](https://github.com/XDagger/xdag/blob/master/CONTRIBUTO...
Skip a no-dsa test in the fipsinstall test In a similar way to the previous commit we also skip a fipsinstall test if DSA has been disabled.
@@ -115,6 +115,9 @@ SKIP: { } # corrupt a Signature test +SKIP: { + skip "Skipping Signature DSA corruption test because of no dsa in this build", 1 + if disabled("dsa"); ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.conf', '-module', $infile, '-provider_name', 'fips', '-mac_name', 'HMAC', '-macopt', 'digest:SHA...
Chronicler: Update battery pre-charge current Update battery pre-charge current to meet battery spec change BRANCH=volteer TEST=make BOARD=chronicler
@@ -51,7 +51,7 @@ const struct board_batt_params board_battery_info[] = { .voltage_max = 13200, /* mV */ .voltage_normal = 11550, /* mV */ .voltage_min = 9000, /* mV */ - .precharge_current = 88, /* mA */ + .precharge_current = 128, /* mA */ .start_charging_min_c = 0, .start_charging_max_c = 45, .charging_min_c = 0,
fixes and improvements from review
@@ -87,7 +87,7 @@ ESCAPES = {"/", "\\"} # The function should return True, iff the escape sequence is valid. ESCAPES_SPECIAL = { ".": lambda part: re.match(r"^\\\.{1,2}$", part), - "#": lambda part: part[0] == "\\" and check_array_part(part[1:])[0], + "#": lambda part: (len(part) < 21 or part[2:] <= "922337203685477580...
do not touch endianess on hcxdumptool pcapng files
@@ -5360,10 +5360,6 @@ while(0 < restlen) #ifdef BIG_ENDIAN_HOST myaktreplaycount = byte_swap_64(myaktreplaycount); #endif - if(endianess == 1) - { - myaktreplaycount = byte_swap_64(myaktreplaycount); - } } } if (option->option_code == OPTIONCODE_ANONCE)
battery/max17055: update battery remaining capacity message dynamic kernel will get the battery info through command "ectool battery", so we need to get the remaining capacity dynamic. BRANCH=none TEST=run "ectool battery" in kernel, and get the battery info.
@@ -101,7 +101,9 @@ static int max17055_probe(void) int battery_device_name(char *device_name, int buf_size) { - return EC_ERROR_UNIMPLEMENTED; + strzcpy(device_name, "<BATT>", buf_size); + + return EC_SUCCESS; } int battery_state_of_charge_abs(int *percent) @@ -259,6 +261,12 @@ void battery_get_params(struct batt_para...
example: Add missing cleaner kick function
@@ -143,6 +143,14 @@ static int ctx_cleaner_init(ocf_cleaner_t c) return 0; } +/* + * Kick cleaner thread. Cleaner thread is left non-implemented, + * to keep this example as simple as possible. + */ +static void ctx_cleaner_kick(ocf_cleaner_t c) +{ +} + /* * Stop cleaner thread. Cleaner thread is left non-implemented,...
ssh client CHANGE improve authentication handling improve handling the "none" authentication method, so far the success of this method was actually ignored improve message when all the authentication methods failed, so far there was a message that there is no authentication method, but actually there were some attemtps...
@@ -1105,11 +1105,16 @@ nc_client_ssh_ch_del_bind(const char *address, uint16_t port) /* Establish a secure SSH connection and authenticate. * Host, port, username, and a connected socket is expected to be set. + * + * return values + * -1 failure + * 0 try again + * 1 success */ static int connect_ssh_session(struct n...
notifications: Updated README
@@ -19,10 +19,12 @@ $ sudo kdb global-mount internalnotification ## Exported Methods ## -The plugin exports the function `int elektraInternalnotificationRegisterInt(int* variable, Key* key)`. -If the given key is contained in a KeySet (e.g. in a result of kdbGet or on kdbSet), its value is -converted from string to int...
Enable invalid param test in sha512
@@ -67,7 +67,7 @@ void mbedtls_sha256( data_t * src_str, data_t * hash ) } /* END_CASE */ -/* BEGIN_CASE depends_on:MBEDTLS_SHA512_C:NOT_DEFINED */ +/* BEGIN_CASE depends_on:MBEDTLS_SHA512_C */ void sha512_invalid_param( ) { mbedtls_sha512_context ctx;
add sugested, recommended packages
@@ -25,7 +25,9 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libseccomp2 (>=2.1.1), libsecret-1-0 (>= 0.18.4), liboidc-agent3 (= ${binary:Version}) -Recommends: ssh-askpass | ssh-askpass-gnome +Recommends: ssh-askpass | ssh-askpass-gnome, + x-terminal-emulator +Suggests: qrencode Description: Commandline tool for obt...
HLS: Remove if optimization until we know that it really works
@@ -164,10 +164,6 @@ static void snap_4KiB_get(snap_4KiB_t *buf, snap_membus_t *line) unsigned int tocopy = MIN(SNAP_4KiB_WORDS, buf->max_lines - buf->m_idx); - if (tocopy == SNAP_4KiB_WORDS) - memcpy(buf->buf, buf->mem + buf->m_idx, - SNAP_4KiB_WORDS * sizeof(snap_membus_t)); - else memcpy(buf->buf, buf->mem + buf->m_...
fix typo in "lcsCommand" doc comment fix typo. `LCS[j+(blen+1)*j]` -> `LCS[j+(blen+1)*i]`
@@ -792,7 +792,7 @@ void lcsCommand(client *c) { /* Setup an uint32_t array to store at LCS[i,j] the length of the * LCS A0..i-1, B0..j-1. Note that we have a linear array here, so - * we index it as LCS[j+(blen+1)*j] */ + * we index it as LCS[j+(blen+1)*i] */ #define LCS(A,B) lcs[(B)+((A)*(blen+1))] /* Try to allocate...
Test that flate history copy doesn't go too far.
@@ -352,10 +352,10 @@ void test_puffs_flate_history_partial() { } int j; - for (j = 0; j < fragment_length; j++) { + for (j = -2; j < (int)(fragment_length) + 2; j++) { uint32_t index = (starting_history_index + j) & 0x7FFF; uint8_t got = dec.private_impl.f_history[index]; - uint8_t want = fragment[j]; + uint8_t want =...
{AH} inrcrease test alignment length
@@ -2245,7 +2245,7 @@ class TestHeader1000Genomes(unittest.TestCase): class TestLargeCigar(unittest.TestCase): def setUp(self): - self.read_length = 70 + self.read_length = 70000 self.header = pysam.AlignmentHeader.from_references( ["chr1", "chr2"], [self.read_length * 2, self.read_length * 2])
Fix docstring for os/cd - Fixes
@@ -1028,7 +1028,7 @@ static const JanetReg os_cfuns[] = { { "os/cd", os_cd, JDOC("(os/cd path)\n\n" - "Change current directory to path. Returns true on success, false on failure.") + "Change current directory to path. Returns nil on success, errors on failure.") }, { "os/mkdir", os_mkdir,
admin scripts: Remove moved scripts from cmake
install (PROGRAMS update-snippet-repository DESTINATION ${TARGET_TOOL_EXEC_FOLDER}) -install (PROGRAMS cmerge-config-files DESTINATION ${TARGET_TOOL_EXEC_FOLDER}) -install (PROGRAMS install-config-file DESTINATION ${TARGET_TOOL_EXEC_FOLDER})
Finished implementing CR3 CB/UMI processing. Passed Lane 1 tests.
#include "ReadAlign.h" #include "serviceFuns.cpp" - int alignToTranscript(Transcript &aG, uint trS1, uint8 trStr1, uint32 *exSE1, uint32 *exLenCum1, uint16 exN1, Transcript &aT) { //find exon that overlaps beginning of the read - uint32 g1=aG.exons[0][EX_G]-trS1;//start of the transcript + uint32 g1=aG.exons[0][EX_G]-t...
dill: remove outdated compatibility workaround Current era runs exclusively on v1.0 and up.
=. see [%lin p.bit] (done %blit [see [%hop pos] ~]) ?: ?=(%pom -.bit) - ::NOTE treat "styled prompt" without style as plain prompt, - :: to allow rendering by older runtimes - ::TODO remove me once v0.10.9+ has high/guaranteed adoption - :: - ?: (levy p.bit (cork head |*(s=stye =(*stye s)))) - $(bit [%pro (zing (turn p...
Update: undo changes to comparison.py
@@ -49,9 +49,9 @@ if not SkipFolderSetup: os.chdir("./" + b + "/OpenNARS-for-Applications/") os.system("git checkout " + b) os.chdir(scriptroot) -examples = ["cartpole"] -steps = [10000] -successCriterias = ["ratio"] +examples = ["pong", "pong2", "alien", "cartpole", "robot"] +steps = [10000, 10000, 10000, 10000, 1500]...
Fix incompatibility with Make 4.3. += does not prepend a space if the variable was empty. Source:
@@ -11,8 +11,8 @@ TOBUILDDIR = $(addprefix $(BUILDDIR)/,$(1)) TOBOOL = $(if $(filter-out 0 false,$1),true,false) COMMA := , -SPACE := -SPACE += +E := +SPACE := $E $E # lower case and upper case translation LC = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$...
Bump max paired connections to 2 for central.
@@ -106,6 +106,10 @@ if ZMK_SPLIT_BLE_ROLE_CENTRAL config BT_MAX_CONN default 5 +config BT_MAX_PAIRED + # Bump this everywhere once we support switching active connections! + default 2 + endif config ZMK_SPLIT_BLE_ROLE_PERIPHERAL
unit-test: simplify u2f part of CMakeLists
@@ -261,16 +261,10 @@ endforeach() # They are copied from https://github.com/google/u2f-ref-code/tree/master/u2f-tests/HID set(U2F_TESTS u2f_standard - "" u2f_hid - "" ) list(LENGTH U2F_TESTS U2F_TESTS_LEN) -math(EXPR U2F_TESTS_LEN ${U2F_TESTS_LEN}-1) -foreach(I RANGE 0 ${U2F_TESTS_LEN} 2) - math(EXPR I2 ${I}+1) - list...
Fix packet trace & provide token tests
@@ -2050,7 +2050,9 @@ int tls_retry_token_test_one(int token_mode) ret = tls_api_attempt_to_close(test_ctx, &simulated_time); } - /* Now we remove the client connection and create a new one */ + /* Now we remove the client connection and create a new one. + * Force the retry token flag, in case it was not set before, t...
Fix timer timeout
@@ -578,6 +578,11 @@ static void timer_on_close(intptr_t uuid, protocol_s *protocol) { (void)uuid; } +static void timer_ping(intptr_t uuid, protocol_s *protocol) { + sock_touch(uuid); + (void)protocol; +} + static inline timer_protocol_s *timer_alloc(void (*task)(void *), void *arg, size_t milliseconds, size_t repetiti...
(Really) fix INET6 only builds
#if defined(__FreeBSD__) && !defined(__Userspace__) #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 362454 2020-06-20 23:48:57Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 362462 2020-06-21 09:56:09Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -7767,6 +7767,8 @@ sctp_bind...
Removed dead code in rb_loader.
@@ -1250,27 +1250,6 @@ loader_handle rb_loader_impl_load_from_package(loader_impl impl, const loader_pa return NULL; } -#if 0 -int rb_loader_impl_clear_cb_iterate(set s, set_key key, set_value val, set_cb_iterate_args args) -{ - VALUE *module = (VALUE *)args; - - rb_function_parser function_parser = (rb_function_parser...
fixed memory issue if packets are malformed
@@ -1383,7 +1383,6 @@ static bool addeapol(time_t tvsec, time_t tvusec, uint8_t *mac_sta, uint8_t *mac { unsigned long long int replaycount; uint8_t m = 0; -int eapolchecksize; if(memcmp(mac_ap, mac_sta, 6) == 0) return false; @@ -1395,11 +1394,14 @@ neweapdbdata->tv_usec = tvusec; memcpy(neweapdbdata->mac_ap.addr, mac...
fixes asprintf that use a wrong json escaping format
@@ -24,7 +24,8 @@ int commit (char * username, char * token, run(&data, &last_sha, load, NULL, GET, "/repos/%s/%s/git/refs/heads/master", username, repo_name); - body.size = asprintf(&body.str, "{ [ref]: [refs/heads/%s], [sha]:[%s] }", + body.size = json_asprintf(&body.str, + "{ |ref|: |refs/heads/%s|, |sha|:|%s| }", b...
linux-raspberrypi_4.4: Update to 4.4.43
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.4.39" +LINUX_VERSION ?= "4.4.43" -SRCREV = "5e46914b3417fe9ff42546dcacd0f41f9a0fb172" +SRCREV = "17ca1c930978a9ea6ddfec61fd0e2043e8ab3b17" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.4.y \ file://0001-fix-dtbo-rule...
README.md: Use version 2.04.82
@@ -20,11 +20,11 @@ Packages for Qt4 and Raspbian Wheezy are available but not described here. ##### Install deCONZ and development package 1. Download deCONZ package - wget http://www.dresden-elektronik.de/rpi/deconz/beta/deconz-2.04.79-qt5.deb + wget http://www.dresden-elektronik.de/rpi/deconz/beta/deconz-2.04.82-qt5...
build: wamrc: Check -mindirect-branch-register compiler option support
@@ -74,10 +74,13 @@ if (NOT MSVC) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wformat -Wformat-security") if (WAMR_BUILD_TARGET MATCHES "X86_.*" OR WAMR_BUILD_TARGET STREQUAL "AMD_64") if (NOT (CMAKE_C_COMPILER MATCHES ".*clang.*" OR CMAKE_C_COMPILER_ID MATCHES ".*Clang")) + check_c_compiler_flag(-mindirect-branch-regi...
tools/build_llsp: move reset vector backup Place it just before instead of right after the Pybricks firmware.
@@ -56,7 +56,7 @@ from umachine import reset SLOT = {slot} PYBRICKS_SIZE = {size} -EXTRA_SIZE = 8 +EXTRA_SIZE = 4 BLOCK_WRITE = {block_write} PYBRICKS_VECTOR = {pybricks_vector} BLOCK_READ = 32 @@ -139,10 +139,13 @@ print('Skipping empty space.') # Add padding up until the start of Pybricks ff_block = FF * BLOCK_WRITE ...
Fix assertion in collation version lookup. Commit included an assertion that a version lookup routine is not trying to look up "C" or "POSIX", but that case is reachable with the user-facing SQL function pg_collation_actual_version(). Remove the assertion.
@@ -1731,15 +1731,14 @@ get_collation_actual_version(char collprovider, const char *collcollate) /* * Get provider-specific collation version string for a given collation OID. - * Return NULL if the provider doesn't support versions. + * Return NULL if the provider doesn't support versions, or the collation is + * unve...
common: Add EC_SUCCESS_IN_PROGRESS to enum ec_error_list EC_SUCCESS_IN_PROGRESS can be returned to indicate the operation was successful but the completion is pending. BRANCH=Trogdor TEST=buildall
@@ -273,6 +273,9 @@ enum ec_error_list { /* Sometimes operation is expected to have to be repeated. */ EC_ERROR_TRY_AGAIN = 26, + /* Operation was successful but completion is pending. */ + EC_SUCCESS_IN_PROGRESS = 27, + /* Verified boot errors */ EC_ERROR_VBOOT_SIGNATURE = 0x1000, /* 4096 */ EC_ERROR_VBOOT_SIG_MAGIC =...
don't install doc/commands.txt by default since, as of commit , we don't create it by default anymore
@@ -767,7 +767,7 @@ utest_gpu: utests_gpu-all endif # MAKESTAGE -install: bart $(root)/doc/commands.txt +install: bart install -d $(DESTDIR)/$(PREFIX)/bin/ install bart $(DESTDIR)/$(PREFIX)/bin/ install -d $(DESTDIR)/$(PREFIX)/share/doc/bart/
Allocate one extra process for backup from standby. The connection to the primary is process-max + 1 so make space for it.
@@ -169,7 +169,7 @@ protocolLocalGet(ProtocolStorageType protocolStorageType, unsigned int hostId, u { MEM_CONTEXT_BEGIN(protocolHelper.memContext) { - protocolHelper.clientLocalSize = cfgOptionUInt(cfgOptProcessMax); + protocolHelper.clientLocalSize = cfgOptionUInt(cfgOptProcessMax) + 1; protocolHelper.clientLocal = (...
nuttx/libs/libc/time: fix runtime error by UBSan
@@ -461,7 +461,7 @@ static int_fast64_t detzcode64(FAR const char *codep) result = (codep[0] & 0x80) ? -1 : 0; for (i = 0; i < 8; ++i) { - result = (result << 8) | (codep[i] & 0xff); + result = (result * 256) | (codep[i] & 0xff); } return result;
Add description about this branch
# ESP8266 AT commands parser for RTOS systems +> This branch is dedicated for testing new AT commands based on ESP-IDF. Its purpose is to have unified commands for ESP32 and ESP8266, allowing customer to use same AT host firmware for both devices. +> Library development always follows latest ESP AT commands releases, b...
update per Eng
@@ -10,7 +10,7 @@ title: Known Issues As of this AppScope release, known issues include: -- [#1055](https://github.com/criblio/appscope/issues/1055) <description TBD>. +- [#1055](https://github.com/criblio/appscope/issues/1055) AppScope cannot attach to a process unless both mount namespaces and PID namespaces are diff...
change to maximum # of subdevices
@@ -533,7 +533,7 @@ void setup(const char* program_source1, const char* program_source2) cl_device_id subdevs[128]; cl_uint retval; int err - = clCreateSubDevices (main_device_id, props, 2, subdevs, &retval); + = clCreateSubDevices (main_device_id, props, 128, subdevs, &retval); assert (err == CL_SUCCESS); device_id = ...
logger for connection image check
#include "SystemResources.h" #include "LMS64CProtocol.h" #include "LMSBoards.h" -#include <iostream> +#include "Logger.h" #include <fstream> #include <ciso646> @@ -64,36 +64,30 @@ void ConnectionSTREAM::VersionCheck(void) //an entry match was not found if (entry.dev == LMS_DEV_UNKNOWN) { - std::cerr << "Unsupported har...
cupsd: Added debug log message if admin access from own utility is accepted On Snap mediation there is always a debug message telling why the administrative task was accepted or denied, it was only missing if the client is our CUPS Snap itself.
@@ -1993,7 +1993,10 @@ check_admin_access(cupsd_client_t *con) // I - Client connection // Allow access from "cups" snap... if (!strncmp(context, "snap.cups.", 10)) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Client from the CUPS Snap itself - allowed."); goto done; + } # if CUPS_SNAP && defined(HAVE_SNAPD_CLIENT_RUN_S...
Platform native: Avoid trying to use the tun when the tun is not available. This allows a native platform application to run without network.
@@ -70,7 +70,7 @@ static char config_tundev[64] = "tun0"; #ifndef __CYGWIN__ -static int tunfd; +static int tunfd = -1; static int set_fd(fd_set *rset, fd_set *wset); static void handle_fd(fd_set *rset, fd_set *wset); @@ -234,7 +234,7 @@ static int tun_output(uint8_t *data, int len) { /* fprintf(stderr, "*** Writing to...
Update minimum window height
@@ -1792,7 +1792,7 @@ VOID PhMwpOnSizing( _In_ PRECT DragRectangle ) { - PhResizingMinimumSize(DragRectangle, Edge, 400, 340); + PhResizingMinimumSize(DragRectangle, Edge, 400, 175); } VOID PhMwpOnSetFocus(
Bug fix. return 0 if service is not found in routing table.
@@ -55,7 +55,7 @@ uint16_t RoutingTB_IDFromAlias(char *alias) } } } - return 0xFFFF; + return 0; } /****************************************************************************** * @brief Return an id from type @@ -74,7 +74,7 @@ uint16_t RoutingTB_IDFromType(luos_type_t type) } } } - return 0xFFFF; + return 0; } /*****...
Link Checker: Do not check pipeline syntax URL This commit closes
@@ -17,6 +17,8 @@ check() { echo "$1" | grep -Eq 'doc/news/_preparation_next_release\.md.*<<VERSION>>' && return # TODO: Fix Doxygen build upload for latest version of documentation echo "$1" | grep -Eq 'https://doc\.libelektra\.org/api/latest/html' && return + # TODO: The following link only works if you are logged in...
Adding image from isitmaintained.com to README
Easy to integrate Vulkan memory allocation library. -**Documentation:** See [Vulkan Memory Allocator](https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/) (generated from Doxygen-style comments in [include/vk_mem_alloc.h](include/vk_mem_alloc.h)) +**Documentation:** Browse online: [Vulkan Memory Allo...
tinyusb: reduce annoying log under verbose level in CDC And a robust fix.
@@ -249,10 +249,8 @@ static esp_err_t ringbuf_mux_take(esp_tusb_cdcacm_t *acm){ } static esp_err_t ringbuf_mux_give(esp_tusb_cdcacm_t *acm) { - if(xSemaphoreGive(acm->ringbuf_read_mux) != pdTRUE){ - ESP_LOGW(TAG, "Can't return the ringbuff mutex: mutex hasn't been taken"); - return ESP_ERR_INVALID_STATE; - } + BaseType...
OPENMV4: Switch USB clock source to HSI48.
#define OMV_OSC_PLL3FRAC (0) // Clock Sources -#define OMV_OSC_USB_CLKSOURCE RCC_USBCLKSOURCE_PLL +#define OMV_OSC_USB_CLKSOURCE RCC_USBCLKSOURCE_HSI48 #define OMV_OSC_RNG_CLKSOURCE RCC_RNGCLKSOURCE_HSI48 #define OMV_OSC_ADC_CLKSOURCE RCC_ADCCLKSOURCE_PLL3 #define OMV_OSC_SPI123_CLKSOURCE RCC_SPI123CLKSOURCE_PLL3
Change error message of python port.
@@ -28,5 +28,5 @@ except ImportError as e: try: from _py_portd import * # TODO: Import only the functions that will be exported except ImportError as ed: - print("MetaCall Core (Debug) is not correctly installed:", e, "-", ed) + print("MetaCall Core is not correctly installed:", e, "-", ed) pass
common/rollback.c: Format with clang-format BRANCH=none TEST=none
@@ -188,8 +188,8 @@ failed: #ifdef CONFIG_ROLLBACK_UPDATE #ifdef CONFIG_ROLLBACK_SECRET_SIZE -static int add_entropy(uint8_t *dst, const uint8_t *src, - const uint8_t *add, unsigned int add_len) +static int add_entropy(uint8_t *dst, const uint8_t *src, const uint8_t *add, + unsigned int add_len) { int ret = 0; #ifdef C...
ChangeLog add entry for already fixed issue
* **consistent-hash** node traversal is now done through a binary search instead of forward pointer chasing. +### Bugfixes + +* [Issue #261](https://github.com/grobian/carbon-c-relay/issues/261) + unable to use numeric instance name + + # 3.0 (2017-04-07) ### Notes
Update changelog to cover and
@@ -303,6 +303,10 @@ Features directly, which is no longer supported. * Implement psa_mac_compute() and psa_mac_verify() as defined in the PSA Cryptograpy API 1.0.0 specification. + * Introduce PSA_WANT_ECC_XXX for ECC curves, and PSA_WANT_CCM/GCM/CMAC, + which are used to decide at build time which cryptographic mecha...
add axis_pps_counter to Makefile
@@ -19,12 +19,12 @@ CORES = axi_axis_reader_v1_0 axi_axis_writer_v1_0 axi_bram_reader_v1_0 \ axis_decimator_v1_0 axis_fifo_v1_0 axis_gpio_reader_v1_0 axis_histogram_v1_0 \ axis_i2s_v1_0 axis_interpolator_v1_0 axis_keyer_v1_0 axis_lfsr_v1_0 \ axis_negator_v1_0 axis_oscilloscope_v1_0 axis_packetizer_v1_0 \ - axis_phase_g...
[snitch] Fix bug in handle
@@ -290,6 +290,7 @@ module snitch_icache_handler #( // No cache hit is pending, but response data is available. end else if (arb_d.sel == 1) begin if (out_rsp_valid_i) begin + hit_ready = 0; rsp_valid = 1; rsp_ready = (in_rsp_ready_i || in_rsp_served_q) && (write_ready_i || write_served_q);
s5j/qspi: do not read the status while init There is no point in reading the flash status register and printing it out while initializing QSPI. Don't do it.
@@ -397,8 +397,6 @@ void s5j_qspi_init(void) while (!(HW_REG8(0x80310000, 0xDC) & (0x1 << 6))); lldbg("FLASH Quad Enabled\n"); - s5j_qspi_get_status_register(); - HW_REG32(0x80310000, 0x04) = 0x0010001A; /* Enable WP */ /* Set FLASH clk 80Mhz for Max performance */
hover over start menu
@@ -1255,10 +1255,12 @@ drawbar(Monitor *m) } //draw start menu icon - drw_rect(drw, 0, 0, startmenusize, bh, 1, 1); - drw_rect(drw, 5, 5, 14, 14, 1, 0); - drw_rect(drw, 9, 9, 6, 6, 1, 1); - drw_rect(drw, 19, 19, 6, 6, 1, 0); + + int startmenuinvert = (selmon->gesture == 13); + drw_rect(drw, 0, 0, startmenusize, bh, 1,...
took out trace point I put in previous commit
@@ -94,7 +94,6 @@ def comp2huybers(plname, xrange=False, show=True): longp = body.PrecA esinv = ecc * np.sin(longp) - import pdb; pdb.set_trace() lats = np.unique(body.Latitude) nlats = len(lats)
Completions: Fix option suggestion of `list-tools` The subcommand `list-tools` does currently not support any options.
@@ -94,11 +94,12 @@ function __fish_kdb_subcommand_supports_option_null -d 'Check if the current sub end function __fish_kdb_subcommand_supports_option_verbose -d 'Check if the current subcommand supports the option verbose' - not __fish_kdb_subcommand_includes export file getmeta global-mount gmount info mount qt-gui ...
nimble/ll: Fix marking AdvA as resolved when restoring addrd AdvA was resolved only if corresponding flag is set. It's possible to have rpa_index>0 and not resolved AdvA in case AdvA was an identity address but it was added to rl.
@@ -2439,14 +2439,19 @@ ble_ll_scan_rx_pkt_in_restore_addr_data(struct ble_mbuf_hdr *hdr, addrd->adv_addr_type = addrd->adva_type; #if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_PRIVACY) - if (rxinfo->rpa_index >= 0) { + addrd->rpa_index = rxinfo->rpa_index; + + if (hdr->rxinfo.flags & BLE_MBUF_HDR_F_RESOLVED) { + BLE_LL_ASSERT(rxi...
Fix paths to LIN and EIG tests should fix 1574
@@ -257,16 +257,16 @@ for dtype in range_prec: else: if dtest==16: # LIN TESTS - cmdbase="xlintst"+letter+" < "+dtests[0][dtest]+".in > "+dtests[2][dtest]+".out" + cmdbase="LIN/xlintst"+letter+" < "+dtests[0][dtest]+".in > "+dtests[2][dtest]+".out" elif dtest==17: # PROTO LIN TESTS - cmdbase="xlintst"+letter+dtypes[0][...
[LoongArch64] Simplify loongarch64_local_resume Simplify the restoration sequence in case of tail calls, and use the long-supported "jr" alias instead of the fully spelled out jirl form for brevity. Suggested-by: qiaopengcheng
@@ -41,32 +41,25 @@ loongarch64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg) { /* Since there are no signals involved here we restore EH and non scratch registers only. */ - unsigned long sp = uc->uc_mcontext.__gregs[3]; - unsigned long ra = uc->uc_mcontext.__gregs[1]; - + register void *gregs as...
pkg/gadgets: Print error when running networkpolicy on arm64. At the moment, this gadget cannot work on arm64 because it comes with eBPF object file compiled for amd64 [1]. [1]
@@ -19,6 +19,7 @@ import ( "context" "fmt" "os/exec" + "runtime" "strings" "syscall" @@ -102,6 +103,11 @@ func (f *TraceFactory) Operations() map[string]gadgets.TraceOperation { } func (f *Trace) Start(trace *gadgetv1alpha1.Trace) { + if runtime.GOARCH != "amd64" { + trace.Status.OperationError = fmt.Sprintf("This gadg...
filter_modify: remove unused variable
@@ -380,17 +380,14 @@ static int setup(struct filter_modify_ctx *ctx, return 0; } -// -// Regex matchers -// +/* Regex matchers */ static inline bool helper_msgpack_object_matches_regex(msgpack_object * obj, struct flb_regex *regex) { - const char *key; int len; - struct flb_regex_search result; + const char *key; if (...
build: match on path subdirectories
@@ -35,26 +35,26 @@ name: build on: push: paths: - - 'pkg/arvo' - - 'pkg/docker-image' - - 'pkg/ent' - - 'pkg/ge-additions' - - 'pkg/hs' - - 'pkg/libaes_siv' - - 'pkg/urbit' - - 'bin' - - 'nix' + - 'pkg/arvo/**' + - 'pkg/docker-image/**' + - 'pkg/ent/**' + - 'pkg/ge-additions/**' + - 'pkg/hs/**' + - 'pkg/libaes_siv/**'...
peview: Display XFG and Cast guard entries
@@ -406,6 +406,16 @@ INT_PTR CALLBACK PvPeLoadConfigDlgProc( ADD_VALUE(L"Guard EH Continuation table", PhaFormatString(L"0x%Ix", (Config)->GuardEHContinuationTable)->Buffer); \ ADD_VALUE(L"Guard EH Continuation table entry count", PhaFormatUInt64((Config)->GuardEHContinuationCount, TRUE)->Buffer); \ } \ + if (RTL_CONTA...
Correct reference to SSL_get_peer_cert_chain(). CLA: trivial
@@ -21,7 +21,7 @@ side, the peer's certificate must be obtained separately using L<SSL_get_peer_certificate(3)>. If the peer did not present a certificate, NULL is returned. -NB: SSL_get_peer_chain() returns the peer chain as sent by the peer: it +NB: SSL_get_peer_cert_chain() returns the peer chain as sent by the peer...