message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix back/forward slash keycodes.
#define EQL 0x2E #define LBKT 0x2F #define RBKT 0x30 -#define FSLH 0x31 +#define BSLH 0x31 #define SCLN 0x33 #define QUOT 0x34 #define GRAV 0x35 #define CMMA 0x36 #define DOT 0x37 -#define BSLH 0x38 +#define FSLH 0x38 #define CLCK 0x39 #define F1 0x3A #define F2 0x3B
rnndb: add reg showing the current secure level of a falcon
<reg32 offset="0x208" name="DEBUG_DATA_WR" variants="GF119-"/> <reg32 offset="0x20c" name="DEBUG_DATA_RD" variants="GF119-"/> + <reg32 offset="0x240" name="UNK240" variants="GM200-"> + <bitfield low="0" high="1" name="SEC_MODE"> + <value value="0" name="NS"/> + <value value="1" name="LS"/> + <value value="2" name="HS"/...
fix static code analysis - Uninitialized Variable in Constructor
-// Copyright(c) 2019-2021, Intel Corporation +// Copyright(c) 2019-2023, Intel Corporation // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: @@ -112,7 +112,11 @@ public: group_id(0), speed(0), df_id(0), eth_lwmac(0), ...
perf-tools/likwid: update version to v4.3.3
Summary: Toolsuite of command line applications for performance oriented programmers Name: %{pname}-%{compiler_family}%{PROJ_DELIM} -Version: 4.3.2 +Version: 4.3.3 Release: 1%{?dist} License: GPLv3 Group: %{PROJ_NAME}/perf-tools
fix: add BoatIotSdkInit(); in test_001CreateWallet_0001CreateOneTimeWalletSuccess
@@ -72,6 +72,7 @@ START_TEST(test_001CreateWallet_0001CreateOneTimeWalletSuccess) { BSINT32 rtnVal; BoatPlatONWallet *g_platon_wallet_ptr = NULL; + BoatIotSdkInit(); BoatPlatONWalletConfig wallet = get_platon_wallet_settings(); extern BoatIotSdkContext g_boat_iot_sdk_context;
Fix sloe so that it is chapter aware.
?+ typ ~ {$hold *} $(typ ~(repo ut typ)) {$core *} - (turn (~(tap by q.s.q.typ) ~) |=({a/term *} a)) + %- zing + %+ turn (~(tap by q.s.q.typ) ~) + |= {* b/tomb} + %+ turn (~(tap by q.b) ~) + |=({a/term *} a) == :: ++ slop :: cons two vases
tigge_check not failing for some wrong validityTime/validityDate
@@ -381,6 +381,7 @@ static void check_validity_datetime(grib_handle* h) long validityDate, validityTime; /* Check only applies to accumulated, max etc. */ + str_len = 100; err = grib_get_string(h, "stepRange", stepRange, &str_len); if (err) return; @@ -410,7 +411,6 @@ static void check_range(grib_handle* h,const parame...
lily.h: Documentation corrections.
@@ -677,7 +677,7 @@ void lily_list_push(lily_container_val *con, lily_value *value); // Returns the raw buffer behind a String. char *lily_string_raw(lily_string_val *string_val); -// Function: lily_string_raw +// Function: lily_string_length // Returns the size (in bytes) of a String buffer. int lily_string_length(lil...
Updated CHANGELOG for v0.4
@@ -5,8 +5,20 @@ Summary: added halo model matter power spectrum calculation and halo mass-concen ## C library In ccl_halomod.c: +Added this source file. Contains functions to compute halo-model matter power spectra and also mass-concentration relations. + +In ccl_power.c + +Added sigmaV, changed sigma(R) -> sigma(R,a)...
remove custom thrift code
@@ -535,4 +535,7 @@ ALLOW yabs/telephony/platform/internal/rtp -> vendor/github.com/wernerd/GoRTP ALLOW quasar/iot/adapters/tuya_adapter -> vendor/github.com/TuyaInc/tuya_pulsar_sdk_go ALLOW quasar/iot/adapters/tuya_adapter/server -> vendor/github.com/sirupsen/logrus +# SUBBOTNIK-90 +ALLOW infra/rtc/instance_resolver/p...
Include USER button in button state
@@ -40,7 +40,7 @@ namespace pimoroni { gpio_set_function(USER, GPIO_FUNC_SIO); gpio_set_dir(USER, GPIO_IN); - gpio_set_pulls(USER, false, true); + gpio_set_pulls(USER, true, false); gpio_set_function(VBUS_DETECT, GPIO_FUNC_SIO); gpio_set_dir(VBUS_DETECT, GPIO_IN); @@ -195,8 +195,9 @@ namespace pimoroni { } void Badger2...
admin/test-suite: add skip of shebang check for locally installed bats
@@ -23,6 +23,8 @@ Source0: tests-ohpc.tar BuildRequires: autoconf%{PROJ_DELIM} BuildRequires: automake%{PROJ_DELIM} +%global __mangle_shebangs_exclude bats + %if 0%{?suse_version} >= 1230 Requires(pre): shadow %endif
Added the session ticket state machine per RFC 5077
// This module provides an specification of the -// TLS 1.2 handshake message state machine according to RFC 5246. This +// TLS 1.2 handshake message state machine according to RFCs 5246 and 5077. This // is an overapproximation because state transitions don't depend on // message contents --- and, in reality, they sho...
Base64: Fix implicit type conversions
@@ -144,14 +144,14 @@ int base64Decode (const char * input, kdb_octet_t ** output, size_t * outputLeng return -1; } - (*output)[outputIndex++] = (byte0 << 2) + (byte1 >> 4); + (*output)[outputIndex++] = (kdb_octet_t) (byte0 << 2) + (kdb_octet_t) (byte1 >> 4); if (input[position + 2] != padding) { - (*output)[outputInde...
fix -h output for --sort option This fixes a regression from where the author forgot to update the help output.
@@ -40,7 +40,7 @@ parser.add_argument("-r", "--maxrows", default=20, help="maximum rows to print, default 20") parser.add_argument("-s", "--sort", default="all", choices=["all", "reads", "writes", "rbytes", "wbytes"], - help="sort column, default rbytes") + help="sort column, default all") parser.add_argument("-p", "--...
chat: submit color on blur
@@ -23,6 +23,7 @@ export class SettingsScreen extends Component { this.changeTitle = this.changeTitle.bind(this); this.changeDescription = this.changeDescription.bind(this); this.changeColor = this.changeColor.bind(this); + this.submitColor = this.submitColor.bind(this); } componentDidMount() { @@ -55,9 +56,23 @@ expor...
removing some of loud error crap
@@ -89,10 +89,7 @@ static void sprintf_proxy_checkit(t_sprintf_proxy *x, char *buf, int checkin) sprintf(tmp, "%g", f); result = sprintf(buf, x->p_pattern, tmp); } - else /* LATER consider calling it a bug(), rather than error? */ - loud_error((t_pd *)x->p_master, - "can't convert float to type of argument %d", - x->p_...
misc: fix the pretty print for api trace Type: style
@@ -1385,7 +1385,7 @@ static void *vl_api_add_node_next_t_print s = format (0, "SCRIPT: add_node_next "); - s = format (0, "node %s next %s ", mp->node_name, mp->next_name); + s = format (s, "node %s next %s ", mp->node_name, mp->next_name); FINISH; } @@ -2520,9 +2520,9 @@ static void *vl_api_pg_create_interface_t_prin...
When using PEM_read_bio_PrivateKey_ex() the public key is optional Fixes However the private key part is not optional which was mishandled by the legacy routine.
@@ -75,6 +75,10 @@ static EVP_PKEY *pem_read_bio_key_decoder(BIO *bp, EVP_PKEY **x, } ERR_pop_to_mark(); + /* if we were asked for private key, the public key is optional */ + if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) + selection = selection & ~OSSL_KEYMGMT_SELECT_PUBLIC_KEY; + if (!evp_keymgmt_util_has(p...
revert: "mk_core: mk_rconf: Be more verbose on indentation errors (#322)" This reverts commit
@@ -169,31 +169,6 @@ static int mk_rconf_meta_add(struct mk_rconf *conf, char *buf, int len) return 0; } -static int check_indent(const char *line, const char *indent) -{ - while (*line == *indent && *indent) { - line++; - indent++; - } - - if (*indent != '\0') { - if (isblank(*line)) { - mk_err("[config] Inconsistent ...
Clang: warning: macro name is a reserved identifier
@@ -52,28 +52,28 @@ static unsigned long I(unsigned long x,unsigned long y,unsigned long z) { return #define ROT(x, c) ((x << c) | (x >> (32 - c))) -#define _F(x, y, z) ((x & y) | ((~x) & z)) -#define _G(x, y, z) ((x & z) | (y & (~z))) -#define _H(x, y, z) (x ^ y ^ z) -#define _I(x, y, z) (y ^ (x | (~z))) +#define ECC_...
windows-makefile.tmpl: Convert all /I and /D to -I and -D We were not consistently using one or the other, and the perlasm code assumes dashes, which MSVC tolerates. Fixes
@@ -187,7 +187,7 @@ CC={- $config{CC} -} CPP={- $config{CPP} -} CPPFLAGS={- our $cppflags1 = join(" ", (map { "-D".$_} @{$config{CPPDEFINES}}), - (map { " /I ".$_} @{$config{CPPINCLUDES}}), + (map { " -I ".$_} @{$config{CPPINCLUDES}}), @{$config{CPPFLAGS}}) -} CFLAGS={- join(' ', @{$config{CFLAGS}}) -} LD={- $config{LD...
env -> targetenv
@@ -57,7 +57,7 @@ rule("utils.glsl2spv") assert(glslangValidator or glslc, "glslangValidator or glslc not found!") -- glsl to spv - local targetenv = target:extraconf("rules", "utils.glsl2spv", "env") or "vulkan1.0" + local targetenv = target:extraconf("rules", "utils.glsl2spv", "targetenv") or "vulkan1.0" local output...
Fix incorrect return type in the docs for s2n_connection_get_delay()
@@ -683,7 +683,7 @@ built-in blinding (set blinding to S2N_BUILT_IN_BLINDING) or self-service blindi ### s2n\_connection\_get\_delay ```c -int64_t s2n_connection_get_delay(struct s2n_connection *conn); +uint64_t s2n_connection_get_delay(struct s2n_connection *conn); ``` **s2n_connection_get_delay** returns the number o...
Update build_win.bat to handle new amalg script.
@rem Ensure correct command prompt @if not defined INCLUDE goto :BADCMD +@rem Set compile and link options here +@setlocal +@set JANET_COMPILE=cl /nologo /Isrc\include /c /O2 /W3 /LD /D_CRT_SECURE_NO_WARNINGS +@set JANET_LINK=link /nologo + @rem Sub commands @if "%1"=="help" goto HELP @if "%1"=="clean" goto CLEAN @if "...
dirinboz: remove unuse config This patch remove unuse config on dirinboz: CONFIG_IO_EXPANDER_PCAL6408 CONFIG_USB_MUX_PS8740 BRANCH=zork TEST=make BOARD=dirinboz
#include <stdbool.h> #include "baseboard.h" -#define CONFIG_IO_EXPANDER_PCAL6408 #define CONFIG_MKBP_USE_GPIO #define CONFIG_USBC_PPC_NX20P3483 -#define CONFIG_USB_MUX_PS8740 #define CONFIG_USB_MUX_PS8743 #define CONFIG_USB_MUX_RUNTIME_CONFIG
Minor update to force new CI test
Authors: see AUTHORS Copyright: see AUTHORS License: see LICENSE - Last Updated: 07/15/2019 + Last Updated: 07/22/2019 ****************************************************************************** */
linux preprocessor flag added to the .conf file generator
@@ -452,7 +452,7 @@ add_custom_target(iniconfig ALL if(MSVC) set(PRECOMPILER_FLAG /EP) else() - set(PRECOMPILER_FLAG -E -P) + set(PRECOMPILER_FLAG -E -P -D__LINUX__) endif() add_custom_command(TARGET iniconfig
tcpstates: incorrect display of dport fix incorrect display of dport for kprobe attachment in tcpstates
@@ -182,6 +182,7 @@ int kprobe__tcp_set_state(struct pt_regs *ctx, struct sock *sk, int state) // dport is either used in a filter here, or later u16 dport = sk->__sk_common.skc_dport; + dport = ntohs(dport); FILTER_DPORT // calculate delta
BuildElixir: require elixirc This will make the macros in BuildElixir fail if elixirc is not present
## macro(pack_archive avm_name) + find_package(Elixir REQUIRED) foreach(module_name ${ARGN}) add_custom_command( @@ -32,6 +33,7 @@ macro(pack_archive avm_name) endmacro() macro(pack_runnable avm_name main) + find_package(Elixir REQUIRED) add_custom_command( OUTPUT Elixir.${main}.beam
Fixed issue where parsed date range was not rendered with --date-spec.
@@ -526,7 +526,7 @@ int get_start_end_parsing_dates (char **start, char **end, const char *f) { uint32_t *dates = NULL; uint32_t len = 0; - const char *sndfmt = conf.spec_date_time_num_format; + const char *sndfmt = "%Y%m%d"; char s[DATE_LEN]; char e[DATE_LEN];
HLS: Remove cplusplus stuff again
* limitations under the License. */ -#ifdef __cplusplus -namespace hls { -extern "C" { -#endif - #if !defined(NO_SYNTH) #include "ap_int.h" @@ -116,10 +111,5 @@ short action_hashjoin_hls(ap_uint<MEMDW> *din_gmem, #endif /* NO_SYNTH END_IF Specific Hardware declarations */ -#ifdef __cplusplus -} -} -#endif - #endif /* _...
[timer] update the RT_TIMER_CTRL_GET_STATE code in rt_timer_control
@@ -560,12 +560,12 @@ rt_err_t rt_timer_control(rt_timer_t timer, int cmd, void *arg) if(timer->parent.flag & RT_TIMER_FLAG_ACTIVATED) { /*timer is start and run*/ - *(rt_tick_t *)arg = RT_TIMER_FLAG_ACTIVATED; + *(rt_uint32_t *)arg = RT_TIMER_FLAG_ACTIVATED; } else { /*timer is stop*/ - *(rt_tick_t *)arg = RT_TIMER_FL...
Fixed few bugs in tests Fixes - thanks
@@ -2492,7 +2492,7 @@ static void TestUserData() VkBuffer buf; VmaAllocation alloc; VmaAllocationInfo allocInfo; res = vmaCreateBuffer(g_hAllocator, &bufCreateInfo, &allocCreateInfo, &buf, &alloc, &allocInfo); TEST(res == VK_SUCCESS); - TEST(allocInfo.pUserData = numberAsPointer); + TEST(allocInfo.pUserData == numberAs...
smooth out cursor movement nearer()
@@ -30,11 +30,11 @@ def nearer(cur_time, replay, index): returnindex = 0 key_state = replay[index][KEYS_PRESSED] - for x in range(1, 4): + for x in range(0, 4): delta_t = abs(replay[index + x][TIMES] - cur_time) - if key_state != replay[index + x][KEYS_PRESSED]: - if delta_t <= min_time_toskip: - return x + # if key_st...
fixed bug in ESSID handling, if ESSID len is exact 32
@@ -2173,7 +2173,7 @@ for(zeiger = aplist; zeiger < aplist +APLIST_MAX; zeiger++) if(essidtagptr != NULL) { essidtag = (ietag_t*)essidtagptr; - if(essidtag->len < ESSID_LEN_MAX) + if(essidtag->len <= ESSID_LEN_MAX) { zeiger->essid_len = essidtag->len; memcpy(zeiger->essid, essidtag->data, essidtag->len); @@ -2225,7 +22...
Fix conditional valid bit reset Status bits outside provided mask shall be unchanged.
@@ -237,7 +237,7 @@ static bool _ocf_metadata_clear_valid_if_clean_##type(struct ocf_cache *cache, \ \ _raw_bug_on(raw, line); \ \ - map[line].valid &= mask & map[line].dirty; \ + map[line].valid &= (mask & map[line].dirty) | (~mask); \ \ if (map[line].valid) { \ return true; \
snap: bump to v1.9.4
name: fluent-bit base: core18 -version: '1.9.3' +version: '1.9.4' summary: High performance logs and stream processor description: | Fluent Bit is a high performance log processor and stream processor for Linux.
Figured out purpose of further Lumi specific attribute
@@ -3663,7 +3663,9 @@ Contactor > On/off=0003 - HP/HC=0004</description> <!-- LUMI --> <cluster id="0xfcc0" name="Lumi specific" mfcode="0x115f"> <description>Lumi specific attributes. -Note - Aqara Opple switches have 2 modes of operation (0x0009): Switch all devices (0), event based switching (1).</description> + +No...
Fix multiple choice text positioning when using a variable width font
@@ -2015,7 +2015,10 @@ class ScriptBuilder { const variableAlias = this.getVariableAlias(variable); const trueText = trimlines(args.trueText || "", 17, 1) || "Choice A"; const falseText = trimlines(args.falseText || "", 17, 1) || "Choice B"; - const choiceText = `\\001\\001 ${trueText}\n ${falseText}`; + const speedIns...
Simplify openbase test
{-# LANGUAGE CPP #-} module HsLuaSpec where -#if MIN_VERSION_base(4,8,0) -#else -import Control.Applicative ( (<$>), (<*>) ) -#endif -import Control.Monad (forM, forM_, when) +import Control.Monad (forM, forM_, when, liftM2) import Data.ByteString (ByteString) import qualified Data.ByteString.Char8 as B import qualifie...
BugID:17291083:fix init state error in gateway exit
@@ -434,7 +434,6 @@ int linkkit_gateway_init(linkkit_params_t *initParams) if (linkkit_gateway_ctx->is_inited == 1) { return FAIL_RETURN; } - linkkit_gateway_ctx->is_inited = 1; if (initParams->maxMsgSize < 256 || initParams->maxMsgQueueSize < 1 || @@ -442,6 +441,7 @@ int linkkit_gateway_init(linkkit_params_t *initPara...
Add unit test for long table fields
@@ -130,6 +130,14 @@ describe("Pallene type checker", function() "duplicate field 'x' in table") end) + it("allows tables with fields with more than LUAI_MAXSHORTLEN chars", function() + local field = string.rep('a', 41) + local module, _ = run_checker([[ + function f(t: {]].. field ..[[: float}) end + ]]) + assert.tru...
removes http from boot-sequence hack
@@ -949,10 +949,6 @@ _pier_boot_vent(u3_pier* pir_u) cod_l = u3a_lush(c3__behn); u3_behn_ef_bake(pir_u); u3a_lop(cod_l); - - cod_l = u3a_lush(c3__http); - u3_http_ef_bake(); - u3a_lop(cod_l); } /* insert legacy boot event
lv_ta: fixes typo in new line char detection
@@ -190,7 +190,7 @@ void lv_ta_add_char(lv_obj_t * ta, uint32_t c) { lv_ta_ext_t * ext = lv_obj_get_ext_attr(ta); - if(ext->one_line && (c == '\n' || c == '\n')) { + if(ext->one_line && (c == '\n' || c == '\r')) { LV_LOG_INFO("Text area: line break ignored in one-line mode"); return; }
Fix typo in error message in esp_bluedroid_init Closes
@@ -119,7 +119,7 @@ esp_err_t esp_bluedroid_init(void) future_t **future_p; if (esp_bt_controller_get_status() != ESP_BT_CONTROLLER_STATUS_ENABLED) { - LOG_ERROR("Conroller not initialised\n"); + LOG_ERROR("Controller not initialised\n"); return ESP_ERR_INVALID_STATE; }
perf-tools/extrae: remove unneeded patch
@@ -24,7 +24,7 @@ License: LGPLv2+ Group: %{PROJ_NAME}/perf-tools URL: https://tools.bsc.es Source0: https://ftp.tools.bsc.es/extrae/extrae-%{version}-src.tar.bz2 -Patch1: mpicheck.patch + BuildRequires: autoconf%{PROJ_DELIM} BuildRequires: automake%{PROJ_DELIM}
clay: track /{mar,lib,sur} dependencies properly
:: :: Keep any parts of the ford cache whose dependencies didn't change :: + :: Make sure to invalidate any paths whose '-'s or '/'s could be + :: converted in an import; i.e. /mar, /lib, and /sur hoon files. + :: ++ promote-ford |= [=ford-cache deletes=(set path) changes=(set path)] ^+ ford-cache =/ invalid=(set path)...
Fix wrong type in src/cfg.c. Resolves warning on mac, but doesn't change functionality at all.
@@ -99,7 +99,7 @@ static unsigned srcEnabledDefault[] = { DEFAULT_SRC_METRIC, }; -static cfg_out_format_t typeDefault[] = { +static cfg_transport_t typeDefault[] = { DEFAULT_OUT_TYPE, DEFAULT_CTL_TYPE, DEFAULT_LOG_TYPE,
Add missing include in s2n_certificate.c string.h is needed for strnlen.
/* - * Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. #include <s2n.h> #include <ope...
Remove dhparam from SSL_CONF list. Avoid duplicate assertion by removing dhparam from SSL_CONF parameter list: dhparam is handled manually by s_server.
@@ -206,7 +206,7 @@ int set_cert_times(X509 *x, const char *startdate, const char *enddate, OPT_S_SERVERPREF, OPT_S_LEGACYRENEG, OPT_S_LEGACYCONN, \ OPT_S_ONRESUMP, OPT_S_NOLEGACYCONN, OPT_S_ALLOW_NO_DHE_KEX, \ OPT_S_STRICT, OPT_S_SIGALGS, OPT_S_CLIENTSIGALGS, OPT_S_GROUPS, \ - OPT_S_CURVES, OPT_S_NAMEDCURVE, OPT_S_CIP...
changed open file function ifstream has disabled its copy constructor
@@ -115,14 +115,15 @@ namespace return outputs; } - inline std::ifstream open_file(std::string path, std::ios_base::openmode mode = std::ios_base::in) + inline void open_file(std::ifstream & input, + std::string path, + std::ios_base::openmode mode = std::ios_base::in) { - std::ifstream input{path, mode}; + input.open(...
Add script/print-json-token-debug-format.c -a flag
// Together with the hexadecimal WUFFS_BASE__TOKEN__ETC constants defined in // token-public.h, this format is somewhat human-readable when piped through a // hex-dump program (such as /usr/bin/hd), printing one token per line. +// Alternatively, pass the -h (--human-readable) flag to this program. +// +// Pass -a (--a...
rtdl: Remove broken assertion from R_X86_64_DTPOFF64
@@ -1192,7 +1192,6 @@ void Loader::_processRela(SharedObject *object, Elf64_Rela *reloc) { case R_X86_64_DTPOFF64: { __ensure(p); __ensure(!reloc->r_addend); - __ensure(p->object()->tlsModel == TlsModel::initial); *((uint64_t *)rel_addr) = p->symbol()->st_value; } break; case R_X86_64_TPOFF64: { @@ -1201,7 +1200,8 @@ v...
ZCLDB: Fix typo for Xiaomi sensitivity attribute manufacturer code
<value name="Mains (single phase) with battery backup" value="0x81"></value> </attribute> <attribute id="0x4000" name="SW Build ID" type="cstring" access="r" required="o" range="0,16"></attribute> - <attribute id="0xff0d" name="Xiaomi Sensitivity" type="u8" access="rw" required="o" mfcode="0x11f5"></attribute> + <attri...
ci: change example simple sniffer test channel
# SPDX-License-Identifier: Apache-2.0 import pytest +from common_test_methods import get_env_config_variable from pytest_embedded import Dut -def _sniffer_packets_check(dut: Dut, packet_num: int) -> None: +def _sniffer_packets_check(dut: Dut, channel: int, packet_num: int) -> None: dut.write('pcap --open -f simple-snif...
[kernel] display a message for an empty matrix
@@ -680,9 +680,15 @@ void SimpleMatrix::display() const std::cout.setf(std::ios::scientific); std::cout.precision(6); + if (size(0) == 0 || size(1) ==0) + { + std::cout << "SimpleMatrix::display(): empty matrix" << std::endl; + } if (_num == 1) + { Siconos::algebra::print_m(*mat.Dense); //std::cout << *mat.Dense << std...
lv_obj: bugfix: free_num and free_p were not copied
@@ -198,6 +198,12 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, lv_obj_t * copy) lv_obj_set_signal_f(new_obj, lv_obj_signal); lv_obj_set_design_f(new_obj, lv_obj_design); + /*Set free data*/ + new_obj->free_num = 0; +#if LV_OBJ_FREE_P != 0 + new_obj->free_p = NULL; +#endif + /*Set attributes*/ new_obj->click_en = 0; n...
os/fs/smartfs : Modify number of cleaned entry properly If next entry or sector is not exist, it clean entry but it doesn't increase count
@@ -2103,6 +2103,7 @@ int smartfs_scan_entry(struct smartfs_mountpt_s *fs, char *map, struct sector_re fdbg("Error marking entry inactive at sector %d\n", firstsector); goto errout; } + info->cleanentries++; } else { /* Make New node of Entry's first sector and put it to queue */ @@ -2146,6 +2147,7 @@ int smartfs_scan_...
OcDevicePathLib: Account for more than one \0-character for PathName
@@ -697,9 +697,19 @@ OcFileDevicePathNameSize ( IN CONST FILEPATH_DEVICE_PATH *FilePath ) { + UINTN Size; + ASSERT (FilePath != NULL); - return (DevicePathNodeLength (FilePath) - SIZE_OF_FILEPATH_DEVICE_PATH); + Size = (DevicePathNodeLength (FilePath) - SIZE_OF_FILEPATH_DEVICE_PATH); + // + // Account for more than one...
Use VFunc show in AgentInspect
@@ -84,14 +84,13 @@ public unsafe partial struct AgentInspect None = 0, Filled = 8, } - [MemberFunction("40 53 48 83 EC 40 48 8B D9 48 8B 49 10 48 8B 01 FF 90 ?? ?? ?? ?? BA")] - public partial void Show(); + public void ExamineCharacter(uint objectID) { RequestObjectID = objectID; RequestSearchCommentOID = objectID; R...
watchdogs sucks
@@ -58,6 +58,7 @@ static int ICACHE_FLASH_ATTR __spi_comm(char *dat, int len, uint32_t *recvData, // give the ST time to be ready, up to 1s for (int i = 0;(gpio_input_get() & (1 << 4)) && i < 100000; i++) { os_delay_us(10); + system_soft_wdt_feed(); } // TODO: handle this better
MEMFS: Ability to exclude a dir during walk
@@ -30,9 +30,9 @@ for directory in dirs: dname = os.path.basename(directory) NAMES.append(dname) - for dirname, _, files in os.walk(directory): + for dirpath, dirnames, files in os.walk(directory): for name in files: - full = '%s/%s' % (dirname, name) + full = '%s/%s' % (dirpath, name) _, ext = os.path.splitext(full) i...
fix modules backends for symlinked plugins
@@ -62,6 +62,7 @@ int ELEKTRA_PLUGIN_FUNCTION (get) (Plugin * handle, KeySet * returned, Key * par Key * modulesRoot = keyNew ("system:/elektra/modules", KEY_END); if (keyCmp (modulesRoot, parentKey) == 0) { + keyDel (modulesRoot); return ELEKTRA_PLUGIN_STATUS_SUCCESS; } @@ -71,21 +72,32 @@ int ELEKTRA_PLUGIN_FUNCTION ...
OcAppleDiskImageLib: Fix chunk offsets.
@@ -255,7 +255,7 @@ OcAppleDiskImageRead ( case APPLE_DISK_IMAGE_CHUNK_TYPE_RAW: { - ChunkData = (Context->Buffer + BlockData->DataOffset + Chunk->CompressedOffset); + ChunkData = (Context->Buffer + Chunk->CompressedOffset); ChunkDataCurrent = (ChunkData + ChunkOffset); CopyMem (BufferCurrent, ChunkDataCurrent, BufferC...
Update numerics/CMakeLists.txt
@@ -154,7 +154,7 @@ if(WITH_FCLIB) message(STATUS "FCLIB can not be found locally. Try to download and install it from github repository.") FetchContent_Declare(fclib - GIT_REPOSITORY git@github.com:FrictionalContactLibrary/fclib.git + GIT_REPOSITORY https://github.com/FrictionalContactLibrary/fclib.git GIT_TAG origin/...
runtimes/singularity: bump to v3.2.1
Summary: Application and environment virtualization Name: %{pname}%{PROJ_DELIM} -Version: 3.2.0 +Version: 3.2.1 Release: 1%{?dist} # https://spdx.org/licenses/BSD-3-Clause-LBNL.html License: BSD-3-Clause-LBNL
netkvm: introduce class for NDIS mutex
@@ -161,6 +161,25 @@ private: CNdisSpinLock& operator= (const CNdisSpinLock&) = delete; }; +class CNdisMutex +{ +public: + CNdisMutex() + { + NDIS_INIT_MUTEX(&m_Mutex); + } + void Lock() + { + NDIS_WAIT_FOR_MUTEX(&m_Mutex); + } + void Unlock() + { + NDIS_RELEASE_MUTEX(&m_Mutex); + } +private: + KMUTEX m_Mutex; +}; + te...
add idt.h to kernel headers
#include <kernel/assert.h> #include <kernel/boot_info.h> #include <kernel/gdt/gdt.h> +#include <kernel/interrupts/idt.h> #define SPIN while (1) {sys_yield(RUNNABLE);} #define SPIN_NOMULTI do {} while (1);
system/camera: fix 'is_image' uninitialized
@@ -266,7 +266,7 @@ static int nxcamera_cmd_output(FAR struct nxcamera_s *pcam, FAR char *parg) int ret; char path[PATH_MAX]; FAR char *ext; - bool isimage; + bool isimage = false; /* First try to open the device directly */
DM: virtio-gpio: add IRQ statistics print each IRQ descriptor interrupts number and all of IRQ descriptors interrupts when UOS requests or releases a GPIO IRQ. Acked-by: Yu Wang
@@ -254,6 +254,7 @@ struct gpio_irq_desc { uint8_t level; /* level value */ uint64_t mode; /* interrupt trigger mode */ void *data; /* virtio gpio instance */ + uint64_t intr_stat; /* interrupts count */ }; struct gpio_irq_chip { @@ -261,6 +262,7 @@ struct gpio_irq_chip { struct gpio_irq_desc descs[VIRTIO_GPIO_MAX_VLIN...
test-suite: disable affinity for superlu_dist tests with mvapich2
@@ -16,6 +16,8 @@ testname="libs/superLU_dist" NODES=2 TASKS=4 +export MV2_ENABLE_AFFINITY=0 + @test "[$testname] PDGSSVX with full (default) options ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" { if [ ! -s pddrive ];then flunk "pddrive binary does not exist"
Correct v1 hq ALPN
@@ -39,12 +39,12 @@ enum class AppProtocol { Perf, }; -constexpr uint8_t HQ_ALPN[] = "\x5hq-29\x5hq-30\x5hq-31\x5hq-32\x2hq"; +constexpr uint8_t HQ_ALPN[] = "\x5hq-29\x5hq-30\x5hq-31\x5hq-32\xahq-interop"; constexpr uint8_t HQ_ALPN_DRAFT29[] = "\x5hq-29"; constexpr uint8_t HQ_ALPN_DRAFT30[] = "\x5hq-30"; constexpr uint...
cooja: disable slip-arch with NULLNET The file uses slip_input_byte which resides in slip. Slip uses the rxbuf from uIP, and that is not available with NULLNET.
* */ +#if !defined(NETSTACK_CONF_WITH_NULLNET) || !NETSTACK_CONF_WITH_NULLNET + #include "dev/slip.h" #include "dev/rs232.h" @@ -37,3 +39,4 @@ slip_arch_init() rs232_set_input(slip_input_byte); } +#endif
Add spacing to process general groupbox
@@ -90,7 +90,7 @@ BEGIN EDITTEXT IDC_FILENAME,15,65,191,12,ES_AUTOHSCROLL | ES_READONLY PUSHBUTTON "Inspect",IDC_INSPECT,210,64,17,15,BS_ICON PUSHBUTTON "Open",IDC_OPENFILENAME,230,64,17,15,BS_ICON - GROUPBOX "Process",IDC_PROCESS,7,115,246,139 + GROUPBOX "Process",IDC_PROCESS,7,112,246,142 LTEXT "Command line:",IDC_ST...
Update cpp wrapper tests
@@ -3082,6 +3082,19 @@ cpp_wrapper_getsuite_4( PLANCK_UNIT_ADD_TO_SUITE(suite, test_master_table_dictionary_create_delete_all_2); PLANCK_UNIT_ADD_TO_SUITE(suite, test_master_table_dictionary_open_close_all_1); PLANCK_UNIT_ADD_TO_SUITE(suite, test_master_table_dictionary_open_close_all_2); + + return suite; +} + +/** +@...
compiled schema BUGFIX when validating empty leafref path
@@ -2674,6 +2674,12 @@ lys_compile_leafref_validate(struct lysc_ctx *ctx, struct lysc_node *startnode, iter = 0; id = leafref->path; + + if (!*id) { + LOGVAL(ctx->ctx, LY_VLOG_STR, ctx->path, LYVE_SYNTAX_YANG, "Empty leafref path."); + return LY_EVALID; + } + while(*id && (ret = lys_path_token(&id, &prefix, &prefix_len...
OcAppleDiskImageLib: Don't zero the ZLIB buffer after allocation as it is required to be entirely filled.
@@ -264,7 +264,7 @@ OcAppleDiskImageRead ( case APPLE_DISK_IMAGE_CHUNK_TYPE_ZLIB: { - ChunkData = AllocateZeroPool (ChunkTotalLength); + ChunkData = AllocatePool (ChunkTotalLength); if (ChunkData == NULL) { return FALSE; }
Do not ignore EVP_PKEY_print_public/EVP_PKEY_print_private return values
@@ -186,23 +186,29 @@ int pkey_main(int argc, char **argv) if (!noout) { if (outformat == FORMAT_PEM) { if (pubout) { - PEM_write_bio_PUBKEY(out, pkey); + if (!PEM_write_bio_PUBKEY(out, pkey)) + goto end; } else { assert(private); - if (traditional) - PEM_write_bio_PrivateKey_traditional(out, pkey, cipher, + if (tradit...
refactors event-log replay preparation
@@ -667,12 +667,22 @@ _pier_disk_read_header_complete(u3_disk* log_u, u3_noun dat) } /* _pier_disk_read_header(): -** XX async -** XX very slow */ static void _pier_disk_read_header(u3_disk* log_u) { + // XX disabled + // + // This is very, very slow. + // The one situation in which we currently *need* it - + // full l...
Usage guide grammar fix
@@ -40,10 +40,8 @@ cd openssl-1.1.0a make make install -# Make to the main s2n directory -cd ../../ - # Build s2n +cd ../../ make ``` @@ -71,10 +69,8 @@ make depend make make install -# Make to the main s2n directory -cd ../../ - # Build s2n +cd ../../ make ``` @@ -97,10 +93,8 @@ cd libressl-x.y.z ./configure --prefix=...
Fix location of misleading comment Fixes
@@ -446,10 +446,10 @@ process_dio_from_current_dag(uip_ipaddr_t *from, rpl_dio_t *dio) return; } - /* Add neighbor to RPL neighbor table */ nbr = rpl_neighbor_get_from_ipaddr(from); last_dtsn = nbr != NULL ? nbr->dtsn : RPL_LOLLIPOP_INIT; + /* Add neighbor to RPL neighbor table */ if(!update_nbr_from_dio(from, dio)) { ...
Fix broken test: eccodes_t_definitions
-label "Unstructured Grid Mapping" +# ECMWF Unstructured Grid Mapping concept_nofail unstructuredGridType(unknown,"unstructuredGridType.def",conceptsLocalDirAll,conceptsMasterDir); concept_nofail unstructuredGridSubtype(unknown,"unstructuredGridSubtype.def",conceptsLocalDirAll,conceptsMasterDir); concept_nofail unstruc...
cmake: add missing dependency to package config
@PACKAGE_INIT@ -# import our export targets to user of our library -include("${CMAKE_CURRENT_LIST_DIR}/iotivity-liteTargets.cmake") - # If the CMakeLists.txt puts target dependencies to the public build INTERFACE # (i.e. by using target_link_libraries(mytarget PUBLIC|INTERFACE Boost)) # we need to find this dependent t...
Removing left over debugging statement. Uncommenting needed line
@@ -23,7 +23,6 @@ then v_patch=${version_list[2]} v_build=${version_list[3]} ((v_build+=1)) - echo "BUild number is $v_build" new_tag="$v_major.$v_minor.$v_patch.$v_build" fi @@ -31,4 +30,4 @@ echo "Tagging new verson: $new_tag" git tag $new_tag echo "Pushing new tag..." -#git push origin --tags +git push origin --tags...
fixes ASN.1 DER unsigned integer en/de-coding
++ lem :: element bytes ^- (list @) ?- pec - [%int *] ?: (lte p.pec 127) :: XX unsigned only! - [p.pec ~] - [0 (rip 3 p.pec)] + [%int *] =/ a (flop (rip 3 p.pec)) :: XX unsigned only! + ?~ a [0 ~] + ?:((lte i.a 127) a [0 a]) :: [%oct *] (rip 3 p.pec) [%nul *] ~ %+ cook |*(a=* `spec:asn1`a) ;~ pose %+ stag %int - %+ bos...
Register bundled fonts earlier in UIApplicationMainInit * Register bundled fonts earlier in UIApplicationMainInit Fixes * slightly lower - autorelease pool needs to be created first
@@ -145,6 +145,25 @@ int UIApplicationMainInit(NSString* principalClassName, NSRunLoop* runLoop = [NSRunLoop currentRunLoop]; UIApplication* uiApplication; + // Register fonts listed in app's Info.plist, from the app's bundle + // This needs to happen before [UIApplication new]/[objc_getClass(pClassName) new] below, + ...
Fix mobile UI part 1
} #facets_mobile ul{ + width: 100%; margin-top: 2px; padding-left: 8%; border:0px; border-bottom:0px; + box-sizing: border-box; + -moz-box-sizing: border-box; } #facets_mobile li{ #facets_mobile .facet.tableWidget.widget .facetName{ position:relative; width:90%; - padding:5%; + padding: 5px 5% !important; font-size:1.1...
BugID:19249628:fix gatewayapp build error
@@ -167,7 +167,7 @@ int gateway_cloud_publish(udata_type_e type, void* pdata, uint32_t len) } switch (type) { - + #ifdef PT_SENSOR case UDATA_SERVICE_ACC: { accel_data_t *acc = (accel_data_t *)pdata; ret = sprintf(param, PROP_POST_FORMAT_ACC, ((float)acc->data[0]/1000), ((float)acc->data[1]/1000), ((float)acc->data[2]/...
Cirrus: Enable Network plugin on FreeBSD
@@ -11,8 +11,7 @@ task: script: - mkdir build && cd build - # - The test for the network plugin fails on FreeBSD: https://issues.libelektra.org/2322 - - cmake -GNinja -DPLUGINS='ALL;-network' -DTARGET_PLUGIN_FOLDER="" -DCMAKE_SKIP_INSTALL_RPATH=ON .. + - cmake -GNinja -DPLUGINS='ALL' -DTARGET_PLUGIN_FOLDER="" -DCMAKE_S...
HLS Sponge: Redo RETC
@@ -138,15 +138,19 @@ void action_wrapper(snap_membus_t *din_gmem, #pragma HLS INTERFACE s_axilite port=Action_Output offset=0x104 bundle=ctrl_reg #pragma HLS INTERFACE s_axilite port=return bundle=ctrl_reg - snapu32_t ReturnCode = 0; + snapu32_t ReturnCode = RET_CODE_OK; uint64_t checksum = 0; uint32_t slice = 0; uint...
Added one more missing "fall through" comment in tests.
@@ -72,6 +72,7 @@ nxt_lvlhsh_unit_test_add(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto, case NXT_DECLINED: nxt_thread_log_alert("lvlhsh unit test failed: " "key %p is already in hash", key); + /* Fall through. */ default: return NXT_ERROR; }
Fix errors in EVP_PKEY_fromdata examples The EVP_PKEY_fromdata man page has some code examples with various errors in them. This fixes those errors.
@@ -138,6 +138,7 @@ TODO Write a set of cookbook documents and link to them. #include <openssl/evp.h> #include <openssl/param_build.h> + #include <openssl/ec.h> /* * Fixed data to represent the private and public key. @@ -160,12 +161,6 @@ TODO Write a set of cookbook documents and link to them. 0x8f, 0xb9, 0x33, 0x6e, ...
Bump build.sbt
@@ -313,6 +313,7 @@ lazy val firechip = (project in file("generators/firechip")) ) lazy val fpga_shells = (project in file("./fpga/fpga-shells")) .dependsOn(rocketchip, sifive_blocks) + .settings(libraryDependencies ++= rocketLibDeps.value) .settings(commonSettings) lazy val fpga_platforms = (project in file("./fpga"))...
feat: add a check to make sure fast_init is called only once
@@ -40,12 +40,24 @@ init(char token[]) client* fast_init(const char config_file[]) { - // This will be returned from this function - // it has to be static. It also means we can - // only have one setting per main. + /* + * settings will be returned from this function, + * it has to be static. It also means we can + * ...
Enable CFG builds
<TreatWarningAsError>true</TreatWarningAsError> <MultiProcessorCompilation>true</MultiProcessorCompilation> <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> + <ControlFlowGuard>Guard</ControlFlowGuard> </ClCompile> <Link> <AdditionalDependencies>aclui.lib;comctl32.lib;iphlpapi.lib;no...
VOM: memset DHCP hostname in VPP API
@@ -48,6 +48,7 @@ bind_cmd::issue(connection& con) payload.pid = getpid(); payload.want_dhcp_event = 1; + memset(payload.hostname, 0, sizeof(payload.hostname)); memcpy(payload.hostname, m_hostname.c_str(), std::min(sizeof(payload.hostname), m_hostname.length()));
fix phy init memory leak
@@ -352,6 +352,7 @@ const esp_phy_init_data_t* esp_phy_get_init_data(void) PHY_INIT_MAGIC, sizeof(phy_init_magic_post)) != 0) { #ifndef CONFIG_ESP32_PHY_DEFAULT_INIT_IF_INVALID ESP_LOGE(TAG, "failed to validate PHY data partition"); + free(init_data_store); return NULL; #else ESP_LOGE(TAG, "failed to validate PHY data ...
add luat_wlan.md
"path": "." } ], - "settings": {} + "settings": { + "files.associations": { + "algorithm": "c", + "concepts": "c", + "cstddef": "c", + "cstdio": "c", + "cstdlib": "c", + "cstring": "c", + "cwchar": "c", + "initializer_list": "c", + "new": "c", + "type_traits": "c", + "utility": "c", + "xmemory": "c", + "xutility": "c" ...
Validate ethereum pool extra config
@@ -27,7 +27,9 @@ using System.Reactive.Threading.Tasks; using System.Threading.Tasks; using Autofac; using AutoMapper; +using MiningCore.Blockchain.Ethereum.Configuration; using MiningCore.Configuration; +using MiningCore.Extensions; using MiningCore.JsonRpc; using MiningCore.Mining; using MiningCore.Notifications; @@...