message
stringlengths
6
474
diff
stringlengths
8
5.22k
Take unicast Hellos into account when scheduling neighbours check.
@@ -248,6 +248,8 @@ check_neighbours() if(neigh->hello.interval > 0) msecs = MIN(msecs, neigh->hello.interval * 10); + if(neigh->uhello.interval > 0) + msecs = MIN(msecs, neigh->uhello.interval * 10); if(neigh->ihu_interval > 0) msecs = MIN(msecs, neigh->ihu_interval * 10); neigh = neigh->next;
resolver: fix snprintf call
@@ -73,13 +73,13 @@ static void elektraGenTempFilename (ElektraResolved * handle, ElektraResolveTemp { tmpFilenameSize = strlen (handle->fullPath) + POSTFIX_SIZE; tmpFile = elektraCalloc (tmpFilenameSize); - len = snprintf (tmpFile, tmpFilenameSize - POSTFIX_SIZE, "%s", handle->fullPath); + len = snprintf (tmpFile, str...
Fix bogus order of error checks in new channel_binding code. Coverity pointed out that it's pretty silly to check for a null pointer after we've already dereferenced the pointer. To fix, just swap the order of the two error checks. Oversight in commit
@@ -502,18 +502,18 @@ pg_SASL_init(PGconn *conn, int payloadlen) selected_mechanism = SCRAM_SHA_256_NAME; } - if (conn->channel_binding[0] == 'r' && /* require */ - strcmp(selected_mechanism, SCRAM_SHA_256_PLUS_NAME) != 0) + if (!selected_mechanism) { printfPQExpBuffer(&conn->errorMessage, - libpq_gettext("channel bind...
sdl: render: Rename GetRendererOutputSize() to GetOutputSize()
@@ -133,7 +133,7 @@ func (renderer *Renderer) GetInfo() (RendererInfo, error) { } // Renderer (https://wiki.libsdl.org/SDL_GetRendererOutputSize) -func (renderer *Renderer) GetRendererOutputSize() (w, h int, err error) { +func (renderer *Renderer) GetOutputSize() (w, h int, err error) { _w := (*C.int)(unsafe.Pointer(&w...
system/libuv: Fix the undefined reference to `uv__strscpy'
@@ -69,7 +69,7 @@ CSRCS += posix-hrtime.c CSRCS += posix-poll.c CSRCS += uv-data-getter-setters.c CSRCS += version.c -ifneq ($(CONFIG_LIBUV_UTILS_TEST),) +ifeq ($(CONFIG_LIBUV_UTILS_TEST),) CSRCS += idna.c CSRCS += strscpy.c endif
Fix compilation when neither INET nor INET6 are defined. Thanks to Christian Wright for reporting the issue in
#ifdef __FreeBSD__ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.c 339221 2018-10-07 15:13:47Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.c 340179 2018-11-06 12:55:03Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -3839,6 +3839,7 @@ sctp_process_cmsgs_for_init(struct s...
Support SRCS(table.ssqls) with metrika/core/tools/ssqls.
@@ -3256,6 +3256,10 @@ macro _SRC("sc", SRC, SRCFLAGS...) { .CMD=${tool:"tools/domschemec"} --in ${input:SRC} --out ${output:SRC.h} ${output_include;hide:"util/generic/strbuf.h"} ${output_include;hide:"util/generic/string.h"} ${output_include;hide:"util/generic/vector.h"} ${output_include;hide:"util/string/cast.h"} ${S...
Fix bug introduced by merge a global container type was changed from map to vector and one of the merges was still using the map type. Tested-by: IoTivity Jenkins
@@ -513,7 +513,7 @@ void jni_rep_set_text_string(const char* key, const char* value) { user_data->env = jenv; user_data->obj = JCALL1(NewGlobalRef, jenv, $input); JCALL1(DeleteLocalRef, jenv, $input); - jni_callbacks_map.insert(std::pair<jobject, jni_callback_data*>(user_data->obj, user_data)); + jni_callbacks_vector.p...
apps/speed: discard useless protoypes as these methods are defines before being used.
@@ -139,69 +139,6 @@ static volatile int run = 0; static int mr = 0; static int usertime = 1; -#ifndef OPENSSL_NO_MD2 -static int EVP_Digest_MD2_loop(void *args); -#endif - -#ifndef OPENSSL_NO_MDC2 -static int EVP_Digest_MDC2_loop(void *args); -#endif -#ifndef OPENSSL_NO_MD4 -static int EVP_Digest_MD4_loop(void *args);...
user app now sends advertisements for 50 seconds, turns them off for 10 seconds and repeats indefinitely
@@ -37,11 +37,15 @@ int main(void) //int ret = subscribe_tx(callback, NULL); //ret = tx_data(packet, BUF_SIZE); //int ch = 39; - delay_ms(5000); + for(;;){ + delay_ms(10000); printf("after delay \r\n"); printf("return from start_ble_advertisement %d\r\n",start_ble_advertisement(packet,BUF_SIZE)); - delay_ms(2000); + de...
refactor fenced-code postprocessing into ++parse
?: cont.a line ..$ :: - ++ parse-hoon :: hoon in markdown - ^+ . - =/ vex/(like marl:twig) (expr:parse loc txt) + ++ read-one :: read %one item + |= fel/$-(nail (like tarp)) ^+ +> + =/ vex/(like tarp) (fel loc txt) ?~ q.vex - ..$(err `p.vex) + +>.$(err `p.vex) =+ [res loc txt]=u.q.vex - %_ ..$ - loc loc - txt txt - q.c...
roller: parse cryptoSuite as cord
%- ot :~ ['encrypt' (cu to-hex so)] ['auth' (cu to-hex so)] - ['cryptoSuite' no] + ['cryptoSuite' so] ['breach' bo] == ::
Fix missing symbols in no-cms and no-ts build Fixes
LIBS=../../libcrypto -# compile ess_lib.c when cms or ts are enabled -IF[{- !$disabled{'cms'} or !$disabled{'ts'} -}] - SOURCE[../../libcrypto]= ess_lib.c -ENDIF - -SOURCE[../../libcrypto]= ess_asn1.c ess_err.c - +SOURCE[../../libcrypto]= ess_asn1.c ess_err.c ess_lib.c
Add optionally the paths to V8 and UV in find nodejs cmake script.
@@ -441,7 +441,15 @@ if(NOT NODEJS_LIBRARY) endif() endif() -set(NODEJS_INCLUDE_DIRS "${NODEJS_INCLUDE_DIR}" "${NODEJS_V8_INCLUDE_DIR}" "${NODEJS_UV_INCLUDE_DIR}") +set(NODEJS_INCLUDE_DIRS "${NODEJS_INCLUDE_DIR}") + +if(NODEJS_V8_INCLUDE_DIR) + set(NODEJS_INCLUDE_DIRS "${NODEJS_INCLUDE_DIRS}" "${NODEJS_V8_INCLUDE_DIR}"...
doc: Update acrn edk2 download path Update acrn edk2 source code download path for WaaG secure boot feature
@@ -436,9 +436,12 @@ Compile OVMF with secure boot support :: - git clone -b ovmf-acrn-waag ssh://git@gitlab.devtools.intel.com:29418/projectacrn/edk2.git + git clone https://github.com/projectacrn/acrn-edk2.git + + cd acrn-edk2 + + git checkout -b ovmf b64fe247c434e2a4228b9804c522575804550f82 - cd edk2 git submodule u...
Destruct MyTmGxactLocal->waitGxids with list_free() instead of pfree(). MyTmGxactLocal->waitGxids is a List of gxids, but it's currently destructed with pfree(). This commit changes it to list_free().
@@ -1308,7 +1308,7 @@ doDispatchDtxProtocolCommand(DtxProtocolCommand dtxProtocolCommand, int lastRepeat = -1; if (MyTmGxactLocal->waitGxids) { - pfree(MyTmGxactLocal->waitGxids); + list_free(MyTmGxactLocal->waitGxids); MyTmGxactLocal->waitGxids = NULL; } @@ -1417,7 +1417,7 @@ resetGxact(void) MyTmGxactLocal->isOnePhas...
Fix QUIC Statistics Size Helpers
@@ -492,8 +492,8 @@ typedef struct QUIC_STATISTICS_V2 { #define QUIC_STRUCT_SIZE_THRU_FIELD(Struct, Field) \ (FIELD_OFFSET(Struct, Field) + sizeof(((Struct*)0)->Field)) -#define QUIC_STATISTICS_V2_SIZE_1 QUIC_STRUCT_SIZE_THRU_FIELD(QUIC_STATISTICS_V2, KeyUpdateCount) -#define QUIC_STATISTICS_V2_SIZE_2 QUIC_STRUCT_SIZE_...
Update bug_report.md Improved template to be more OpenBOR specific.
@@ -6,25 +6,31 @@ about: Create a report to help us improve Please complete the following template to help us investigate your issue. Developer time is very limited - incomplete issue reports may be ignored and deleted. -**Describe the bug** -A clear and concise description of what the bug is. +Note: Legacy builds are ...
build UPDATE abi-check revision updated
@@ -356,7 +356,7 @@ gen_doc("${DOXY_FILES}" ${SYSREPO_VERSION} ${SYSREPO_DESC} ${PROJECT_LOGO}) # generate API/ABI report if ("${BUILD_TYPE_UPPER}" STREQUAL "ABICHECK") - lib_abi_check(sysrepo "${LIB_HEADERS}" ${SYSREPO_SOVERSION_FULL} f1e4bbf581fc8f8c7daf1cdf31b80c6e682200cf) + lib_abi_check(sysrepo "${LIB_HEADERS}" $...
Fix warnings. Remove debug code
@@ -1241,9 +1241,10 @@ int* get_common_parallel_dims_for_sccs(Scc scc1, Scc scc2, PlutoProg *prog) npar = prog->npar; stmt1 = -1; + stmt2 = -1; parallel_dims = NULL; - for (i=0; i<(scc1.size && stmt1 == -1); i++) { + for (i=0; (i<scc1.size) && (stmt1 == -1); i++) { for (j=0; j<scc2.size; j++) { if (is_adjecent(ddg, scc...
[WIP pimpl] Removed ambiguous declarations for setter and other fixes. ambiguous declarations make from parameter of setter function const replaced ///// with /* ----- */ for C89 compliance
@@ -398,7 +398,7 @@ tsError ts_bspline_get_ctrlp(tsBSpline spline, tsReal **ctrlp); * @param ctrlp * The values to deep copy. */ -void ts_bspline_set_ctrlp(tsBSpline spline, tsReal *ctrlp); +void ts_bspline_set_ctrlp(tsBSpline spline, const tsReal *ctrlp); /** * Returns the number of knots of \p spline. @@ -433,9 +433,...
pyocf: wait for pending I/O before cache stop
@@ -409,6 +409,7 @@ class Cache: [("cache", c_void_p), ("priv", c_void_p), ("error", c_int)] ) + self.owner.lib.ocf_cache_wait_for_io_finish(self.cache_handle) self.owner.lib.ocf_mngt_cache_stop(self.cache_handle, c, None) c.wait()
garg: Enable CONFIG_LTO Enable CONFIG_LTO (link time optimizations) to free up flash space. TEST=Build garg BRANCH=None
#ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H +/* Free up flash space */ +#define CONFIG_LTO + /* Select Baseboard features */ #define VARIANT_OCTOPUS_EC_NPCX796FB #define VARIANT_OCTOPUS_CHARGER_ISL9238
u3: specially defines c3_assert for ASan compatiblity
**/ /* Assert. Good to capture. */ + +# if defined(ASAN_ENABLED) && defined(__clang__) +# define c3_assert(x) \ + do { \ + if (!(x)) { \ + c3_cooked(); \ + assert(x); \ + } \ + } while(0) +# else # define c3_assert(x) \ do { \ if (!(x)) { \ assert(x); \ } \ } while(0) +#endif /* Stub. */
Fix datafari-community/datafari#858 Keep only a single date for Solr date fields
@@ -23,6 +23,7 @@ import java.net.URLDecoder; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.util.ArrayList; +import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; @@ -318,6 +319,26 @@ public class DatafariUpdateProcessor extends UpdateReq...
arvo: removes $curd, moves $card and $ovum to top level
+| %interface :: :: $ball: dynamic kernel action -:: $curd: tagged, untyped event +:: $card: tagged, untyped event :: $duct: causal history :: +hobo: %soft task builder :: $goof: crash label and trace XX fail/ruin/crud/flaw/lack/miss :: +wite: kernel action/error builder :: +$ ball (wite [vane=term task=maze] maze) -+$...
additional notif center binding
@@ -233,6 +233,7 @@ static Button buttons[] = { { ClkStatusText, MODKEY, Button3, spawn, {.v = spoticli } }, { ClkStatusText, MODKEY, Button4, spawn, {.v = upbright } }, { ClkStatusText, MODKEY, Button5, spawn, {.v = downbright } }, + { ClkRootWin, MODKEY, Button3, spawn, {.v = notifycmd } }, { ClkRootWin, 0, Button1, ...
gtpu: fix missing trace issue Type: fix
@@ -470,6 +470,22 @@ gtpu_encap_inline (vlib_main_t * vm, tr->teid = t1->teid; } + if (PREDICT_FALSE(b2->flags & VLIB_BUFFER_IS_TRACED)) + { + gtpu_encap_trace_t *tr = + vlib_add_trace (vm, node, b2, sizeof (*tr)); + tr->tunnel_index = t2 - gtm->tunnels; + tr->teid = t2->teid; + } + + if (PREDICT_FALSE(b3->flags & VLIB...
Add missing range checks on number of multi primes in rsa_ossl_mod_exp
@@ -604,7 +604,7 @@ static int rsa_ossl_public_decrypt(int flen, const unsigned char *from, static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) { - BIGNUM *r1, *m1, *vrfy, *r2, *m[RSA_MAX_PRIME_NUM]; + BIGNUM *r1, *m1, *vrfy, *r2, *m[RSA_MAX_PRIME_NUM - 2]; int ret = 0, i, ex_primes = 0; RSA...
Replace hard-coded 1e-12 by macro SIN_DTHETA2_CUTOFF
#define NUM_ATOMS_CRITERION_FOR_OPENMP 1000 #define ANGLE_REDUCE_RATE 0.95 +#define SIN_DTHETA2_CUTOFF 1e-12 #define NUM_ATTEMPT 100 #define PI 3.14159265358979323846 /* Tolerance of angle between lattice vectors in degrees */ @@ -1049,7 +1050,7 @@ static int is_identity_metric(SPGCONST double metric_rotated[3][3], len...
Fix gparray to see standby as different from mirrors The gparray object was taking the existence of a standby as evidence that the cluster had mirrors.
@@ -1036,8 +1036,8 @@ class GpArray: (dbid, content, role, preferred_role, mode, status, hostname, address, port, datadir) = row - # Check if mirrors exist - if preferred_role == ROLE_MIRROR: + # Check if segment mirrors exist + if preferred_role == ROLE_MIRROR and content != -1: hasMirrors = True # If we have segments...
[Rust] axle_rt exposes amc calls to allocate phys regions
@@ -6,6 +6,8 @@ use axle_rt_derive::ContainsEventField; const AMC_CORE_SERVICE_NAME: &str = "com.axle.core"; +/* Map physical range */ + #[repr(C)] #[derive(Debug, ContainsEventField)] pub struct AmcMapPhysicalRangeRequest { @@ -50,3 +52,60 @@ pub fn amc_map_physical_range(phys_base: usize, size: usize) -> usize { amc_...
Add macro TS_DEPRECATED to mark functions as deprecated. Refs:
+/*! @name Deprecation + * + * The macro \c TS_DEPRECATED can be used to mark functions as + * deprecated. + * + * @{ + */ +#if defined(__GNUC__) || defined(__clang__) +#define TS_DEPRECATED __attribute__((deprecated)) +#elif defined(_MSC_VER) +#define TS_DEPRECATED __declspec(deprecated) +#elif defined(SWIG) +#define ...
Tests: added tests for the large header buffer settings. Added tests for the "large_header_buffer_size" and "large_header_buffers" configuration options.
@@ -10,6 +10,66 @@ from unit.utils import sysctl class TestSettings(TestApplicationPython): prerequisites = {'modules': {'python': 'any'}} + def test_settings_large_header_buffer_size(self): + self.load('empty') + + def set_buffer_size(size): + assert 'success' in self.conf( + {'http': {'large_header_buffer_size': size...
Makefile: enable -Wunused-const-variable The compilation tests pass so this might not be an issue any longer.
@@ -64,8 +64,6 @@ TARGET_UPPERCASE := ${strip ${shell echo $(TARGET) | sed y!$(LOWERCASE)!$(UPPERC CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1 CFLAGS += -DCONTIKI_TARGET_STRING=\"$(TARGET)\" -CFLAGS += -Wno-unused-const-variable - LDFLAGS_WERROR ?= -Wl,--fatal-warnings ifeq ($(WERROR),1)
[Changelog.md] axe OpenDuet usb improvment point
@@ -14,7 +14,6 @@ OpenCore Changelog - Fixed macserial issues when processing 2021 year serials - Added advanced error checking in ocvalidate utility - Added `SetupDelay` to configure audio setup delay -- Improved Duet USB legacy management for supported controllers #### v0.6.4 - Added `BlacklistAppleUpdate` to fix mac...
Fix bug with outdent (col -> top)
:: =/ eat-newline +>(txt t.txt, loc [+(p.loc) 1]) =/ saw look:eat-newline - =/ cont - ?| ?=($~ saw) - ?=($done sty.u.saw) - (gte col.u.saw col) + =/ cont :: continue? + ?| ?=($~ saw) :: line is blan + ?=($done sty.u.saw) :: end of input + (gte col.u.saw top) :: no outdent == ?: cont [[lin &] eat-newline]
ACRN: xHCI: Check the value of Ring Segment Size Flow Table 6-95 from xHCI spec, Ring Segment Size defines the number of TRBs supported by the ring segment, valid values for this field are 16 to 4096.
@@ -1836,6 +1836,11 @@ pci_xhci_insert_event(struct pci_xhci_vdev *xdev, erdp = rts->intrreg.erdp & ~0xF; erst = &rts->erstba_p[rts->er_enq_seg]; + if (erst->dwRingSegSize < 16 || erst->dwRingSegSize > 4096) { + UPRINTF(LDBG, "xHCI: ERSTSZ is not valiad: %u\n", + erst->dwRingSegSize); + return -EINVAL; + } erdp_idx = (...
interface: calc skeleton size for safari
@@ -7,7 +7,7 @@ export function Body( ) { const { children, ...boxProps } = props; return ( - <Box fontSize={0} px={[0, 3]} pb={[0, 3]} height="100%" width="100%"> + <Box fontSize={0} px={[0, 3]} pb={[0, 3]} height="calc(100vh - 64px)" width="100%"> <Box bg="white" height="100%"
[core] sock_addr_from_buffer_hints_numeric unused comment out sock_addr_from_buffer_hints_numeric(); currently unused
@@ -652,6 +652,7 @@ int sock_addr_from_str_numeric(sock_addr * const restrict saddr, const char * co } +#if 0 /* unused */ int sock_addr_from_buffer_hints_numeric(sock_addr * const restrict saddr, socklen_t * const restrict len, const buffer * const restrict b, int family, unsigned short port, log_error_st * const rest...
Jenkins: Add release promotion stage.
@Library("cmsis") +import com.arm.dsg.cmsis.jenkins.ArtifactoryHelper DOCKERINFO = [ 'staging': [ @@ -24,6 +25,7 @@ dockerinfo = DOCKERINFO['production'] isPrecommit = (JOB_BASE_NAME == 'pre_commit') isPostcommit = (JOB_BASE_NAME == 'post_commit') isNightly = (JOB_BASE_NAME == 'nightly') +isRelease = (JOB_BASE_NAME == ...
Remove semicolon after do-while in _EL_CLEANUP
#define _EL_CLEANUP(ctx) do { \ if ((ctx)->ev.cleanup) (ctx)->ev.cleanup((ctx)->ev.data); \ ctx->ev.cleanup = NULL; \ - } while(0); + } while(0) static inline void refreshTimeout(redisAsyncContext *ctx) { #define REDIS_TIMER_ISSET(tvp) \
Adjust v12 release notes for reversion of log_statement_sample_rate. Necessary, not optional, because dangling link prevents relnotes from building.
@@ -1133,20 +1133,17 @@ Author: Thomas Munro <tmunro@postgresql.org> <listitem> <!-- Author: Alvaro Herrera <alvherre@alvh.no-ip.org> -2018-11-29 [88bdbd3f7] Add log_statement_sample_rate parameter -Author: Alvaro Herrera <alvherre@alvh.no-ip.org> 2019-04-03 [799e22034] Log all statements from a sample of transactions ...
added another link to rt2x00queue_flush_queue warning
@@ -14,6 +14,7 @@ or dmesg show this error: [67801.029527] ------------[ cut here ]------------ it seems to be a kernel issue that hcxdumptool isn't able to handle, automaticly: +https://bbs.archlinux.org/viewtopic.php?id=237028 https://bugs.openwrt.org/index.php?do=details&task_id=929&opened=169&status%5B0%5D= https:/...
Benchmark: Add basic tutorial
@@ -30,6 +30,7 @@ provides. - [Notifications](notifications.md) - [High Level API](/src/libs/highlevel/README.md) - [Command Line Options](command-line-options.md) +- [Benchmarking](benchmarking.md) ## System Administrators
clay: %limb instead of %wing
(with-faces old+old sam+sam ~) :+ %sgzp !,(*hoon old=old) :+ %sgzp !,(*hoon sam=sam) - :+ %tsld [%wing ~[b]] + :+ %tsld [%limb b] !, *hoon ~(grow old sam) :: try direct +grab =/ rab %- mule |. %+ slap new - :+ %tsld [%wing ~[a]] - [%wing ~[%grab]] + :+ %tsld [%limb a] + [%limb %grab] ?: &(?=(%& -.rab) ?=(^ q.p.rab)) :_...
u3: moves _n_swap() next to other stack ops
@@ -1485,6 +1485,19 @@ _n_rewo(c3_y* buf, c3_w* ip_w) return one | (two << 8) | (tre << 16) | (qua << 24); } +/* _n_swap(): swap two items on the top of the stack, return pointer to top + */ +static inline u3_noun* +_n_swap(c3_ys mov, c3_ys off) +{ + u3_noun* top = _n_peek(off); + u3_noun* up = _n_peet(mov, off); + u3_...
Updated Windows section on README.md.
@@ -177,9 +177,15 @@ alternative option below. #### Windows #### -GoAccess can be used in Windows through Cygwin. -See Cygwin's <a href="https://goaccess.io/faq#installation">packages</a>. Or -through the Linux Subsystem on Windows 10. +[CowAxess](https://goaccess.io/download#distro) is a GoAccess implementation +for W...
[mod_webdav] limit webdav_propfind_dir() recursion
@@ -2881,6 +2881,7 @@ typedef struct webdav_propfind_bufs { int propname; int lockdiscovery; int depth; + int recursed; struct stat st; } webdav_propfind_bufs; @@ -3273,6 +3274,10 @@ webdav_propfind_resource (const webdav_propfind_bufs * const restrict pb) static void webdav_propfind_dir (webdav_propfind_bufs * const r...
Fix Readme update for version 1.16.0
**Cyber Engine Tweaks** is a framework giving modders a way to script mods using [Lua](https://www.lua.org/) with access to all the internal scripting features. It also comes with a [Dear ImGui](https://github.com/ocornut/imgui/tree/v1.82) to provide GUI for different mods you are using, along with console and TweakDB ...
board/lindar/battery.c: Format with clang-format BRANCH=none TEST=none
@@ -129,7 +129,9 @@ __override bool board_battery_is_initialized(void) bool batt_initialization_state; int batt_status; - batt_initialization_state = (battery_status(&batt_status) ? false : + batt_initialization_state = + (battery_status(&batt_status) ? + false : !!(batt_status & STATUS_INITIALIZED)); return batt_initi...
pkg/gadgets: Remove io/iotuil from snapshot process tracer. This package is deprecated since golang 1.16 [0]. Its functions are now part of os and io. [0]
@@ -18,7 +18,6 @@ import ( "bufio" "errors" "fmt" - "io/ioutil" "os" "path/filepath" "strconv" @@ -171,7 +170,7 @@ func getPidEvents(config *Config, enricher gadgets.DataEnricher, pid int) ([]*pr } tid := int(tid64) - commBytes, _ := ioutil.ReadFile(filepath.Join(hostRoot, fmt.Sprintf("/proc/%d/comm", tid))) + commByte...
Should use op_righttype in ExecIndexBuildScanKeys(). This removes a GPDB_91_MERGE_FIXME. The delivered value/argument is from the right-hand so type should be also right-hand.
@@ -979,8 +979,7 @@ ExecIndexBuildScanKeys(PlanState *planstate, Relation index, flags, varattno, /* attribute number */ op_strategy, /* op's strategy */ - /* GPDB_91_MERGE_FIXME: why do we use op_lefttype here, when upstream uses op_righttype? */ - op_lefttype, /* strategy subtype */ + op_righttype, /* strategy subtyp...
made echo test more stable
@@ -14,9 +14,9 @@ def heartbeat_thread(p): while True: try: p.send_heartbeat() - time.sleep(1) + time.sleep(0.5) except Exception: - break + continue # Resend every CAN message that has been received on the same bus, but with the data reversed if __name__ == "__main__":
naive: subscribe to azimuth agent
=. contract naive:local-contracts:azimuth =. chain-id chain-id:local-contracts:azimuth :_ this - [%pass /azimuth %agent [our.bowl %azimuth] %watch /(scot %p our.bowl)]~ + [%pass /azimuth %agent [our.bowl %azimuth] %watch /aggregator]~ :: ++ on-save !>(state) ++ on-load :: %subs :_ state - [%pass /azimuth %agent [our.bo...
extmod/modbuiltins/Control: add target_tolerances
@@ -98,10 +98,42 @@ STATIC mp_obj_t builtins_Control_pid(size_t n_args, const mp_obj_t *pos_args, mp } STATIC MP_DEFINE_CONST_FUN_OBJ_KW(builtins_Control_pid_obj, 0, builtins_Control_pid); +// pybricks.builtins.Control.target_tolerances +STATIC mp_obj_t builtins_Control_target_tolerances(size_t n_args, const mp_obj_t *...
Build: Fix typo with DuetPkg branch
@@ -77,7 +77,7 @@ DEPURLS=( 'https://github.com/acidanthera/MacInfoPkg' 'https://github.com/acidanthera/DuetPkg' ) -DEPBRANCHES=('master' 'master') +DEPBRANCHES=('master' 'master' 'master') src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/efibuild.sh) && eval "$src" || exit 1 if [ "...
Update README.md Updated versions.
@@ -20,10 +20,10 @@ The Phoscon App is a browser based web application and supports lights, sensors deCONZ is having a beta release at the 15th day of the month in which the beta of last month becomes stable. Pull requests done before the 10th of the month, are getting included in the next beta (if there are no issues ...
Update MSVS flags. Set up better optimization and remove flags which give warnings.
<IncludePath>$(SolutionDir)..\..\src\vendor\zlib;$(IncludePath)</IncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental>true</LinkIncremental> <OutDir>$(SolutionDir)$(ProjectName)\$(Platform)\$(Configuration)\</OutDir> <IntDir>$(ProjectName)\$(Platfo...
Lowercase reference to iphlpapi.lib
#include <sys/timeb.h> #include <iphlpapi.h> #if !defined(__MINGW32__) -#pragma comment(lib, "IPHLPAPI.lib") +#pragma comment(lib, "iphlpapi.lib") #endif #endif #include <netinet/sctp_os_userspace.h>
morphius: update thermal protect point This CL update system shutdown CPU temp to 99C. BRANCH=zork TEST=make BOARD=morphius
@@ -465,7 +465,7 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); const static struct ec_thermal_config thermal_cpu = { .temp_host = { [EC_TEMP_THRESH_HIGH] = C_TO_K(90), - [EC_TEMP_THRESH_HALT] = C_TO_K(92), + [EC_TEMP_THRESH_HALT] = C_TO_K(99), }, .temp_host_release = { [EC_TEMP_THRESH_HIGH] = C_TO_K(8...
fix huf memory boundary checks Fixes OSS-Fuzz 49698
@@ -1757,6 +1757,7 @@ internal_huf_decompress ( const uint8_t* ptr; exr_result_t rv; const struct _internal_exr_context* pctxt = NULL; + const uint64_t hufInfoBlockSize = 5 * sizeof (uint32_t); if (decode) pctxt = EXR_CCTXT (decode->context); // @@ -1779,10 +1780,12 @@ internal_huf_decompress ( if (im >= HUF_ENCSIZE ||...
runner: flush device before taking the lock Commands might have got stuck in the kernel qfull queue for longer than the initiator's failover timer. This has us completely flush the kernel and ring before failover/failback to make sure those old commands are not executed.
@@ -237,6 +237,9 @@ int tcmu_acquire_dev_lock(struct tcmu_device *dev) struct tcmur_device *rdev = tcmu_get_daemon_dev_private(dev); int ret, retries = 0, new_state = TCMUR_DEV_LOCK_UNLOCKED; + /* Block the kernel device */ + tcmu_block_device(dev); + tcmu_dev_dbg(dev, "Waiting for outstanding commands to complete\n");...
show acpi: print length in decimal Reported-By: Robert Elliott
@@ -22,7 +22,7 @@ PrintAcpiHeader( } Print(L"Signature: %c%c%c%c\n" - L"Length: 0x%x\n" + L"Length: %d bytes\n" L"Revision: 0x%x\n" L"Checksum: 0x%x\n" L"OEMID: %c%c%c%c%c%c\n", @@ -83,7 +83,7 @@ PrintPcatTable( SOCKET_SKU_INFO_TABLE *pSocketSkuInfoTable = NULL; Print(L"Type: 0x%x\n" - L"Length: 0x%x\n", + L"Length: %d...
Update yfm for ya tool to 2.13.6
}, "yfm": { "formula": { - "sandbox_id": 652174899, + "sandbox_id": 656854292, "match": "yfm" }, "executable": {
[snitch] Make number of register write ports parameterizable Currently only either 1 or 2 write ports are supported.
@@ -1851,6 +1851,35 @@ module snitch #( endcase end + if (RegNrWritePorts == 1) begin + always_comb begin + gpr_we[0] = 1'b0; + gpr_waddr[0] = rd; + gpr_wdata[0] = alu_writeback; + // external interfaces + lsu_pready = 1'b0; + acc_pready_o = 1'b0; + retire_acc = 1'b0; + retire_load = 1'b0; + + if (retire_i) begin + gpr...
docs/fingerprint: Add links to Nucleo boards BRANCH=none TEST=view in gitiles
@@ -28,10 +28,10 @@ The main source code for fingerprint sensor functionality lives in the The following "boards" (specified by the `BOARD` environment variable when building the EC code) are for fingerprint: -MCU | Sensor | Firmware (EC "board") | Dev Board ----------------------- | ---------- | ----------------------...
don't use execinfo/backtrace on cygwin
#include <unistd.h> #include <sys/time.h> #include <time.h> +#ifndef __CYGWIN__ #include <execinfo.h> +#endif #include "num/multind.h" @@ -123,11 +125,16 @@ void debug_printf(int level, const char* fmt, ...) void debug_backtrace(size_t n) { +#ifndef __CYGWIN__ void* ptrs[n + 1]; size_t l = backtrace(ptrs, n + 1); if (l...
Fix pipeline failure commit access 'Relation' after it's closed.
@@ -3939,6 +3939,7 @@ ATController(Relation rel, List *cmds, bool recurse, LOCKMODE lockmode) List *wqueue = NIL; ListCell *lcmd; bool is_partition = false; + bool is_external = RelationIsExternal(rel); cdb_sync_oid_to_segments(); @@ -4043,7 +4044,7 @@ ATController(Relation rel, List *cmds, bool recurse, LOCKMODE lockm...
Make it stop
@@ -35,8 +35,6 @@ namespace Miningcore.Mining this.clock = clock; this.messageBus = messageBus; - - disposables.Add(cts); } private static readonly ILogger logger = LogManager.GetCurrentClassLogger(); @@ -72,6 +70,7 @@ namespace Miningcore.Mining Task.Run(() => { Thread.CurrentThread.Name = "ShareReceiver Socket Poller...
Changelog: Fixed OcTimerLib for 300 series Intel PCHs
@@ -6,6 +6,7 @@ OpenCore Changelog - Added support for 0.25% clock slowdown on Xeon Scalable CPUs (thx @mrmiller) - Replaced `MatchKernel` with `MinKernel` and `MaxKernel` - Added `Arguments` to `Tools` and `Entries` sections +- Fixed broken timer for 300 series Intel chipsets #### v0.5.0 - Added builtin firmware versi...
Pipeline before moving memory
@@ -48,8 +48,8 @@ static fio_cstr_s http1pr_status2str(uintptr_t status); /* cleanup an HTTP/1.1 handler object */ static inline void http1_after_finish(http_s *h) { - http_s_cleanup(h); http1pr_s *p = (http1pr_s *)h->private_data.owner; + http_s_cleanup(h); if (h != &p->request) free(h); if (p->close) @@ -164,8 +164,1...
test/cxx: Test for exception from libstdc++ with -fno-exceptions
#include <vector> -#include <algorithm> +#include <numeric> +#include <stdexcept> +#include <string> #include "unity.h" #include "esp_log.h" #include "freertos/FreeRTOS.h" @@ -271,6 +273,22 @@ TEST_CASE("c++ exceptions emergency pool", "[cxx] [ignore]") #endif } +#else // !CONFIG_CXX_EXCEPTIONS + +TEST_CASE("std::out_o...
Fixes a stale stack reference in c0sk_test Updates:
@@ -439,7 +439,8 @@ MTF_DEFINE_UTEST_PREPOST(c0sk_test, throttling, no_fail_pre, no_fail_post) size_t c0sk_kvmultisets_sz_saved; atomic64_t seqno; int i; - struct throttle throttle; + /* static because kvdb_fini uses this to log dt */ + static struct throttle throttle; kvdb_rp = kvdb_rparams_defaults(); kvs_rp = kvs_rp...
With these ignores, "mypy pysam/" passes
@@ -33,21 +33,21 @@ import pysam.config # export all the symbols from separate modules -__all__ = \ - libchtslib.__all__ +\ - libcutils.__all__ +\ - libctabix.__all__ +\ - libcvcf.__all__ +\ - libcbcf.__all__ +\ - libcbgzf.__all__ +\ - libcfaidx.__all__ +\ - libctabixproxies.__all__ +\ - libcalignmentfile.__all__ +\ - ...
added additional information in help menu
@@ -3831,6 +3831,7 @@ printf("%s %s (C) %s ZeroBeat\n" "--all : convert all possible hashes instead of only the best one\n" " that can lead to much overhead hashes\n" " use hcxhashtool to filter hashes\n" + " need hashcat --nonce-error-corrections >= 8\n" "--eapoltimeout=<digit> : set EAPOL TIMEOUT (milliseconds)\n" " ...
Now filters out all fields but the name in the EIP712Domain in the half-blind mode
@@ -56,6 +56,10 @@ bool field_hash(const uint8_t *data, { return false; } +#ifdef HAVE_EIP712_HALF_BLIND + uint8_t keylen; + const char *key = get_struct_field_keyname(field_ptr, &keylen); +#endif // HAVE_EIP712_HALF_BLIND field_type = struct_field_type(field_ptr); if (fh->state == FHS_IDLE) // first packet for this fr...
Add LdrIsModuleSxsRedirected
@@ -937,6 +937,16 @@ LdrControlFlowGuardEnforced( VOID ); +#if (PHNT_VERSION >= PHNT_19H1) +// rev +NTSYSAPI +BOOLEAN +NTAPI +LdrIsModuleSxsRedirected( + _In_ PVOID DllHandle + ); +#endif + #endif // (PHNT_MODE != PHNT_MODE_KERNEL) #endif
Fix bad HTML formatting in EVP_KEYEXCH-DH.html because of missing newline in pod file
@@ -58,6 +58,7 @@ To convert the received peer's public key from DER format on the host: To derive a shared secret on the host using the host's key and the peer's public key: + /* It is assumed that the host_key and peer_pub_key are set up */ void derive_secret(EVP_KEY *host_key, EVP_PKEY *peer_pub_key) {
pyapi: CHANGE provide libyang Context from Session
#include <string.h> #include <libssh/libssh.h> #include <libyang/libyang.h> +#include <libyang/swigpyrun.h> #include "../src/config.h" #include "netconf.h" #include "session.h" #include "rpc.h" +extern PyObject *libnetconf2Error; + int auth_hostkey_check_pyclb(const char *hostname, ssh_session session, void *priv) { @@...
[performance] use scatter/gather for htp__create_headers_
@@ -2017,12 +2017,21 @@ static int htp__create_headers_(evhtp_header_t * header, void * arg) { struct evbuffer * buf = arg; + struct evbuffer_iovec iov[4]; - evbuffer_expand(buf, header->klen + 2 + header->vlen + 2); - evbuffer_add(buf, header->key, header->klen); - evbuffer_add(buf, ": ", 2); - evbuffer_add(buf, heade...
SOVERSION bump to version 2.3.4
@@ -63,7 +63,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 3) -set(LIBYANG_MICRO_SOVERSION 3) +set(LIBYANG_MICRO_SOVERSION 4) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_MI...
PicoWireless: use strnlen for fwver and SSIDs Avoid going through std::string and instead uses strnlen to get string length. Prevents extra null chars leaking into the Python string.
@@ -370,8 +370,7 @@ mp_obj_t picowireless_get_ssid_networks(size_t n_args, const mp_obj_t *pos_args, uint8_t network_item = args[ARG_network_item].u_int; const char* ssid = wireless->get_ssid_networks(network_item); if(ssid != nullptr) { - std::string str_ssid(ssid, WL_SSID_MAX_LENGTH); - return mp_obj_new_str(str_ssid...
Add new hash function to header file
@@ -55,6 +55,7 @@ void random_fun(uint32_t* out, int min, int max, SHORT_STDPARAMS); // v1model.p4: extern void hash<O, T, D, M>(out O result, in HashAlgorithm algo, in T base, in D data, in M max); void hash(uint16_t* result, enum_HashAlgorithm_t hash, uint16_t base, uint8_buffer_t data, uint32_t max, SHORT_STDPARAMS)...
expand and update file structure
@@ -170,18 +170,23 @@ build the ISMRM raw data import tool: matlab/ Matlab helper scripts python/ Python helper functions doc/ documentation + rules/ more built-related files + scripts/ various helper scripts and examples src/ source code src/calib source code for sensitivity calibration src/sense source code for SENSE...
CPP Template: Fix variable name in comment
@@ -57,7 +57,7 @@ int elektraCppTemplateOpen (Plugin * handle, Key * key) try { - // After the call to `delegator::open` you can retrieve a pointer to the delegate via `coderDelegator::get (handle)` + // After the call to `delegator::open` you can retrieve a pointer to the delegate via `delegator::get (handle)` status ...
fixed crash when listing ip arp after removing interface
@@ -2608,6 +2608,30 @@ send_ip4_garp_w_addr (vlib_main_t * vm, } } +/* + * Remove any arp entries asociated with the specificed interface + */ +void +vnet_arp_delete_sw_interface (vnet_main_t * vnm, u32 sw_if_index, u32 is_add) +{ + if (!is_add && sw_if_index != ~0) + { + ethernet_arp_main_t *am = &ethernet_arp_main; +...
include/vboot.h: Format with clang-format BRANCH=none TEST=none
@@ -31,7 +31,6 @@ int vb21_is_packed_key_valid(const struct vb21_packed_key *key); int vb21_is_signature_valid(const struct vb21_signature *sig, const struct vb21_packed_key *key); - /** * Returns the public key in RO that was used to sign RW. * @@ -58,8 +57,8 @@ int vboot_is_padding_valid(const uint8_t *data, uint32_t...
Fixed typo that could cause multiparms to fail to initialize.
@@ -426,7 +426,7 @@ proc buildAttrTree(string $nodeName, string $attr, string $fullAttr) attrControlGrp -attribute ($fullAttrName + "." + $child) - -annotate $parmHelp + -annotation $parmHelp // Forcing evaluation here ensures the element attribute is // created before houdiniAssetAdjustMulti() is executed. This // pre...
data_flash: do not continue wrting if flash is full
@@ -78,6 +78,9 @@ void data_flash_update(uint32_t loop) { #endif #ifdef USE_M25P16 offset = FILES_SECTOR_OFFSET + current_file()->start_sector * bounds.sector_size + (current_file()->entries / ENTRIES_PER_BLOCK) * 256; + if (offset >= bounds.total_size) { + break; + } state = STATE_CONTINUE_WRITE; #endif break;
Squashed 'opae-libs/' changes from 3967d0d0..0f197b46 Fix OPAE_MODULE_SEARCH_PATHS definition. git-subtree-dir: opae-libs git-subtree-split:
#define OPAE_ASE_CFG_INST_PATH "@CMAKE_INSTALL_PREFIX@/share/opae/ase/opae_ase.cfg" #define OPAE_MODULE_SEARCH_PATHS \ - "@CMAKE_INSTALL_PREFIX@/lib64/opae", \ - "@CMAKE_INSTALL_PREFIX@/lib/opae", \ - "/usr/lib64/opae", \ - "/usr/lib/opae", \ + "@CMAKE_INSTALL_PREFIX@/lib64/opae/", \ + "@CMAKE_INSTALL_PREFIX@/lib/opae/...
runtime: compute checksums in net_rx_one if needed
@@ -148,6 +148,7 @@ static void net_rx_one(struct rx_net_hdr *hdr) struct mbuf *m; const struct eth_hdr *llhdr; const struct ip_hdr *iphdr; + struct ip_hdr iphdr_copy; uint16_t len; m = net_rx_alloc_mbuf(hdr); @@ -199,10 +200,12 @@ static void net_rx_one(struct rx_net_hdr *hdr) goto drop; /* Did HW checksum verificatio...
misc: change VFIO group ownership and permissions in vfctl script This is missing step to allow runing VPP unpriviledged with AVF driver. Type: improvement
@@ -96,12 +96,16 @@ function create () { mac_prefix=$(cat ${netdev_path}/address | cut -d: -f1,3,4,5,6 ) for vf_path in ${path}/virtfn*; do vf=$(basename $(readlink ${vf_path})) + iommu_group=$(basename $(readlink ${vf_path}/iommu_group)) vfid=$(basename ${vf_path//virtfn/}) mac="${mac_prefix}:$(printf "%02x" ${vfid})"...
Update vtag when scanning for INIT or INIT-ACK
@@ -4837,7 +4837,7 @@ sctp_handle_ootb(struct mbuf *m, int iphlen, int offset, * if there is return 1, else return 0. */ int -sctp_is_there_an_abort_here(struct mbuf *m, int iphlen, uint32_t * vtagfill) +sctp_is_there_an_abort_here(struct mbuf *m, int iphlen, uint32_t *vtag) { struct sctp_chunkhdr *ch; struct sctp_init...
[core] check for built-in plugins before dlopen
@@ -180,6 +180,18 @@ int plugins_load(server *srv) { const buffer * const module = &((data_string *)srv->srvconf.modules->data[i])->value; void *lib = NULL; + /* check if module is built-in to main executable */ + buffer_clear(tb); + buffer_append_str2(tb, BUF_PTR_LEN(module), + CONST_STR_LEN("_plugin_init")); + #ifdef...
Fix library.json
"name": "Luos", "keywords": "robus,network,microservice,luos,operating system,os,embedded,communication,module,ST", "description": "Luos turn your embedded system as modules like microservice do it in software.", - "version": "0.6.4", + "version": "0.6.5", "authors": { "name": "Luos", "url": "https://luos.io" }, - "lic...
rdma: rdma_log__ argument dev is a pointer Also apply style edits as proprosed by checkstyle. Ticket: Type: fix
@@ -46,11 +46,14 @@ static u8 rdma_rss_hash_key[] = { rdma_main_t rdma_main; +/* (dev) is of type (rdma_device_t *) */ #define rdma_log__(lvl, dev, f, ...) \ - do { \ - vlib_log((lvl), rdma_main.log_class, "%s: " f, \ - &(dev)->name, ##__VA_ARGS__); \ - } while (0) + do \ + { \ + vlib_log ((lvl), rdma_main.log_class, "...
fixed IP64 so that it sets correct UDP length and calculates a correct checksum
@@ -861,6 +861,8 @@ ip64_4to6(const uint8_t *ipv4packet, const uint16_t ipv4packet_len, break; case IP_PROTO_UDP: udphdr->udpchksum = 0; + /* As the udplen might have changed (DNS) we need to update it also */ + udphdr->udplen = uip_htons(ipv6_packet_len); udphdr->udpchksum = ~(ipv6_transport_checksum(resultpacket, ipv...
jenkins: fix artifact upload
@@ -1059,8 +1059,6 @@ yanlr/YAML(((Base)?Listener|ImprovedSymbolNames)|.h)|\ } if(testMem || testNokdb || testAll) { xunitUpload("${buildDir}/Testing/**/*.xml") - // TODO: remove line below to save space - xunitUpload("${buildDir}/Testing/Temporary/MemoryChecker.*.log") } deleteDir() }
[core] cache rev DNS for localhost for dir redir
@@ -43,7 +43,28 @@ int http_response_buffer_append_authority(server *srv, connection *con, buffer * if (our_addr.plain.sa_family == AF_INET && our_addr.ipv4.sin_addr.s_addr == htonl(INADDR_LOOPBACK)) { - buffer_append_string_len(o, CONST_STR_LEN("localhost")); + static char lhost[32]; + static size_t lhost_len = 0; + i...