message
stringlengths
6
474
diff
stringlengths
8
5.22k
User: Update security predicate strategy
@@ -271,23 +271,16 @@ sydr-fuzz: $(PROJECT).sydr$(SUFFIX) $(PROJECT)$(SUFFIX) FORCE [sydr] args = "--solving-timeout 60 -s 900 -j $(FUZZ_JOBS)" target = "$(PROJECT).sydr$(SUFFIX) @@" - jobs = 1 + jobs = $(FUZZ_JOBS) [libfuzzer] path = "$(PROJECT)$(SUFFIX)" args = "-jobs=$(FUZZ_JOBS) -workers=$(FUZZ_JOBS) -rss_limit_mb=...
Fix OSSL_PROVIDER_get_capabilities() It is not a failure to call OSSL_PROVIDER_get_capabilities() with a provider loaded that has no capabilities. Fixes
@@ -831,7 +831,7 @@ int ossl_provider_get_capabilities(const OSSL_PROVIDER *prov, void *arg) { return prov->get_capabilities == NULL - ? 0 : prov->get_capabilities(prov->provctx, capability, cb, arg); + ? 1 : prov->get_capabilities(prov->provctx, capability, cb, arg); }
[catboost/java] distribution management
<url>https://catboost.ai</url> </organization> + <distributionManagement> + <snapshotRepository> + <id>ossrh</id> + <url>https://oss.sonatype.org/content/repositories/snapshots</url> + </snapshotRepository> + <repository> + <id>ossrh</id> + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> + </re...
fix decoding of length value
@@ -60,33 +60,11 @@ int8_t ootx_decode_lighthouse_number(uint8_t last_num, uint32_t ticks, int32_t d if (delta>18000) return 1; //a slave, should be at least 20000 but there are some data issues return -1; } -/* -uint8_t decode_internal(uint32_t length) { - uint16_t temp = length - 2880; -// printf - -#if BETTER_SAFE_T...
Fix no-des Don't attempt to self-test DES in the FIPS provider if we have been built without FIPS support.
@@ -141,6 +141,7 @@ static const unsigned char aes_256_gcm_tag[] = { }; static const ST_KAT_CIPHER st_kat_cipher_tests[] = { +#ifndef OPENSSL_NO_DES { { OSSL_SELF_TEST_DESC_CIPHER_TDES, @@ -151,6 +152,7 @@ static const ST_KAT_CIPHER st_kat_cipher_tests[] = { ITM(des_ede3_cbc_key), ITM(des_ede3_cbc_iv), }, +#endif { { O...
tcpci: add missing CPRINTS argument this adds the missing "port" argument to a CPRINTS. BRANCH=none TEST=buildall passes, boots on atlas
@@ -490,7 +490,7 @@ int tcpm_dequeue_message(const int port, uint32_t *const payload, &q->buffer[q->tail & CACHE_DEPTH_MASK]; if (!tcpm_has_pending_message(port)) { - CPRINTS("C%d No message in RX buffer!"); + CPRINTS("C%d No message in RX buffer!", port); return EC_ERROR_BUSY; }
Improve runtime by concatenation of opcodes. JerryScript-DCO-1.0-Signed-off-by: Marko Fabo
@@ -738,6 +738,7 @@ vm_loop (vm_frame_ctx_t *frame_ctx_p) /**< frame context */ uint16_t ident_end; uint16_t const_literal_end; int32_t branch_offset = 0; + uint8_t branch_offset_length = 0; ecma_value_t left_value; ecma_value_t right_value; ecma_value_t result = ecma_make_simple_value (ECMA_SIMPLE_VALUE_EMPTY); @@ -84...
Add bounding parnens on macro arguments
@@ -27,10 +27,10 @@ typedef struct clap_version { #define CLAP_VERSION_INIT \ { (uint32_t)CLAP_VERSION_MAJOR, (uint32_t)CLAP_VERSION_MINOR, (uint32_t)CLAP_VERSION_REVISION } -#define CLAP_VERSION_LT(maj,min,rev) ((maj < CLAP_VERSION_MAJOR) || \ - (maj == CLAP_VERSION_MAJOR && min < CLAP_VERSION_MINOR ) || \ - (maj == C...
VERSION bump to version 0.12.52
@@ -34,7 +34,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 51) +set(LIBNETCONF2_MICRO_VERSION 52) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
Instantiate the main waiting screen in a separate function.
@@ -34,16 +34,22 @@ void ui_screen_render_component(component_t* component) UG_SendBuffer(); } -static void _screen_process(bool (*is_done)(void), void (*on_timeout)(void), const uint32_t timeout) +static component_t *get_waiting_screen(void) { static component_t* waiting_screen = NULL; - uint32_t timeout_cnt = 0; if (...
pbio/control: do not allow offset above limit The actuation offset should never be higher than the actuation limit. Otherwise, the controller cannot do anything as all that happens is feed forward control.
@@ -301,7 +301,7 @@ void pbio_control_settings_get_limits(pbio_control_settings_t *s, int32_t *speed } pbio_error_t pbio_control_settings_set_limits(pbio_control_settings_t *s, int32_t speed, int32_t acceleration, int32_t actuation) { - if (speed < 1 || acceleration < 1 || actuation < 1) { + if (speed < 1 || accelerati...
RP: pull USB_EN up
@@ -125,7 +125,7 @@ void red_init(void) { // B14: usb load switch, enabled by pull resistor on board, obsolete for red panda set_gpio_output_type(GPIOB, 14, OUTPUT_TYPE_OPEN_DRAIN); - set_gpio_pullup(GPIOB, 14, PULL_NONE); + set_gpio_pullup(GPIOB, 14, PULL_UP); set_gpio_mode(GPIOB, 14, MODE_OUTPUT); set_gpio_output(GPI...
clean up src/test/regress/expected/.gitignore This should make the .gitignore file more aligned with the src/test/regress/output directory.
-/constraints.out -/copy.out -/create_function_1.out -/create_function_2.out -/largeobject.out -/largeobject_1.out -/misc.out -/tablespace.out - +# autogenerated out files from output dir source files aocs.out appendonly.out -gptokencheck.out -sreh.out -upg2.out -ereport.out -filespace.out -upgrade.out auth_constraint....
Testing: Drop python2
@@ -334,18 +334,6 @@ if( HAVE_BUILD_TOOLS ) endif() - if( HAVE_PYTHON2 AND ENABLE_EXTRA_TESTS ) - list( APPEND ptests bufr_dump_decode_python ) - # list( APPEND ptests bufr_dump_encode_python ) - foreach( test ${ptests} ) - ecbuild_add_test( TARGET eccodes_t_${test} - TYPE SCRIPT - COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/$...
Add pem label macros
#define S2N_PEM_BEGIN_TOKEN (S2N_PEM_LINE "BEGIN ") #define S2N_PEM_END_TOKEN (S2N_PEM_LINE "END ") +#define S2N_PEM_PKCS1_RSA_PRIVATE_KEY "RSA PRIVATE KEY" +#define S2N_PEM_PKCS1_ECDSA_PRIVATE_KEY "EC PRIVATE KEY" +#define S2N_PEM_PKCS8_PRIVATE_KEY "PRIVATE KEY" +#define S2N_PEM_DH_PARAMETERS "DH PARAMETERS" +#define ...
Fix stack balance with luax_checkvariant; Was breaking Channel:push.
@@ -61,6 +61,7 @@ void luax_checkvariant(lua_State* L, int index, Variant* variant) { variant->value.object.pointer = proxy->object; lovrRetain(proxy->object); + lua_pop(L, 1); break; default:
frees openssl ctx in _http_serv_free
@@ -633,8 +633,14 @@ _http_serv_free(u3_http* htp_u) } if ( 0 != htp_u->h2o_u ) { - h2o_config_dispose(&((u3_h2o_serv*)htp_u->h2o_u)->fig_u); - // XX call SSL_CTX_free once ref-counted + u3_h2o_serv* h2o_u = htp_u->h2o_u; + + h2o_config_dispose(&h2o_u->fig_u); + + if ( 0 != h2o_u->cep_u.ssl_ctx ) { + SSL_CTX_free(h2o_u...
net/procfs: interface index should begin from 1
@@ -535,9 +535,11 @@ static int netprocfs_readdir(FAR struct fs_dirent_s *dir, level1->ifindex = ifindex + 1; #else - /* Get the raw index */ + /* Get the raw index, (why +2 ? The ifindex should remove device + * entry of last g_net_entries(-1) and start the devidx from 1) + */ - ifindex = index - ARRAY_SIZE(g_net_entr...
Adapt i2d_PUBKEY for provider only keys It uses EVP_PKEY serializers to get the desired results.
@@ -253,21 +253,52 @@ EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, long length) int i2d_PUBKEY(const EVP_PKEY *a, unsigned char **pp) { - X509_PUBKEY *xpk = NULL; int ret = -1; if (a == NULL) return 0; + if (a->ameth != NULL) { + X509_PUBKEY *xpk = NULL; + if ((xpk = X509_PUBKEY_new()) == NULL) return -...
soft_serial: add timeout to bail out of rx
@@ -189,9 +189,19 @@ void soft_serial_rx_update(usart_ports_t port) { return; } + static uint32_t timeout = 0; + if (timeout == 10000) { + DEV.rx_state = START_BIT; + timeout = 0; + soft_serial_timer_stop(); + return; + } + if (DEV.rx_state == START_BIT) { if (gpio_pin_read(DEV.rx_pin)) { DEV.rx_state++; + } else { + t...
Ubuntu compile and ICW w/ ORCA in PR pipeline
@@ -18,6 +18,12 @@ resources: - gpdb-doc/* - README* + - name: ubuntu-gpdb-dev-16 + type: docker-image + source: + repository: pivotaldata/ubuntu-gpdb-dev + tag: '16.04_gcc_6_3' + - name: centos-gpdb-dev-6 type: docker-image source: @@ -48,6 +54,7 @@ jobs: - get: gpdb_pr trigger: true version: every + - get: ubuntu-gpd...
[snitch] Explicitly avoid additional adder in pre-fetching logic
@@ -317,24 +317,28 @@ module snitch_icache_l0 import snitch_icache_pkg::*; #( .empty_o (no_prefetch) ); - addr_t offset, uj_imm, sb_imm; + addr_t base_addr, offset, uj_imm, sb_imm; + logic [CFG.LINE_ALIGN-1:0] base_offset; + assign base_offset = taken_idx << 2; assign uj_imm = $signed({ins_data[ins_idx+31], ins_data[in...
in_fluentbit_metrics: use new CFL timer api
@@ -42,7 +42,7 @@ static int scrape_metrics(struct flb_config *config, struct flb_in_metrics *ctx) struct cmt *cmt; /* Update internal metric */ - ts = cmt_time_now(); + ts = cfl_time_now(); name = (char *) flb_input_name(ctx->ins); cmt_counter_inc(ctx->c, ts, 1, (char *[]) {name});
MAX7456: increase buffer size
#ifdef ENABLE_OSD +#define DMA_BUFFER_SIZE 128 #define MAX7456_BAUD_RATE spi_find_divder(MHZ_TO_HZ(10.5)) // osd video system (PAL/NTSC) at startup if no video input is present @@ -21,16 +22,16 @@ static osd_system_t last_osd_system = OSD_SYS_NONE; // detected osd video system starts at 99 and gets updated here by osd_...
jvpp: pass tuple of classes to isinstance()
@@ -56,7 +56,7 @@ def generate_j2c_field_swap(field, struct_ref_name): def _generate_j2c_array_swap(field, struct_ref_name): # TODO(VPP-1186): move the logic to JNI generators base_type = field.type.base_type - if isinstance(base_type, Class) or isinstance(base_type, Enum) or isinstance(base_type, Union): + if isinstan...
out_es: set conten-type for Bulk API
@@ -358,6 +358,7 @@ void cb_es_flush(void *data, size_t bytes, c = flb_http_client(u_conn, FLB_HTTP_POST, "/_bulk", pack, bytes_out, NULL, 0, NULL, 0); flb_http_add_header(c, "User-Agent", 10, "Fluent-Bit", 10); + flb_http_add_header(c, "Content-Type", 12, "application/x-ndjson", 20); if (ctx->http_user && ctx->http_pa...
Add FAQ section about mouse clicks On some devices, mouse clicks do not work by default. Enabling an option is required.
@@ -47,6 +47,13 @@ See [issue 36]. [issue 36]: https://github.com/Genymobile/scrcpy/issues/36 +### Mouse clicks do not work + +On some devices, you may need to enable an option to allow [simulating input]. + +[simulating input]: https://github.com/Genymobile/scrcpy/issues/70#issuecomment-373286323 + + ### Mouse clicks ...
reset gyro on MPU_RESET_SIGNAL_PATHWAYS
#define MPU_BIT_H_RESET 0x80 #define MPU_BITS_CLKSEL 0x07 #define MPU_CLK_SEL_PLLGYROX 0x01 -#define MPU_RESET_SIGNAL_PATHWAYS 0x03 +#define MPU_RESET_SIGNAL_PATHWAYS 0x07 #define MPU_EXT_SYNC_GYROX 0x02 #define MPU_BITS_STDBY_MODE_OFF 0x00 #define MPU_BITS_FS_250DPS 0x00 @@ -135,4 +135,3 @@ void MPU6XXX_dma_spi_write(...
fix(Kconfig): Fix wrong type of LV_FS_STDIO_CACHE_SIZE
@@ -899,7 +899,8 @@ menu "LVGL configuration" string "Set the working directory" depends on LV_USE_FS_STDIO config LV_FS_STDIO_CACHE_SIZE - string ">0 to cache this number of bytes in lv_fs_read()" + int ">0 to cache this number of bytes in lv_fs_read()" + default 0 depends on LV_USE_FS_STDIO config LV_USE_FS_POSIX
Nearest: Assertion
@@ -323,8 +323,8 @@ static int find(grib_nearest* nearest, grib_handle* h, return ret; } while (grib_iterator_next(iter, &lat, &lon, &dummy)) { - if (olat != lat) { - Assert(ilat < self->lats_count); + if (ilat < self->lats_count && olat != lat) { + /* Assert(ilat < self->lats_count); */ self->lats[ilat++] = lat; olat ...
spi: run done_fn before releasing the txn
@@ -501,7 +501,7 @@ void spi_txn_submit(spi_txn_t *txn) { } } -static spi_txn_t *spi_txn_finish(spi_bus_device_t *bus) { +static void spi_txn_finish(spi_bus_device_t *bus) { const uint32_t tail = (bus->txn_tail + 1) % SPI_TXN_MAX; spi_txn_t *txn = bus->txns[tail]; @@ -514,6 +514,10 @@ static spi_txn_t *spi_txn_finish(s...
Remove boomerang from AImove command.
@@ -7840,10 +7840,6 @@ void lcmHandleCommandAimove(ArgList *arglist, s_model *newchar, int *aimoveset, { newchar->aimove |= AIMOVE1_NOMOVE; } - else if(stricmp(value, "boomerang") == 0) - { - newchar->aimove |= AIMOVE1_BOOMERANG; - } else { borShutdown(1, "Model '%s' has invalid A.I. move switch: '%s'", filename, value...
options/posix: Fix gettid() signature
@@ -287,7 +287,7 @@ int getpagesize(void) { // usleep() is provided by the platform // This is a Linux extension -pid_t gettid(void *, size_t, unsigned int) { +pid_t gettid(void) { __ensure(!"Not implemented"); __builtin_unreachable(); }
doxygen: fix Doxyfile generation (markdown link converter)
@@ -80,8 +80,8 @@ if (DOXYGEN_FOUND) # fix usage with wine: https://github.com/ElektraInitiative/libelektra/pull/340#discussion_r44044444 find_util (markdownlinkconverter MARKDOWN_LINK_CONVERTER "") - if (DOXYGEN_VERSION VERSION_GREATER "1.8.11") - set (MARKDOWN_LINK_CONVERTER "\\\"${MARKDOWN_LINK_CONVERTER}\\\"") + if...
Mocked numpy.
@@ -36,7 +36,7 @@ if on_rtd: def __getattr__(cls, name): return MagicMock() - MOCK_MODULES = ["_ccllib"] + MOCK_MODULES = ["_ccllib","numpy"] #['pyccl','pyccl.background','pyccl.ccllib','pyccl.cls','pyccl.core','pyccl.constants','pyccl.correlation','pyccl.lsst_specs','pyccl.massfunction','pyccl.power','pyccl.pyutils'] ...
HW: Creating pblock for DDR4 SDRAM only in PR flow
@@ -293,9 +293,9 @@ if { $fpga_card == "KU3" } { if { $bram_used == "TRUE" } { add_files -fileset constrs_1 -norecurse $root_dir/setup/FGT/snap_refclk266.xdc } elseif { $sdram_used == "TRUE" } { + if { $use_prflow == "TRUE" } { add_files -fileset constrs_1 -norecurse $root_dir/setup/FGT/snap_ddr4_pblock.xdc set_propert...
Fix missing `const`
@@ -266,8 +266,7 @@ const pubsub_engine_s PUBSUB_PROCESS_ENGINE_S = { }; const pubsub_engine_s *PUBSUB_PROCESS_ENGINE = &PUBSUB_PROCESS_ENGINE_S; -pubsub_engine_s *PUBSUB_DEFAULT_ENGINE = - (pubsub_engine_s *)&PUBSUB_CLUSTER_ENGINE_S; +const pubsub_engine_s *PUBSUB_DEFAULT_ENGINE = &PUBSUB_CLUSTER_ENGINE_S; /* ********...
Add a description for clock_daysbeforemonth Month starts from 0 to 11(Jan to Dec)
@@ -102,6 +102,7 @@ static const uint16_t g_daysbeforemonth[13] = { * * Description: * Get the number of days that occurred before the beginning of the month. + * Month starts from 0 to 11(Jan to Dec). * ****************************************************************************/
[chain] add mainnet field to genesis.json
@@ -15,6 +15,7 @@ var ( defaultChainID = ChainID{ Magic: "AREGO.IO", PublicNet: true, + MainNet: false, Consensus: "dpos", } ) @@ -23,6 +24,7 @@ var ( type ChainID struct { Magic string `json:"magic"` PublicNet bool `json:"public"` + MainNet bool `json:"mainnet"` Consensus string `json:"consensus"` }
adding cmfe xrefs
@@ -4,29 +4,32 @@ Database comparison ------------------- Comparing the results of multiple related simulation databases is one of -VisIt's main uses. You can put plots from multiple databases in the same +VisIt_'s main uses. You can put plots from multiple databases in the same window or you can put plots from each da...
Fix service error message text
@@ -1924,7 +1924,7 @@ static VOID PhpShowErrorService( PhShowStatus( hWnd, PhaFormatString( - L"Unable to %s %s", + L"Unable to %s %s.", Verb, Service->Name->Buffer )->Buffer,
test: Add test case for RESP3 map
@@ -663,6 +663,26 @@ static void test_reply_reader(void) { strcasecmp(reader->errstr,"Bad bool value") == 0); freeReplyObject(reply); redisReaderFree(reader); + + test("Can parse RESP3 map: "); + reader = redisReaderCreate(); + redisReaderFeed(reader, "%2\r\n+first\r\n:123\r\n$6\r\nsecond\r\n#t\r\n",34); + ret = redisR...
docs: CN translation for system_time.rst and migration-guides: 5.1/networking.rst
@@ -134,7 +134,7 @@ The lwIP SNTP library could work in one of the following sync modes: If you want to choose the :cpp:enumerator:`SNTP_SYNC_MODE_SMOOTH` mode, please set the :cpp:member:`esp_sntp_config::smooth` to ``true`` in the SNTP configuration struct. Otherwise (and by default) the :cpp:enumerator:`SNTP_SYNC_MO...
Disable 82-test_tfo_cli if tfo is not enabled. Fixes
@@ -15,6 +15,7 @@ use OpenSSL::Test::Utils; setup("test_tfo"); +plan skip_all => "test_tfo_cli needs tfo enabled" if disabled("tfo"); plan skip_all => "test_tfo_cli needs sock enabled" if disabled("sock"); plan skip_all => "test_tfo_cli needs tls < 1.3 enabled" if disabled("tls1") && disabled("tls1_1") && disabled("tls...
Tools: Auto-detect IDF_PATH in export.fish, fix setting environmental variables Edited GitHub user's change to keep the echo message consistent with other export scripts Fixed working with environmental variables in fish. pull request sha:
@@ -7,8 +7,8 @@ end function __main if not set -q IDF_PATH - set -x IDF_PATH (cd (dirname (status -f)); and pwd) - echo "Chosen IDF_PATH: $IDF_PATH" + set -gx IDF_PATH (cd (dirname (status -f)); and pwd) + echo "Setting IDF_PATH to '$IDF_PATH'" end set script_dir (cd (dirname (status -f)); and pwd) @@ -36,8 +36,8 @@ fu...
Fix chip/sam4l_clockconfig.c:923:20: error: unused function 'sam_enable_fastwakeup'
@@ -920,6 +920,8 @@ static inline void sam_setdividers(void) * ****************************************************************************/ +#if BOARD_CPU_FREQUENCY > FLASH_MAXFREQ_PS1_HSDIS_FWS0 && \ + BOARD_CPU_FREQUENCY <= FLASH_MAXFREQ_PS1_HSDIS_FWS1 static inline void sam_enable_fastwakeup(void) { uint32_t regval...
docs: update libssh2_hostkey_hash.3 [ci skip]
@@ -11,12 +11,12 @@ libssh2_hostkey_hash(LIBSSH2_SESSION *session, int hash_type); \fIsession\fP - Session instance as returned by .BR libssh2_session_init_ex(3) -\fIhash_type\fP - One of: \fBLIBSSH2_HOSTKEY_HASH_MD5\fP or -\fBLIBSSH2_HOSTKEY_HASH_SHA1\fP. +\fIhash_type\fP - One of: \fBLIBSSH2_HOSTKEY_HASH_MD5\fP, +\fB...
Fix counting_start_element_handler() to use XML_Char correctly
@@ -3031,14 +3031,14 @@ END_TEST /* Test attribute counts, indexing, etc */ typedef struct attrInfo { - const char *name; - const char *value; + const XML_Char *name; + const XML_Char *value; } AttrInfo; typedef struct elementInfo { - const char *name; + const XML_Char *name; int attr_count; - const char *id_name; + co...
Pack: Fixed predefined Cclass and Cgroup documentation. [Issue
@@ -928,7 +928,7 @@ The table lists predefined Component Classes. <td>Components providing interfaces for Evaluation and Development Boards</td> <tr> <td class="XML-Token">CMSIS</td> - <td>Components defined by Cortex Microcontroller Software Interface Standard (e.g. <a class=el href="../../Core/html/index.html">CMSIS-...
Run gs pagecount in sandbox enabled mode.
@@ -47,7 +47,7 @@ int pdf_count_pages(const char *filename) size_t bytes; char *p; - snprintf(gscommand, CMDLINE_MAX, "%s -dNODISPLAY -q -c " + snprintf(gscommand, CMDLINE_MAX, "%s -dNODISPLAY -dSAFER -dNOPAUSE -q -c " "'/pdffile (%s) (r) file runpdfbegin (PageCount: ) print " "pdfpagecount = quit'", gspath, filename);...
fix align5 test
@@ -138,7 +138,11 @@ int main(void) { result = ok; }; CHECK_BODY("malloc-aligned5") { - void* p = mi_malloc_aligned(4097,4096); size_t usable = mi_usable_size(p); result = usable >= 4097 && usable < 10000; mi_free(p); + void* p = mi_malloc_aligned(4097,4096); + size_t usable = mi_usable_size(p); + result = (usable >= 4...
No lock accounting for semaphores Semaphores were using lockcnt & flags fields as if they were mutexes. Removed that dependency so semaphores can be signaled from another task.
@@ -99,9 +99,6 @@ os_sem_release(struct os_sem *sem) if (rdy) { /* Clear flag that we are waiting on the semaphore; wake up task */ rdy->t_flags &= ~OS_TASK_FLAG_SEM_WAIT; - /* Could do this after being woken up in os_sem_pend() */ - rdy->t_lockcnt++; - rdy->t_flags |= OS_TASK_FLAG_LOCK_HELD; os_sched_wakeup(rdy); /* S...
spi: check for busy flag
@@ -316,12 +316,12 @@ static uint8_t spi_transfer(spi_ports_t port, uint8_t *data, uint32_t size) { LL_SPI_Enable(PORT.channel); for (uint32_t i = 0; i < size; i++) { - while (!LL_SPI_IsActiveFlag_TXE(PORT.channel)) + while (LL_SPI_IsActiveFlag_BSY(PORT.channel) || !LL_SPI_IsActiveFlag_TXE(PORT.channel)) ; LL_SPI_Trans...
Doc: document table persistence display in \dt+. Forgotten in commit
@@ -1361,14 +1361,16 @@ testdb=&gt; In this group of commands, the letters <literal>E</literal>, <literal>i</literal>, <literal>m</literal>, <literal>s</literal>, <literal>t</literal>, and <literal>v</literal> - stand for foreign table, index, materialized view, sequence, table, and view, + stand for foreign table, ind...
VERSION bump version to 0.11.32
@@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 11) -set(LIBNETCONF2_MICRO_VERSION 31) +set(LIBNETCONF2_MICRO_VERSION 32) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
lucid: Add CONFIG_HOSTCMD_ALIGNED Add CONFIG_HOSTCMD_ALIGNED for flash savings. TEST=Build with subsequent commit that increases flash usage slightly. BRANCH=None Commit-Ready: Shawn N Tested-by: Shawn N
#define CONFIG_EXTPOWER_GPIO #define CONFIG_FORCE_CONSOLE_RESUME #define CONFIG_HIBERNATE_WAKEUP_PINS (STM32_PWR_CSR_EWUP2) +#define CONFIG_HOSTCMD_ALIGNED #define CONFIG_HW_CRC #define CONFIG_I2C #define CONFIG_I2C_MASTER
OcBootManagementLib: Fix NULL pointer dereference
@@ -863,6 +863,10 @@ OcSetDefaultBootEntry ( NULL ); + if (BootOptionDevicePath == NULL) { + continue; + } + BootOptionRemainingDevicePath = BootOptionDevicePath; Status = gBS->LocateDevicePath ( &gEfiSimpleFileSystemProtocolGuid,
Reorder initialization; magics then configs
@@ -220,9 +220,9 @@ struct survive_config_packet { double start_time; enum { + SURVIVE_CONFIG_STATE_MAGICS, SURVIVE_CONFIG_STATE_CONFIG, SURVIVE_CONFIG_STATE_VERSION, - SURVIVE_CONFIG_STATE_MAGICS, SURVIVE_CONFIG_STATE_DONE } state; uint16_t stall_counter; @@ -361,6 +361,11 @@ void handle_config_tx(struct libusb_transf...
Fixing a random failure on MPI_Type_free for unit test test_rearr (ios.compproc is not initialized in test_define_iodesc_datatypes).
@@ -494,6 +494,7 @@ int test_define_iodesc_datatypes() /* Set up test for IO task with BOX rearranger to create one type. */ ios.ioproc = 1; /* this is IO proc. */ + ios.compproc = 1; ios.num_iotasks = 4; /* The number of IO tasks. */ iodesc.rtype = NULL; /* Array of MPI types will be created here. */ iodesc.nrecvs = 1...
core: fix fallthrough
@@ -552,8 +552,8 @@ static int elektraGetCheckUpdateNeeded (Split * split, Key * parentKey, KeySet * case ELEKTRA_PLUGIN_STATUS_CACHE_HIT: // Keys in cache are up-to-date ++cacheHits; - // fallthrough: set sync flag, needed in case of cache miss - ELEKTRA_FALLTHROUGH; + // set sync flag, needed in case of cache miss + ...
TypesTest: remove redundant constraint
@@ -141,7 +141,7 @@ roundtrip x = Lua.run $ do -- | More involved check that the Peekable and Pushable instances of a -- datatype work -prop_stackPushingPulling :: (Show t, Eq t, Pushable t, Peekable t) => t -> Property +prop_stackPushingPulling :: (Eq t, Pushable t, Peekable t) => t -> Property prop_stackPushingPullin...
Fixed misc/get_source.sh OHPC_macros open error This patch fixed misc/get_source.sh "error: Unable to open ../SOURCES/OHPC_macros: No such file or directory" by updating '_sourcedir' rpm macros, and also updated 'rhel' for OHPC 2.0.
@@ -21,7 +21,7 @@ for i in `find . -name "${PATTERN}"`; do pushd `dirname ${i}` > /dev/null BASE=`basename ${i}` - SOURCES=`rpmspec --parse --define '_sourcedir ../SOURCES' --define 'rhel 7' ${BASE} | grep Source` + SOURCES=`rpmspec --parse --define '_sourcedir ../../..' --define 'rhel 8' ${BASE} | grep Source` for u i...
Validate parser parameter to XML_GetCurrentByteCount
@@ -2034,6 +2034,8 @@ XML_GetCurrentByteIndex(XML_Parser parser) int XMLCALL XML_GetCurrentByteCount(XML_Parser parser) { + if (parser == NULL) + return 0; if (eventEndPtr && eventPtr) return (int)(eventEndPtr - eventPtr); return 0;
disables http2
@@ -1317,7 +1317,7 @@ _http_init_tls(uv_buf_t key_u, uv_buf_t cer_u) "RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS"); // enable ALPN for HTTP 2 support -#if H2O_USE_ALPN +#if 0 //H2O_USE_ALPN { SSL_CTX_set_ecdh_auto(tls_u, 1); h2o_ssl_register_alpn_protocols(tls_u, h2o_http2_alpn_protocols);
os/compression/compress_read.c: Remove caching of one additional block One extra block was being unnecessarily cached every time.
@@ -95,7 +95,7 @@ static void compress_blocks_to_read(int *first_block, int *last_block, int *no_b blocksize = compression_header->blocksize; *first_block = offset / blocksize; - *last_block = (offset + readsize) / blocksize; + *last_block = (offset + readsize - 1) / blocksize; *no_blocks = *last_block - *first_block +...
Use nproc in install_prlimit.sh Cleaner than grepping /proc/cpuinfo output
set -e +usage() { + echo "install_prlimit.sh download_dir install_dir" + exit 1 +} + +if [ "$#" -ne "2" ]; then + usage +fi + BUILD_DIR=$1 INSTALL_DIR=$2 +NUM_CORES=`nproc` cd $BUILD_DIR wget https://www.kernel.org/pub/linux/utils/util-linux/v2.25/util-linux-2.25.2.tar.gz @@ -38,6 +48,6 @@ cd util-linux-2.25.2 --withou...
wording in changelog
@@ -20,7 +20,7 @@ Assets are available via Docker and the Cribl CDN at the links below. AppScope 1.0.3 improves the quality of results when scoping Go executables: -- [#738](https://github.com/criblio/appscope/issues/738) When scoping Go executables, AppScope no longer fails to collect certain events. This was accompli...
parallel-libs/boost: remove override of MPICXX in favor of patch supplied by Aaron which touches the intel-linux toolset directly
@@ -131,10 +131,6 @@ export MPIFC=mpifc export MPICXX=mpicxx %endif -%if "%{compiler_family}" == "intel" -export MPICXX="$MPICXX -std=c++11" -%endif - export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations" export RPM_LD_FLAGS
json FORMAT split large macro into code
@@ -491,11 +491,11 @@ lyjson_object_name(struct lyjson_ctx *jsonctx) LY_CHECK_RET(lyjson_string_(jsonctx)); LY_CHECK_RET(skip_ws(jsonctx)); - LY_CHECK_ERR_RET( - *jsonctx->in->current != ':', + if (*jsonctx->in->current != ':') { LOGVAL(jsonctx->ctx, LY_VLOG_LINE, &jsonctx->line, LY_VCODE_INSTREXP, - LY_VCODE_INSTREXP_...
Don't attempt to install source-specific routes if not supported.
@@ -1017,6 +1017,12 @@ kernel_route(int operation, int table, ipv4 = v4mapped(gate); use_src = !is_default(src, src_plen); + if(use_src) { + if(ipv4 || !has_ipv6_subtrees) { + errno = ENOSYS; + return -1; + } + } kdebugf("kernel_route: %s %s from %s " "table %d metric %d dev %d nexthop %s\n",
io: tls: verbose error message on cert parsing error
@@ -118,6 +118,7 @@ struct flb_tls_context *flb_tls_context_new(int verify, ret = mbedtls_x509_crt_parse_path(&ctx->ca_cert, ca_path); if (ret < 0) { io_tls_error(ret); + flb_error("[TLS] error reading certificates from /etc/ssl/certs/"); goto error; } }
Define option byte properties for F1xx_XLD
@@ -9,6 +9,6 @@ flash_pagesize 0x800 // 2 KB sram_size 0x18000 // 96 KB bootrom_base 0x1fffe000 bootrom_size 0x1800 // 6 KB -option_base 0x0 -option_size 0x0 +option_base 0x1ffff800 // STM32_F0_OPTION_BYTES_BASE +option_size 0x10 // 16 B flags swo
hw/ocmb: Fix log message Fix log message and convert perror to prlog. Also reduce message severity as its informational message, not error.
@@ -150,11 +150,10 @@ static bool ocmb_probe_one(struct dt_node *ocmb_node) } if (scom_register(&ocmb->scom)) - prerror("error registienr fake socm\n"); + prerror("Error registering fake scom\n"); dt_add_property(ocmb_node, "scom-controller", NULL, 0); - - prerror("XXX: Added scom controller for %s\n", ocmb_node->name)...
include/ipmi: Fix incorrect chassis commands These commands are listed in the order they appear in the IPMI specification but with the wrong values - correct them!
#define IPMI_CHASSIS_CONTROL_CMD 0x02 #define IPMI_CHASSIS_RESET_CMD 0x03 #define IPMI_CHASSIS_IDENTIFY_CMD 0x04 -#define IPMI_CHASSIS_SET_PANEL_BUTTON_EN_CMD 0x05 -#define IPMI_CHASSIS_SET_CAP_CMD 0x06 -#define IPMI_CHASSIS_SET_PWR_RESTORE_CMD 0x07 -#define IPMI_CHASSIS_SET_PWR_CYCLE_CMD 0x08 -#define IPMI_CHASSIS_GET...
Expose LIFESPAN_DEFAULT.
@@ -551,6 +551,9 @@ int mapstrings_transconst(ScriptVariant **varlist, int paramCount) ICMPCONST(EXPLODE_PREPARED) ICMPCONST(EXPLODE_DETONATE) + // Starting entity lifespan. + ICMPCONST(LIFESPAN_DEFAULT) + // Platform props. ICMPCONST(PLATFORM_X) ICMPCONST(PLATFORM_Z)
nimble/gap: Solving bug in accessing ble_svc_gap_appearance
@@ -161,7 +161,7 @@ ble_svc_gap_appearance_write_access(struct ble_gatt_access_ctxt *ctxt) return BLE_ATT_ERR_INVALID_ATTR_VALUE_LEN; } - rc = ble_hs_mbuf_to_flat(ctxt->om, ble_svc_gap_appearance, om_len, NULL); + rc = ble_hs_mbuf_to_flat(ctxt->om, &ble_svc_gap_appearance, om_len, NULL); if (rc != 0) { return BLE_ATT_E...
fix resize hover desktop
@@ -1875,8 +1875,17 @@ motionnotify(XEvent *e) // leave small deactivator zone if (ev->y_root >= bh - 3) { - // hover near floating sel + // hover near floating sel, don't do it if desktop is covered if (selmon->sel && selmon->sel->isfloating) { + Client *c; + int tilefound = 0; + for(c = m->clients; c; c = c->next) { ...
Also support hexcodes in lovr.graphics.clear;
@@ -676,6 +676,12 @@ static int l_lovrGraphicsClear(lua_State* L) { float depth = 1.f; int stencil = 0; + if (top == 1) { + luax_readcolor(L, index, &color); + lovrGraphicsClear(&color, NULL, NULL); + return 0; + } + if (top >= index) { if (lua_type(L, index) == LUA_TNUMBER) { color.r = luax_checkfloat(L, index++);
fatfsgen.py: add description of the parameter PRESERVE_TIME
@@ -123,6 +123,9 @@ The arguments of the function are as follows: 3. flag ``FLASH_IN_PROJECT`` - optionally, users can have the image automatically flashed together with the app binaries, partition tables, etc. on ``idf.py flash -p <PORT>`` by specifying ``FLASH_IN_PROJECT``. +4. flag ``PRESERVE_TIME`` - optionally, us...
Fix header index
if (request.getUserPrincipal().getName() != null) { %> <li class="dropdown"> - <button class="btn btn-default dropdown-toggle" type="button" aria-haspopup="true" aria-expanded="false"> - <a href="/Datafari/admin/?lang=en" target="blank" id="adminConsoleLink">Main </a> - <!-- <span class="caret"></span> --> - </button> ...
Support for Xiaomi door/window sensor (untested)
@@ -86,6 +86,7 @@ static const SupportedDevice supportedDevices[] = { { VENDOR_JENNIC, "lumi.sensor_ht" }, { VENDOR_JENNIC, "lumi.sens" }, { VENDOR_JENNIC, "lumi.weather" }, + { VENDOR_JENNIC, "lumi.sensor_magnet" }, { 0, 0 } }; @@ -2199,6 +2200,15 @@ void DeRestPluginPrivate::addSensorNode(const deCONZ::Node *node) } ...
[dbus] Raise TRAP if wrong primitive type but allow to continue
#include <vector> #include <spdlog/spdlog.h> +#include <signal.h> #include "loaders/loader_dbus.h" @@ -140,10 +141,9 @@ auto DBusMessageIter_wrap::get_primitive() -> T { SPDLOG_ERROR("Type mismatch: '{}' vs '{}'", ((char)requested_type), (char)type()); #ifndef NDEBUG - exit(-1); -#else - return T(); + raise(SIGTRAP); #...
fcrypt: try manual copy if rename () fails rename () accross file systems is not supported and causes failures. If rename () fails, fcrypt tries to perform a manual copy. See for full discussion.
@@ -220,8 +220,12 @@ static size_t getRecipientCount (KeySet * config, const char * keyName) static int fcryptGpgCallAndCleanup (Key * parentKey, KeySet * pluginConfig, char ** argv, int argc, int tmpFileFd, char * tmpFile) { + ssize_t readCount; + ssize_t writeCount; + kdb_octet_t buffer[512]; int parentKeyFd = -1; in...
Changelog: Document previous commit
@@ -12,6 +12,7 @@ OpenCore Changelog - Added `ForgeUefiSupport` quirk to workaround legacy EFI 1.x firmwares compatibility - Added `ReloadOptionRoms` quirk to force-load Option ROMs on PCI devices - Added `OC_ATTR_USE_MINIMAL_UI` to allow running pickers with no Shutdown and Restart buttons +- Added display of OpenCore...
doc: prettify OPAL_CHECK_TOKEN
+.. _OPAL_CHECK_TOKEN: + OPAL_CHECK_TOKEN ================ +.. code-block:: c + + #define OPAL_CHECK_TOKEN 80 + + int64_t opal_check_token(uint64_t token); + This OPAL call allows the host OS to determine if a particular OPAL call is present on a system. This allows for simple compatibility between OPAL versions and di...
flash_ec: remove board-to-mec1322 conversion logic Servod already knows ec_chip of chell, glados and strago is 'mec1322'. CQ-DEPEND=CL:1493037 BRANCH=none TEST=none
@@ -143,12 +143,6 @@ BOARDS_NRF51=( hadoken ) -BOARDS_MEC1322=( - chell - glados - strago -) - BOARDS_SPI_1800MV=( coral reef @@ -314,10 +308,6 @@ if $(in_array "${BOARDS_NRF51[@]}" "${BOARD}"); then SUPPORTED_CHIPS+=("nrf51") fi -if $(in_array "${BOARDS_MEC1322[@]}" "${BOARD}"); then - SUPPORTED_CHIPS+=("mec1322") -fi...
Change "deeds" to "ships" in filename
%+ parse-lines 'direct-galaxies' (ship-and-rights |) :: -++ get-direct-deeds +++ get-direct-ships ^- (list [who=ship rights]) - %+ parse-lines 'direct-deeds' + %+ parse-lines 'direct-ships' (ship-and-rights |) :: ++ get-linear-recipients ::NOTE we do these first so that we are sure we have sane files, :: without waitin...
Fix sending lots of probe packets
@@ -2955,6 +2955,14 @@ static ngtcp2_ssize conn_write_pkt(ngtcp2_conn *conn, uint8_t *dest, conn->flags &= (uint16_t)~NGTCP2_CONN_FLAG_PPE_PENDING; + if (pktns->rtb.probe_pkt_left && + (rtb_entry_flags & NGTCP2_RTB_FLAG_ACK_ELICITING)) { + --pktns->rtb.probe_pkt_left; + + ngtcp2_log_info(&conn->log, NGTCP2_LOG_EVENT_CO...
Add VS2017 release Appveyor build
@@ -4,11 +4,23 @@ branches: environment: matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + BUILD_SYSTEM: CMake + GENERATOR: Visual Studio 15 2017 Win64 + CONFIG: Release + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + BUILD_SYSTEM: CMake + GENERATOR: Visual Studio 15 2017 Win64 + CONFIG: Debug + - B...
make/import: lost ARCHCPUFLAGS in cxx command line
@@ -58,7 +58,7 @@ ARCHCXXFLAGS += -fno-common -pipe CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS) -CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRADE...
pybricks/pupdevices/ColorDistanceSensor: drop use of pbio_color_t This was really just used as a bool, so just use a bool.
@@ -24,7 +24,7 @@ typedef struct _pupdevices_PFMotor_obj_t { mp_obj_base_t base; pb_device_t *pbdev; uint8_t channel; - pbio_color_t color; + bool use_blue_port; pbio_direction_t direction; } pupdevices_PFMotor_obj_t; @@ -46,10 +46,11 @@ STATIC mp_obj_t pupdevices_PFMotor_make_new(const mp_obj_type_t *type, size_t n_ }...
Fix Electrical Measurement cluster readings No need to filter attributes per device, if attributes aren't available they won't be read a second time, as this is checked later on. Fixes Blitzwolf BW-SHP13 ZHAPower sensor updates. Issue:
@@ -408,25 +408,11 @@ void PollManager::pollTimerFired() } else if (suffix == RStatePower) { - bool NotOnlyPower = true; clusterId = ELECTRICAL_MEASUREMENT_CLUSTER_ID; attributes.push_back(0x050b); // Active Power - item = r->item(RAttrModelId); - if (item && !item->toString().startsWith(QLatin1String("Plug"))) //Osram...
test: fix test ordering in threads test Fixes
static int do_fips = 0; static char *privkey; static char *config_file = NULL; +static int multidefault_run = 0; static int test_lock(void) { @@ -477,26 +478,19 @@ static void test_multi_load_worker(void) (void)TEST_true(OSSL_PROVIDER_unload(prov)); } -static int test_multi_load(void) -{ - thread_t threads[MULTI_LOAD_T...
Update link to invariants
@@ -13,7 +13,7 @@ Generally, for any existing TCP based deployments that are adding QUIC support, - Current QUIC based protocols primarily use port 443 on the server, but not necessarily exclusively. - HTTP and SMB use this port, but other protocols (e.g. DNS over QUIC) likely will not. - QUIC is versioned and extensib...
py/emitnative: Change type of const_table from uintptr_t to mp_uint_t. This matches how bytecode does it, and matches the signature of mp_emit_glue_assign_native. Since the native emitter doesn't support nan-boxing uintptr_t and mp_uint_t are anyway the same bit-width.
@@ -209,7 +209,7 @@ struct _emit_t { uint16_t const_table_cur_obj; uint16_t const_table_num_obj; uint16_t const_table_cur_raw_code; - uintptr_t *const_table; + mp_uint_t *const_table; bool last_emit_was_return_value; @@ -529,7 +529,7 @@ STATIC void emit_native_end_pass(emit_t *emit) { // Add room for qstr names of argu...
Changelog note for Merge Update mini_event.c.
- And 1.13.2rc1 became the 1.13.2 with the fix for the python module build. The current code repository continues with version 1.13.3. - Add test tool readzone to .gitignore. + - Merge #521: Update mini_event.c. 5 August 2021: Wouter - Tag for 1.13.2rc1 release.
eqrls/autotest: leaving bandwidth alone for stability
@@ -95,7 +95,6 @@ void autotest_eqrls_rrrf_copy() for (i=0; i<9; i++) h[i] = randnf(); eqrls_rrrf q0 = eqrls_rrrf_create(h, 9); - eqrls_rrrf_set_bw(q0, 0.1f); eqrls_rrrf_print(q0); // run random samples through object
core: make object cache LIFO was originally LIFO and I broke that when switching to the queue.h code. This is friendlier for cache.
@@ -133,7 +133,7 @@ void do_cache_free(cache_t *cache, void *ptr) { free(ptr); cache->total--; } else { - STAILQ_INSERT_TAIL(&cache->head, (struct cache_free_s *)ptr, c_next); + STAILQ_INSERT_HEAD(&cache->head, (struct cache_free_s *)ptr, c_next); cache->freecurr++; } }
Remove redundant length checking
@@ -74,13 +74,6 @@ uint16_t ipv4_upperlayer_chksum(FAR struct net_driver_s *dev, uint8_t proto) upperlen = (((uint16_t)(ipv4->len[0]) << 8) + ipv4->len[1]) - iphdrlen; - /* Verify some minimal assumptions */ - - if (upperlen > NETDEV_PKTSIZE(dev)) - { - return 0; - } - /* First sum pseudo-header. * * IP protocol and le...
Update appveryor config
-# Build image. -image: Visual Studio 2017 - # Version format. -version: "3.0.{build}" +version: "3.1.{build}" # Only build the master branch. branches: @@ -17,6 +14,8 @@ pull_requests: skip_tags: true # Set the clone directory on the buildbot. +clone_depth: 1 +shallow_clone: true clone_folder: C:\projects\processhacke...