message
stringlengths
6
474
diff
stringlengths
8
5.22k
record CELIX_START_USERERR deprecated
@@ -122,6 +122,7 @@ const char* celix_strerror(celix_status_t status); /*! * The start error number user application can use. + * \deprecated It is recommended to use CELIX_CUSTOMER_ERR_MASK to define user error number */ #define CELIX_START_USERERR (CELIX_START_ERROR + CELIX_ERRSPACE_SIZE)
Bugfix apostrophes in URL by julienFL
<%-- Prevent the creation of a session --%> <%@ page session="false"%> <%@ page contentType="text/html;charset=utf-8"%> -<%@page import="java.net.URLEncoder"%> <% %> <head> <title>Redirect</title> -<meta http-equiv="refresh" content="0;URL='<%= request.getParameter("url") %>'"> +<meta http-equiv="refresh" content="0;UR...
Fine-tune 16x16 AVX2 iDCT
@@ -719,18 +719,18 @@ static void partial_butterfly_inverse_16_avx2(const int16_t *src, int16_t *dst, 8, 9, 10, 11, 12, 13, 14, 15, 6, 7, 4, 5, 2, 3, 0, 1, 14, 15, 12, 13, 10, 11, 8, 9); - - // TODO: this seems stoopid, fix 16x16 tp? :D - for (uint32_t i = 0; i < width; i++) { - __m256i v = _mm256_load_si256((const __m...
enable staticcheck in yolint
@@ -3,13 +3,13 @@ RESOURCES_LIBRARY() IF (HOST_OS_LINUX) - DECLARE_EXTERNAL_RESOURCE(YOLINT sbr:1172025912) + DECLARE_EXTERNAL_RESOURCE(YOLINT sbr:1194462998) DECLARE_EXTERNAL_RESOURCE(YOLINT_NEXT sbr:1194462998) ELSEIF (HOST_OS_DARWIN) - DECLARE_EXTERNAL_RESOURCE(YOLINT sbr:1172029928) + DECLARE_EXTERNAL_RESOURCE(YOLI...
Check for the presence of _WIN32 rather than its value.
@@ -287,10 +287,10 @@ static int ends_with_dirsep(const char *path) { if (*path != '\0') path += strlen(path) - 1; -# ifdef __VMS +# if defined __VMS if (*path == ']' || *path == '>' || *path == ':') return 1; -# elif _WIN32 +# elif defined _WIN32 if (*path == '\\') return 1; # endif
Documentation fix. Fixes
@@ -53,8 +53,8 @@ namespace carto { void setId(long long id); /** - * Returns a modifiable meta data map. Users may add their data as key-value pairs. - * @return The modifiable meta data map of this vector element. + * Returns a copy of the meta data map. The changes you make to this map are NOT reflected in the actua...
Fix copyright/license notice in halfExport.h
-#ifndef HALFEXPORT_H -#define HALFEXPORT_H - +/////////////////////////////////////////////////////////////////////////// +// +// Copyright (c) 2008, Industrial Light & Magic, a division of Lucas +// Digital Ltd. LLC +// +// All rights reserved. // -// Copyright (c) 2008 Lucasfilm Entertainment Company Ltd. -// All ri...
Swap two arguments to resolve bug **Related issue**: N/A **Type of change**: bug fix **Impact**: other **Release Notes** The string of path for "-ip-vivado-tcls" could be empty ("") For example, run "make SUB_PROJECT=arty bitstream" will get errors due the argument parsing in [prologue.tcl](https://github.com/sifive/fp...
@@ -118,8 +118,8 @@ $(BIT_FILE): $(synth_list_f) -tclargs \ -top-module "$(MODEL)" \ -F "$(synth_list_f)" \ - -ip-vivado-tcls "$(shell find '$(build_dir)' -name '*.vivado.tcl')" \ - -board "$(BOARD)" + -board "$(BOARD)" \ + -ip-vivado-tcls "$(shell find '$(build_dir)' -name '*.vivado.tcl')" .PHONY: bitstream bitstream:...
Note default value.
@@ -1325,6 +1325,7 @@ sped up, because there is no one waiting for it, and it presents a good moment to perform server exploration. The low\-rtt option can be used to specify which servers are picked for fast server selection, servers with a ping roundtrip time below that value are considered. +The default for low\-rtt...
VERSION bump to version 0.8.22
@@ -28,7 +28,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 8) -set(LIBNETCONF2_MICRO_VERSION 21) +set(LIBNETCONF2_MICRO_VERSION 22) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(LI...
mm: Let MM_SMALL and MM_REGIONS depend on MM_DEFAULT_MANAGER since these options are coupled with the default heap implementation
@@ -51,6 +51,7 @@ config MM_KERNEL_HEAPSIZE config MM_SMALL bool "Small memory model" default n + depends on MM_DEFAULT_MANAGER ---help--- Each memory allocation has a small allocation overhead. The size of that overhead is normally determined by the "width" of the
mactime: print error if feature not enabled Type: fix
@@ -554,6 +554,11 @@ show_mactime_command_fn (vlib_main_t * vm, vlib_counter_t allow, drop; ip_neighbor_t *ipn; + if (mm->feature_initialized == 0) + return clib_error_return + (0, + "Feature not initialized, suggest 'help mactime enable-disable'..."); + vec_reset_length (mm->arp_cache_copy); /* Walk all ip4 neighbours...
Log platform and board name at startup
@@ -98,6 +98,11 @@ main(void) node_id_init(); LOG_INFO("Starting " CONTIKI_VERSION_STRING "\n"); + LOG_DBG("TARGET=%s", CONTIKI_TARGET_STRING); +#ifdef CONTIKI_BOARD_STRING + LOG_DBG_(", BOARD=%s", CONTIKI_BOARD_STRING); +#endif + LOG_DBG_("\n"); LOG_INFO("- Routing: %s\n", NETSTACK_ROUTING.name); LOG_INFO("- Net: %s\n...
fix help for bootstrap-type
@@ -366,7 +366,7 @@ void ParseCommandLine(int argc, const char* argv[], parser .AddLongOption("bootstrap-type") .RequiredArgument("STRING") - .Help("Could be changed for GPU only. Bootstrap type. Change default way of sampling documents weights. One of" + .Help("Bootstrap type. Change default way of sampling documents ...
doc: specify component versions used by Kata-on-ACRN tutorial This commit calls out specific configurations used for the validation.
@@ -20,9 +20,13 @@ Prerequisites #. For a default prebuilt ACRN binary in the E2E package, you must have 4 CPU cores or enable "CPU Hyper-Threading" in order to have 4 CPU threads for 2 CPU cores. #. Follow :ref:`these instructions <Ubuntu Service OS>` to set up the ACRN Service VM - based on Ubuntu. Please note that o...
cache results of shouldUseColors()
#include "premake.h" +#if PLATFORM_WINDOWS +#include <io.h> +#endif + #if PLATFORM_POSIX static int s_currentColor = -1; #endif +int canUseColors() +{ #if PLATFORM_WINDOWS -int canUseColors() { - return 1; -} + return _isatty(_fileno(stdout)); #else -int canUseColors() { return isatty(1); -} #endif +} -static const cha...
host/ble_att_srv: fix ble_att_svr_check_perms for SC Only mode If security is not good enough, return BLE_ATT_ERR_INSUFFICIENT_AUTHEN. If security is enabled, but key is to short, return BLE_ATT_ERR_INSUFFICIENT_KEY_SZ
@@ -289,12 +289,18 @@ ble_att_svr_check_perms(uint16_t conn_handle, int is_read, * require it on level 4 */ if (MYNEWT_VAL(BLE_SM_SC_ONLY)) { - if (sec_state.key_size != 16 || - !sec_state.authenticated || + if (!sec_state.authenticated || !sec_state.encrypted) { - return BLE_ATT_ERR_INSUFFICIENT_KEY_SZ; + *out_att_err...
remove MADV_FREE_REUSABLE from mi_os_reset as it needs MADV_FREE_REUSE to reuse the memory again.
@@ -796,9 +796,9 @@ static bool mi_os_commitx(void* addr, size_t size, bool commit, bool conservativ // for commit, just change the protection err = mprotect(start, csize, (PROT_READ | PROT_WRITE)); if (err != 0) { err = errno; } - #if defined(MADV_FREE_REUSE) - while ((err = madvise(start, csize, MADV_FREE_REUSE)) != ...
Re-enable async display writes
@@ -30,10 +30,11 @@ CLR_UINT8 spiBuffer2[SPI_MAX_TRANSFER_SIZE]; CLR_UINT8 spiCommandMode = 0; // 0 Command first byte, 1 = Command all bytes // State variables for writes -CLR_UINT16 *currentBuffer = (CLR_UINT16 *)spiBuffer; -CLR_UINT16 *bufferPtr = currentBuffer; -CLR_UINT32 bufferWritten = 0; +CLR_UINT16 *currentBuf...
Fixed lines that were being cut-off
@@ -167,30 +167,35 @@ double (* your_pz_func)(double photo_z, double spec_z, void *param); ```` which returns the probability of measuring a particular photometric redshift, given a spectroscopic redshift and other relevant parameters. Then you call function **ccl_specs_create_photoz_info** ````c -user_pz_info* ccl_spe...
crypto: fix coverity issue 218445 Fixes coverity issue CID 218445 of 1): Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement: return 4294967295U;. Type: fix
@@ -429,9 +429,6 @@ vnet_crypto_key_add_linked (vlib_main_t * vm, key_crypto = pool_elt_at_index (cm->keys, index_crypto); key_integ = pool_elt_at_index (cm->keys, index_integ); - if (!key_crypto || !key_integ) - return ~0; - linked_alg = vnet_crypto_link_algs (key_crypto->alg, key_integ->alg); if (linked_alg == ~0) re...
mark 250x and 1680x as deprecated
@@ -8,9 +8,9 @@ and recommended by hashcat. This branch is pretty closely synced to hashcat git (that means: latest hcxtools matching on latest hashcat beta) and John the Ripper git branch ("bleeding-jumbo"). -Support for hashcat hash-modes: 2500, 2501, 4800, 5500, 12000, 16100, 16800, 16801, 22000, 22001 +Support for ...
Fix crash in early data send with out-of-band PSK using AES CCM
@@ -436,11 +436,18 @@ static int derive_secret_key_and_iv(SSL *s, int sending, const EVP_MD *md, uint32_t algenc; ivlen = EVP_CCM_TLS_IV_LEN; - if (s->s3.tmp.new_cipher == NULL) { + if (s->s3.tmp.new_cipher != NULL) { + algenc = s->s3.tmp.new_cipher->algorithm_enc; + } else if (s->session->cipher != NULL) { /* We've no...
Memory leak in read GRIB (unsupported edition)
@@ -399,6 +399,7 @@ static int read_GRIB(reader* r) default: r->seek_from_start(r->read_data, r->offset + 4); + grib_buffer_delete(c, buf); return GRIB_UNSUPPORTED_EDITION; break; }
dev-tools/mpi4py: bump to v3.0.1
%define pname mpi4py Name: %{python_prefix}-%{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Version: 3.0.0 +Version: 3.0.1 Release: 1%{?dist} Summary: Python bindings for the Message Passing Interface (MPI) standard. License: BSD-3-Clause
reconstruction as output name
@@ -808,9 +808,10 @@ static nn_t reconet_create(const struct reconet_s* config, int N, const long max for (int i = 0; i < Nb; i++) sense_model_free(models[i]); - result = reconet_sort_args(result); + network = nn_set_output_name_F(result, 0 , "reconstruction"); + network = reconet_sort_args(network); - return result; +...
Header inclusion should be within double quotes
@@ -2159,7 +2159,7 @@ wstring generateClangCompileStatements(const vector<shared_ptr<NameSpace>>& name for (auto& ns : namespaces) { headers += LR"~( <PackageHeader Include="$(MSBuildProjectDirectory)\..\..\)~" + g_srcDirectory; headers += filenameFromNamespace(ns->Name); - headers += LR"~(.h> /> + headers += LR"~(.h" ...
systemv/lpadmin.c: Don't generate deprecation warning for driverless:
@@ -625,7 +625,7 @@ main(int argc, /* I - Number of command-line arguments */ return (1); #endif /* __APPLE__ */ } - else if ((ppd_name && strcmp(ppd_name, "everywhere")) || file) + else if ((ppd_name && strcmp(ppd_name, "everywhere") && strncmp(ppd_name, "driverless:", 11)) || file) { _cupsLangPuts(stderr, _("lpadmin:...
added new option -N (output stripped file (only one record each mac_ap, mac_sta, essid, message_pair combination)
@@ -117,7 +117,10 @@ if(memcmp(ia->essid, ib->essid, 32) > 0) return 1; else if(memcmp(ia->essid, ib->essid, 6) < 0) return -1; - +if(ia->message_pair > ib->message_pair) + return 1; +if(ia->message_pair < ib->message_pair) + return -1; return 0; } /*=====================================================================...
vlib: fix format_error_trace Error index calculation is error_code + error_node->error_heap_index. Type: fix Fixes: gerrit 20802
@@ -91,7 +91,8 @@ format_error_trace (u8 * s, va_list * va) u32 i; error_node = vlib_get_node (vm, vlib_error_get_node (&vm->node_main, e[0])); - i = counter_index (vm, vlib_error_get_code (&vm->node_main, e[0])); + i = counter_index (vm, vlib_error_get_code (&vm->node_main, e[0])) + + error_node->error_heap_index; s =...
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
@@ -867,8 +867,12 @@ int esp_http_client_read(esp_http_client_handle_t client, char *buffer, int len) } ESP_LOG_LEVEL(sev, TAG, "esp_transport_read returned:%d and errno:%d ", rlen, errno); } + if (rlen < 0 && ridx == 0) { + return ESP_FAIL; + } else { return ridx; } + } res_buffer->output_ptr = buffer + ridx; http_par...
M487 Eth test support device-tester
<v6Rtti>0</v6Rtti> <VariousControls> <MiscControls>--diag_suppress=550,177,C4017,111,2770,223</MiscControls> - <Define>MBEDTLS_USER_CONFIG_FILE=\"mbedtls_user_config.h\" RVDS_ARMCM4_NUC4xx __LITTLE_ENDIAN__ AMAZON_FREERTOS_ENABLE_UNIT_TESTS M487</Define> + <Define>MBEDTLS_USER_CONFIG_FILE=\"mbedtls_user_config.h\" UNIT...
Update package list for Ubuntu;
@@ -86,7 +86,7 @@ pacman -S assimp glfw-x11 luajit physfs freetype2 openal ode #### Debian/Ubuntu ```sh -sudo apt-get install build-essential cmake libassimp-dev libglfw-dev libphysfs-dev libfreetype6-dev libopenal-dev libode-dev luajit +sudo apt-get install build-essential cmake libassimp-dev libglfw3-dev libluajit-5....
WindowExplorer: Update DelayLoadDLLs
</ImportGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <Link> - <DelayLoadDLLs>comctl32.dll;gdi32.dll;ole32.dll;SystemInformer.exe;propsys.dll;shell32.dll;user32.dll;%(DelayLoadDLLs)</DelayLoadDLLs> + <DelayLoadDLLs>comctl32.dll;gdi32.dll;ole32.dll;propsys.dll;shell32.dll;user32....
ipsec-mb: fix the "make test" on non-AESNI platforms "make test" fails with invalid instruction on non-AESNI platform, so do not register the ipsec-mb crypto backend in this case.
@@ -478,6 +478,9 @@ crypto_ipsecmb_init (vlib_main_t * vm) if ((error = vlib_call_init_function (vm, vnet_crypto_init))) return error; + if (!clib_cpu_supports_aes ()) + return 0; + /* * A priority that is better than OpenSSL but worse than VPP natvie */
pybricks/util_pb/pb_flash: Fix reading near end of flash. Fixes
@@ -174,8 +174,8 @@ static HAL_StatusTypeDef flash_write_enable(void) { static HAL_StatusTypeDef flash_send_address_command(uint8_t command, uint32_t address, bool keep_flash_enabled) { - // Can only read/write user partition - if (address > FLASH_SIZE_USER) { + // Can't read past end. + if (address > FLASH_SIZE_TOTAL)...
CI: add separate memcheck step for crypto, fcrypt and gpgme
@@ -1301,9 +1301,7 @@ def ctest(target = "Test") { We disable the tests: - `testmod_dbus`, - - `testmod_dbusrecv`, - - `testmod_fcrypt`, - - `testmod_gpgme`, and + - `testmod_dbusrecv`,and - `testmod_zeromqsend` , since they are known to fail in scenarios with high load. @@ -1314,6 +1312,15 @@ def ctest(target = "Test"...
OcAppleBootCompatLib: Update memory attributes before StartImage as well
@@ -447,6 +447,8 @@ OcStartImage ( BOOT_COMPAT_CONTEXT *BootCompat; OC_FWRT_CONFIG Config; UINTN DataSize; + EFI_PHYSICAL_ADDRESS Address; + UINTN Pages; BootCompat = GetBootCompatContext (); AppleLoadedImage = OcGetAppleBootLoadedImage (ImageHandle); @@ -462,6 +464,14 @@ OcStartImage ( gBS->CalculateCrc32 (gBS, gBS->H...
change overflow check to short
@@ -762,7 +762,7 @@ _song_x(u3_noun a, u3_noun b, void (*uni)(u3_noun*, u3_noun*)) c3_o nor_o = u3a_is_north(u3R); c3_ys mov = ( c3y == nor_o ? -wis_y : wis_y ); c3_ys off = ( c3y == nor_o ? 0 : -wis_y ); - c3_w ovr_w = 0; + c3_s ovr_s = 0; eqframe* fam = _eq_push(mov, off, a, b); eqframe* don = u3to(eqframe, empty + o...
[lwIP] the errno definition of rt_libc.h is used by default.
#define S32_F "ld" #define X32_F "lx" -#ifdef RT_USING_LIBC -#if defined(__CC_ARM) || defined(__CLANG_ARM) || defined(__IAR_SYSTEMS_ICC__) -#include <sys/errno.h> -#else -#include <errno.h> -/* some errno not defined in newlib */ -#define ENSRNOTFOUND 163 /* Domain name not found */ -/* WARNING: ESHUTDOWN also not defi...
enforce xSampling/ySampling==1 in CompositeDeepScanLine
@@ -238,6 +238,20 @@ CompositeDeepScanLine::setFrameBuffer(const FrameBuffer& fr) for(FrameBuffer::ConstIterator q=fr.begin();q!=fr.end();q++) { + + // + // Frame buffer must have xSampling and ySampling set to 1 + // (Sampling in FrameBuffers must match sampling in file, + // and Header::sanityCheck enforces sampling ...
Fix useless type conversion.
@@ -67,7 +67,7 @@ static void janet_mark_abstract(void *adata); /* Local state that is only temporary for gc */ static JANET_THREAD_LOCAL uint32_t depth = JANET_RECURSION_GUARD; -static JANET_THREAD_LOCAL uint32_t orig_rootcount; +static JANET_THREAD_LOCAL size_t orig_rootcount; /* Mark a value */ void janet_mark(Janet...
ci: use ruby/setup-ruby for both builds Currently macOS is using rvm as the previous `actions/setup-ruby` did not work there at the time were building this. This change should speed up and unify the versions we run for our tests.
@@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ '2.4.9', '2.5.7', '2.6.5', '2.7.0' ] + ruby: [ '2.6', '2.7', '3.0' ] os: [ macOS-latest ] runs-on: ${{ matrix.os }} @@ -24,10 +24,10 @@ jobs: - name: Install macOS packages run: ./vendor/libgit2/ci/setup-osx.sh - name: Set up Ruby on macOS - run: | - ...
fsutils/ipcfg: fix debugassert cppcheck reports the following error: fsutils/ipcfg/ipcfg_binary.c:332:15: error: Uninitialized variable: fd [uninitvar] DEBUGASSERT(fd >= 0 && ipv6cfg != NULL); Update the DEBUGASSERT() to match that of ipcfg_read_binary_ipv4(). fd is uninitilized and doesn't need to be checked here.
@@ -329,7 +329,7 @@ int ipcfg_read_binary_ipv6(FAR const char *path, int fd; int ret; - DEBUGASSERT(fd >= 0 && ipv6cfg != NULL); + DEBUGASSERT(path != NULL && ipv6cfg != NULL); /* Open the file for reading */
chat-cli: Add clarity
=. path =- (snoc `^path`- term) [%chat (target-to-path our-self path)] + :: whitelist: empty if no matching permission, else true if whitelist + :: =/ whitelist=(unit ?) - =- ?~(- ~ `?=(%white kind.u)) + =; perm=(unit permission) + ?~(perm ~ `?=(%white kind.u.perm)) ::TODO +permission-of-target? .^ (unit permission) %g...
Allow nme_bytes in nme_bitmap_data_set_uints8
@@ -4720,6 +4720,11 @@ void nme_bitmap_data_set_uints8(value inSurface, value inData, int inOffset, int { surf->setUInts8((data + inOffset), inStride, (PixelFormat)inPixelFormat, inExpand); } + else + { + ByteArray bytes(inData); + surf->setUInts8((bytes.Bytes() + inOffset), inStride, (PixelFormat)inPixelFormat, inExpa...
WIP paste actor dropdown read from clipboard
/* eslint-disable jsx-a11y/label-has-for */ import React, { Component } from "react"; +import { clipboard } from "electron"; import PropTypes from "prop-types"; import { connect } from "react-redux"; import * as actions from "../../actions"; @@ -19,6 +20,13 @@ import { SceneIcon } from "../library/Icons"; import { Acto...
Copy querywise targets correctly
@@ -44,12 +44,14 @@ namespace NCatboostCuda { const TSlice& slice) : TParent(target, slice) , Params(target.GetParams()) + , ScoreMetric(target.GetScoreMetricType()) { } TQuerywiseTargetsImpl(const TQuerywiseTargetsImpl& target) : TParent(target) , Params(target.GetParams()) + , ScoreMetric(target.GetScoreMetricType())...
stm32/stm32_it: Fix RTC IRQ handler to handle all EXTI IRQs on F0 MCUs.
@@ -509,8 +509,18 @@ void RTC_WKUP_IRQHandler(void) { void RTC_IRQHandler(void) { IRQ_ENTER(RTC_IRQn); + if (RTC->ISR & RTC_ISR_WUTF) { RTC->ISR &= ~RTC_ISR_WUTF; // clear wakeup interrupt flag Handle_EXTI_Irq(EXTI_RTC_WAKEUP); // clear EXTI flag and execute optional callback + } + if (RTC->ISR & RTC_ISR_ALRAF) { + RTC...
state adapter
:: [. talk sole] => |% :: data structures - ++ house {$5 house-5} :: full state + ++ house {$6 house-6} :: full state ++ house-any :: app history $% {$3 house-3} :: 3: talk {$4 house-4} :: 4: talk {$5 house-5} :: 5: talk + {$6 house-6} :: 5: talk == :: ++ house-3 :: %+ cork house-4 |= house-4 :: modern house with %+ co...
bumps vere version number
set -e -URBIT_VERSION=0.7.0 +URBIT_VERSION=0.8.0 deps=" \ curl gmp sigsegv argon2 ed25519 ent h2o scrypt sni uv murmur3 secp256k1 \ @@ -15,7 +15,7 @@ defmacro () { echo "#define $1 $2" >>include/config.h } -defmacro URBIT_VERSION '"0.7.0"' +defmacro URBIT_VERSION "\"$URBIT_VERSION\"" [ -n "$MEMORY_DEBUG" ] && defmacro ...
Print "; Next union/fragment" between "pieces" in .map file Resolves
@@ -460,16 +460,20 @@ static uint16_t writeMapBank(struct SortedSections const *sectList, uint16_t org = sect->org; while (sect) { - if (sect->modifier == SECTION_UNION) - fprintf(mapFile, "\t\t; New union\n"); - else if (sect->modifier == SECTION_FRAGMENT) - fprintf(mapFile, "\t\t; New fragment\n"); for (size_t i = 0;...
When changing the MTU of an SCTP path, not only cancel all ongoing RTT measurements, but also scheldule new ones for the future. Thanks to Julius Flohr for finding, reporting, and fixing this bug.
#ifdef __FreeBSD__ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_usrreq.c 355172 2019-11-28 12:50:25Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctp_usrreq.c 355265 2019-12-01 17:35:36Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -305,7 +305,10 @@ sctp_pathmtu_adjustment(struct sctp_t...
Fix typo which changes what's being tested in glibcvertest.c.
@@ -141,7 +141,7 @@ testEachLineInStreamWithActualLibraryData(void** state) results_t result = {0}; testEachLineInStream(f_in, LATEST_LIBC_VER_NEEDED, &result, stdout); assert_true(result.lines_tested > 350); // 383 when written - assert_true(result.lines_tested > 40); // 54 when written + assert_true(result.lines_glib...
Destroy acksync immediately on error If AOA or HID keyboard may not be initialized for some reason, acksync is useless.
@@ -454,25 +454,27 @@ scrcpy(struct scrcpy_options *options) { goto end; } - acksync = &s->acksync; - ok = sc_aoa_init(&s->aoa, serial, acksync); if (!ok) { + sc_acksync_destroy(&s->acksync); goto aoa_hid_end; } if (!sc_hid_keyboard_init(&s->keyboard_hid, &s->aoa)) { + sc_acksync_destroy(&s->acksync); sc_aoa_destroy(&s...
Fix LuaRED converter for nils
@@ -16,26 +16,28 @@ struct LuaRED { RED4ext::CStackType result; result.type = m_pRtti; - if (!CheckObjectType || aObject.is<T>()) + if (aObject == sol::nil) { - if (aObject != sol::nil) - result.value = apAllocator->New<T>(aObject.as<T>()); - else result.value = apAllocator->New<T>(); } + else if (!CheckObjectType || a...
no need for actual objects.
@@ -280,6 +280,15 @@ struct { .patterns = COLLECTION_INIT, }; +/** The default engine (settable). */ +pubsub_engine_s *FACIL_PUBSUB_DEFAULT = (pubsub_engine_s *)0; +/** used to publish the message to all clients in the cluster. */ +const pubsub_engine_s *FACIL_PUBSUB_CLUSTER = (pubsub_engine_s *)0; +/** used to publish...
User: Change sydr limits
@@ -93,11 +93,11 @@ ifeq ($(FUZZ_DIR),) endif ifeq ($(FUZZ_JOBS),) - FUZZ_JOBS = 4 + FUZZ_JOBS = 2 endif ifeq ($(FUZZ_MEM),) - FUZZ_MEM = 6144 + FUZZ_MEM = 8192 endif ifeq ($(COVERAGE),1) @@ -269,7 +269,7 @@ sydr-fuzz: $(PROJECT).sydr$(SUFFIX) $(PROJECT)$(SUFFIX) FORCE @rm -rf sydr-fuzz-out @cat <<- EOF > sydr-fuzz.tom...
SOVERSION bump to version 2.21.8
@@ -66,7 +66,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 21) -set(LIBYANG_MICRO_SOVERSION 7) +set(LIBYANG_MICRO_SOVERSION 8) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_M...
Fix printing of ipv6hint
@@ -676,11 +676,11 @@ rdata_svcparam_ipv4hint_to_string(buffer_type *output, uint16_t val_len, if ((val_len % IP4ADDRLEN) == 0) { buffer_printf(output, "=%s", inet_ntop(AF_INET, data, ip_str, sizeof(ip_str))); - data += 2; /* 2 uint16_t's in an IPv4 */ + data += IP4ADDRLEN / sizeof(uint16_t); while ((val_len -= IP4ADDR...
mINI: Remove temporary file in MSR test
@@ -132,7 +132,8 @@ kdb lsmeta /examples/mini kdb get /examples/mini/key #> "multi -# Undo modifications to the key database +# Undo modifications +rm stderr.txt kdb rm -r /examples/mini sudo kdb umount /examples/mini ```
Bugfix conn metatable method call Here `conn` is net.socket instance, so it should be called as one. Otherwise request is very likely to end up with crash and PANIC.
@@ -89,7 +89,7 @@ do local buf = "" local method, url local ondisconnect = function(conn) - conn.on("sent", nil) + conn:on("sent", nil) collectgarbage("collect") end -- header parser
make tapeout depend on testchipip for resources
@@ -48,8 +48,8 @@ lazy val boom = (project in file("generators/boom")) .dependsOn(rocketchip) .settings(commonSettings) -lazy val tapeout = (project in file("./tools/barstools/tapeout/")) - .dependsOn(rebarFirrtl, rocketchip) +lazy val tapeout = conditionalDependsOn(project in file("./tools/barstools/tapeout/")) + .dep...
gsettings: fix write_tree deadlock
@@ -352,9 +352,11 @@ static gboolean elektra_settings_backend_write_tree (GSettingsBackend * backend, g_mutex_lock (&elektra_settings_kdb_lock); g_tree_foreach (tree, elektra_settings_keyset_from_tree, esb->gks); elektra_settings_backend_sync (backend); + g_mutex_unlock (&elektra_settings_kdb_lock); + /* Notify the GSe...
Fix controller bug pulling TX power setting from wrong array during extended advertising configuration
@@ -2298,7 +2298,7 @@ ble_ll_adv_ext_set_param(uint8_t *cmdbuf, uint8_t *rspbuf, uint8_t *rsplen) memcpy(advsm->peer_addr, &cmdbuf[12], BLE_DEV_ADDR_LEN); } - tx_power = (int8_t) rspbuf[21]; + tx_power = (int8_t) cmdbuf[19]; if (tx_power == 127) { /* no preference */ advsm->adv_txpwr = MYNEWT_VAL(BLE_LL_TX_PWR_DBM);
Integration test for LCB HTTP bootstrap Tested-by: Build Bot
@@ -24,6 +24,9 @@ struct evstop_listener : Listener { void clconfig_lsn(EventType event, ConfigInfo *) { + if (event == CLCONFIG_EVENT_PROVIDERS_CYCLED) { + return IOT_STOP(io); + } if (event != CLCONFIG_EVENT_GOT_NEW_CONFIG) { return; } @@ -40,7 +43,6 @@ static void listen_callback1(Listener *lsn, EventType event, Con...
CLI - Empty output for Load Memory Allocation Settings from non-existing file
@@ -198,6 +198,9 @@ LoadGoal( ReturnCode = ParseSourceDumpFile(pLoadFilePath, pDevicePathProtocol, &pFileString); if (EFI_ERROR(ReturnCode)) { + ResetCmdStatus(pCommandStatus, NVM_ERR_LOAD_INVALID_DATA_IN_FILE); + ReturnCode = MatchCliReturnCode(pCommandStatus->GeneralStatus); + DisplayCommandStatus(CLI_INFO_LOAD_GOAL,...
cosmetics,webpinfo: remove an else after a return this is redundant with an if block that returns
@@ -817,9 +817,8 @@ static WebPInfoStatus ProcessImageChunk(const ChunkData* const chunk_data, if (webp_info->seen_image_subchunk_) { LOG_ERROR("Consecutive VP8/VP8L sub-chunks in an ANMF chunk."); return WEBP_INFO_PARSE_ERROR; - } else { - webp_info->seen_image_subchunk_ = 1; } + webp_info->seen_image_subchunk_ = 1; }...
Fix uid blinking for proto_libraries used in both py2/py3 contexts
@@ -3191,6 +3191,7 @@ multimodule PROTO_LIBRARY { module PY_PROTO: PY_LIBRARY { .ALIASES=SRCS=PY_SRCS SET(PEERDIR_TAGS PY2 PY_PROTO) + OBJ_SUF=.py2 NO_LINT() } @@ -3203,6 +3204,7 @@ multimodule PROTO_LIBRARY { otherwise { MODULE_PREFIX=libpy3 } + OBJ_SUF=.py3 NO_LINT() } }
Implement unsignedchar for clang
vectorextensions = gcc.shared.vectorextensions, isaextensions = gcc.shared.isaextensions, warnings = gcc.shared.warnings, - symbols = gcc.shared.symbols + symbols = gcc.shared.symbols, + unsignedchar = gcc.shared.unsignedchar } clang.cflags = table.merge(gcc.cflags, {
Keyboard stuff
@@ -42,7 +42,7 @@ import UIKit } @objc private func setCurrentDirectory() { - console.movableTextField?.textField.resignFirstResponder() + console?.movableTextField?.textField.resignFirstResponder() let picker = UIDocumentPickerViewController(documentTypes: ["public.folder"], in: .open) picker.allowsMultipleSelection =...
edit diff BUGFIX recursive delete to create merge Delete only siblings that are not present in the source diff, otherwise they are prematurely deleted causing the final operation to be wrong.
@@ -2190,14 +2190,16 @@ sr_diff_find_oper(struct lyd_node *diff, int *op_own, pid_t *pid, void **conn_pt * @param[in] cur_op Current operation of the diff node. * @param[in] cur_own_op Whether \p cur_op is owned or inherited. * @param[in] val_equal Whether even values of the nodes match. + * @param[in] src_node Current...
system/trace: add switch priority print to align with ftrace
@@ -75,6 +75,8 @@ struct trace_dump_cpu_context_s int current_state; /* Task state of the current line */ pid_t current_pid; /* Task PID of the current line */ pid_t next_pid; /* Task PID of the next line */ + uint8_t current_priority; /* Task Priority of the current line */ + uint8_t next_priority; /* Task Priority of...
FIX: "used uninitialized" compile error.
@@ -2850,23 +2850,24 @@ static btree_indx_node *do_btree_find_leaf(btree_indx_node *root, while (left <= right) { mid = (left + right) / 2; - elem = do_btree_get_first_elem((btree_indx_node *)(node->item[mid])); /* separator */ + elem = do_btree_get_first_elem(node->item[mid]); /* separator */ comp = BKEY_COMP(bkey, nb...
Update: NAR.py: remove logging
@@ -73,8 +73,6 @@ def GetStats(): return Stats def AddInput(narsese, Print=True): - with f = open("NAR_output.txt", "a"): - f.write(narsese + '\n') NAR.stdin.write(narsese + '\n') NAR.stdin.flush() ReturnStats = narsese == "*stats"
Fix up programming view
@@ -59,7 +59,7 @@ LMS_Programing_wxgui::LMS_Programing_wxgui(wxWindow* parent, wxWindowID id, cons lblProgressPercent = new wxStaticText(this, wxID_ANY, _T(""), wxDefaultPosition, wxSize(48, -1), 0, _T("ID_STATICTEXT5")); progressBar = new wxGauge(this, ID_GAUGE1, 100, wxDefaultPosition, wxDefaultSize, 0, wxDefaultVali...
test: add platon test case test_004ParametersInit_0004TxInitFailureErrorGasPriceHexFormat fix the issue teambition task id
@@ -146,6 +146,22 @@ START_TEST(test_004ParametersInit_0003TxInitSuccessNullGasPrice) } END_TEST +START_TEST(test_004ParametersInit_0004TxInitFailureErrorGasPriceHexFormat) +{ + BSINT32 rtnVal; + BoatPlatONTx tx_ptr; + + BoatIotSdkInit(); + + rtnVal = platonWalletPrepare(); + ck_assert_int_eq(rtnVal, BOAT_SUCCESS); + r...
re-enables and corrects some failing tests
:: h9bpt.vlmm7.lh375.f6u9n.krqv8.5jcml.cujkr.v1uqv.cjhe5.nplta |^ =/ out=tang ;: weld - :: testen-base64url - :: testrsakey - :: testrsa + testen-base64url + testrsakey + testrsa test-asn1 - :: testjwkthumbprint + testjwkthumbprint :: testjws == ?~(out abet ((slog out) abet)) =/ jon '{"iss":"joe","exp":1300819380,"http...
Fix thread race issue when connecting Java directors, requires updated nutiteq-swig
@@ -114,9 +114,21 @@ namespace Swig { protected: #if defined (_MSC_VER) && (_MSC_VER<1300) + struct SwigDirectorMethod; + friend struct SwigDirectorMethod; class JNIEnvWrapper; friend class JNIEnvWrapper; #endif + /* Utility class for method wrapping */ + struct SwigDirectorMethod { + const char *name; + const char *de...
YAy PEG: Improve error message for quoted scalar
@@ -1187,7 +1187,7 @@ char const * const errors<tao::TAO_PEGTL_NAMESPACE::eof>::errorMessage = "Incomp template <> char const * const errors<escaped_choices>::errorMessage = "Unexpected escape character"; template <> -char const * const errors<closing_double_quote>::errorMessage = "Missing closing double quote for flow...
[catboost/java] bump version for another fix
<groupId>ai.catboost</groupId> <artifactId>catboost-prediction</artifactId> - <version>0.2.3-SNAPSHOT</version> + <version>0.2.4-SNAPSHOT</version> <packaging>jar</packaging> <name>CatBoost model applier</name> <description>Java module to apply CatBoost models</description>
arch/arm/Kconfig: tidy up mpu configs 1. make a dependency with ARM archi. family This fixes showing "MPU Support" twice in menuconfig. 2. move selection of ARCH_USE_MPU under ARM_MPU
@@ -209,12 +209,13 @@ config ARM_HAVE_MPU_UNIFIED config ARM_MPU bool default n + select ARCH_USE_MPU config ARMV7M_MPU bool "MPU support" default n depends on ARCH_HAVE_MPU - select ARCH_USE_MPU + depends on ARCH_ARMV7M_FAMILY || ARCH_ARMV7R_FAMILY select ARM_MPU ---help--- Build in support for the ARM Cortex-M3/4 Mem...
yanglint BUGFIX error return on invalid data file Fixes
@@ -880,9 +880,9 @@ main_ni(int argc, char *argv[]) /* do the data validation despite the schema was printed */ if (c.data_inputs.size) { - if (process_data(c.ctx, c.data_type, c.data_merge, c.data_out_format, c.out, - c.data_parse_options, c.data_validate_options, c.data_print_options, - &c.data_operational, &c.data_i...
framework/st_things: modify Kconfig. The ST_THINGS_ARTIK_HW_CERT_KEY has been changed to ST_THINGS_HW_CERT_KEY why It looks like to have a dependency for board implicitly.
@@ -23,7 +23,7 @@ if ST_THINGS comment "ST_Things Config Parameters" -config ST_THINGS_ARTIK_HW_CERT_KEY +config ST_THINGS_HW_CERT_KEY bool "Enable Artik H/W Certificate & Key" depends on ARCH_BOARD_ARTIK05X_FAMILY && ST_THINGS_SECURESTORAGE default n
added detection of changed ESSID to raw handshake output (option -O)
@@ -901,6 +901,11 @@ if(rcgap > maxrcdiff) } zeiger = rawhandshakeliste +rawhandshakecount; +zeigeressid = apstaessidliste; +for(d = 0; d < apstaessidcount; d++) + { + if(memcmp(zeigerea->mac_ap, zeigeressid->mac_ap, 6) == 0) + { memset(zeiger, 0, sizeof(hcxl_t)); zeiger->tv_diff = timegap; zeiger->rc_diff = rcgap; @@ ...
stm32/Makefile: Use -O2 to optimise compilation of lib/libc/string0.c.
@@ -350,6 +350,11 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_USBDEV:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_MOD:.c=.o)) OBJ += $(BUILD)/pins_$(BOARD).o +# This file contains performance critical functions so turn up the optimisation +# level. It doesn't add much to the code size and improves performance a bit. +# Don't...
doc: Mention disabled Markdown Shell Recorder test for ASAN
@@ -90,6 +90,9 @@ ASAN disables the following parts during cmake as they throw errors: Further kdb_check_internal skips tests that output sanitizer warnings during load as it would make the test fail. +No tutorial validation is done for `validation.md` with ASAN because during the +mount spec step an memory leak is det...
dev-tools/numpy: bump to v1.14.2
@@ -23,7 +23,7 @@ Requires: openblas-%{compiler_family}%{PROJ_DELIM} %define PNAME %(echo %{pname} | tr [a-z] [A-Z]) Name: %{python_prefix}-%{pname}-%{compiler_family}%{PROJ_DELIM} -Version: 1.14.1 +Version: 1.14.2 Release: 1%{?dist} Url: http://sourceforge.net/projects/numpy Summary: NumPy array processing for numbers...
added infos about wlancap2hcx option -e
@@ -5,7 +5,8 @@ Small set of tools to capture and convert packets from wlan devices for the use with latest hashcat. The tools are 100% compatible to hashcat and recommended by hashcat. After capturing, upload the "uncleaned" cap here (http://wpa-sec.stanev.org/?submit) to see if your ap is vulnerable -by using common ...
Squashed 'pkg/urcrypt/argon2/' changes from 4da94a611e..a4c1e3f713 Merge pull request from locpyl-tidnyd/master Rename function to avoid name clash on MingW git-subtree-dir: pkg/urcrypt/argon2 git-subtree-split:
@@ -370,7 +370,7 @@ int decode_string(argon2_context *ctx, const char *str, argon2_type type) { #undef BIN } -void itoa(int i, char b[]){ +static void encode_decimal(int i, char b[]){ #ifdef ARGON2_JS // because this generates WASM error: @@ -416,7 +416,7 @@ int encode_string(char *dst, size_t dst_len, argon2_context *...
remove some comments / simplify endianess code
@@ -2982,12 +2982,7 @@ if(caplen < (uint32_t)WPAKEY_SIZE) eap = (eapauth_t*)packet; wpak = (wpakey_t*)(packet +EAPAUTH_SIZE); keyinfo = (getkeyinfo(ntohs(wpak->keyinfo))); - -rc = byte_swap_64(wpak->replaycount); -#ifdef BIG_ENDIAN_HOST -rc = byte_swap_64(wpak->replaycount); -#endif - +rc = be64toh(wpak->replaycount); ...
pybricks.iodevices.PUPDevice: replace ID by info() Instead of using a constant that is not really a constant, make a generic info method that returns a dictionary with information about this device. This makes it easy to add more information as we see fit over time without breaking the API.
typedef struct _iodevices_PUPDevice_obj_t { mp_obj_base_t base; pb_device_t *pbdev; - mp_obj_t id; } iodevices_PUPDevice_obj_t; // pybricks.iodevices.PUPDevice.__init__ @@ -36,15 +35,25 @@ STATIC mp_obj_t iodevices_PUPDevice_make_new(const mp_obj_type_t *type, size_t n self->pbdev = pb_device_get_device(port, PBIO_IODE...
So we can easily revert
@@ -293,8 +293,6 @@ void DMA_waitCompletion() void DMA_doDma(u8 location, u32 from, u16 to, u16 len, s16 step) { vu16 *pw; -// vu32 *pl; - u32 cmd; u32 newlen; u32 banklimitb; u32 banklimitw; @@ -340,25 +338,27 @@ void DMA_doDma(u8 location, u32 from, u16 to, u16 len, s16 step) if (!z80state) Z80_requestBus(FALSE); #en...
fix(draw_sw_letter): fix incorrect use of sizeof for a pointer
@@ -441,7 +441,7 @@ static void draw_letter_subpx(lv_draw_ctx_t * draw_ctx, const lv_draw_label_dsc_ #endif lv_draw_sw_blend_dsc_t blend_dsc; - lv_memset_00(&blend_dsc, sizeof(&blend_dsc)); + lv_memset_00(&blend_dsc, sizeof(blend_dsc)); blend_dsc.blend_area = &map_area; blend_dsc.mask_area = &map_area; blend_dsc.src_bu...
add dialog: fix first character not being deleted
@@ -45,7 +45,7 @@ export default class SimpleTextField extends Component { hintText: (meta && meta.example) ? `e.g. ${meta.example}` : false, onChange: debounce ? value => this.setState({ value }) - : evt => (evt && evt.target && evt.target.value) && onChange(evt.target.value), + : evt => (evt && evt.target && evt.targ...
parallel-libs/hypre: bump to v2.13.0
@@ -40,7 +40,7 @@ Requires: openblas-%{compiler_family}%{PROJ_DELIM} %define PNAME %(echo %{pname} | tr [a-z] [A-Z]) Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Version: 2.11.2 +Version: 2.13.0 Release: 1%{?dist} Summary: Scalable algorithms for solving linear systems of equations License: LGPL-2.1
Fix FW version.
* the IDE will Not connect if the major version number is different. */ #define FIRMWARE_VERSION_MAJOR (2) -#define FIRMWARE_VERSION_MINOR (5) -#define FIRMWARE_VERSION_PATCH (0) +#define FIRMWARE_VERSION_MINOR (4) +#define FIRMWARE_VERSION_PATCH (1) /** * To add a new debugging command, increment the last command valu...
AccountAIT test for bad serialization
@@ -12,6 +12,7 @@ import com.google.common.base.Optional; import org.junit.Test; import java.nio.charset.StandardCharsets; +import java.util.Arrays; import java.util.Date; import static org.junit.Assert.*; @@ -56,6 +57,12 @@ public class AccountAIT { assertArrayEquals(serializationFromPhrase, serializationFromSerializa...
Only run docker push if we just built a new image
@@ -73,7 +73,7 @@ jobs: # contiki-ng repo and iii) this is a push (merge commit) to one of the # branches of interest then push the image to dockerhub - name: Push images to dockerhub - if: github.repository == 'contiki-ng/contiki-ng' && github.event_name == 'push' + if: env.DOCKER_NEED_BUILD == '1' && github.repositor...
Fix validation issue when first draw uses empty vertex format;
@@ -2811,7 +2811,8 @@ Pass* lovrGraphicsGetPass(PassInfo* info) { gpu_render_begin(pass->stream, &target); // The default Buffer (filled with zeros/ones) is always at slot #1, used for default vertex data - gpu_bind_vertex_buffers(pass->stream, &state.defaultBuffer->gpu, NULL, 1, 1); + gpu_buffer* buffers[] = { state.d...