message
stringlengths
6
474
diff
stringlengths
8
5.22k
Call the info callback on all handshake done events Fixes
@@ -1033,6 +1033,10 @@ WORK_STATE tls_finish_handshake(SSL *s, WORK_STATE wst, int clearbufs, int stop) && s->post_handshake_auth == SSL_PHA_REQUESTED) s->post_handshake_auth = SSL_PHA_EXT_SENT; + /* + * Only set if there was a Finished message and this isn't after a TLSv1.3 + * post handshake exchange + */ if (s->stat...
remove 3 tests from epsdb expected pass to unblock epsdb after shlib default change
@@ -146,7 +146,6 @@ omp_wtime pfspecifier pfspecifier_str printf_parallel_for_target -red_bug_51 reduce reduc_map_prob reduction @@ -178,10 +177,8 @@ threads Threads1xxx unique-kernel-name use_device_addr -use_device_ptr vasp1 veccopy -virtfunc1 vmuldemo vmulsum wgs64
http_client: do not call memcpy() when 'passwd' is not used
@@ -968,8 +968,11 @@ int flb_http_basic_auth(struct flb_http_client *c, memcpy(p, user, len_u); p[len_u] = ':'; len_out = len_u + 1; + + if (passwd) { memcpy(p + len_out, passwd, len_p); len_out += len_p; + } p[len_out] = '\0'; memcpy(tmp, "Basic ", 6);
Raise bench_wuffs_json_decode_217k_stringy iters
@@ -650,7 +650,7 @@ bench_wuffs_json_decode_217k_stringy() { CHECK_FOCUS(__func__); return do_bench_token_decoder( wuffs_json_decode, WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED, - tcounter_src, &json_nobel_prizes_gt, UINT64_MAX, UINT64_MAX, 20); + tcounter_src, &json_nobel_prizes_gt, UINT64_MAX, UINT64_MAX,...
SOVERSION bump to version 2.8.19
@@ -67,7 +67,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 8) -set(LIBYANG_MICRO_SOVERSION 18) +set(LIBYANG_MICRO_SOVERSION 19) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_...
OcLog.c: Correct SerialPortWrite return value handling
@@ -208,13 +208,10 @@ OcLogAddEntry ( // Write to serial port. // if ((OcLog->Options & OC_LOG_SERIAL) != 0) { - Status = SerialPortWrite ((UINT8 *) Private->TimingTxt, TimingLength); - if (Status == EFI_NO_MAPPING) { // - // Disable serial port option. + // No return value check - SerialPortWrite either stalls or fals...
in theory this could still be waiting on async
@@ -486,7 +486,7 @@ static void destroy_ssl(struct st_h2o_socket_ssl_t *ssl) ssl->ptls = NULL; } if (ssl->ossl != NULL) { - if (SSL_waiting_for_async(ssl->ossl)) { + while (SSL_waiting_for_async(ssl->ossl)) { SSL_do_handshake(ssl->ossl); } if (!SSL_is_server(ssl->ossl)) { @@ -1712,8 +1712,8 @@ Redo: /* sent async reque...
amended path
-#include "../include/open_manipulator/open_manipulator.h" \ No newline at end of file +#include "../include/open_manipulator/OMAPI.hpp" \ No newline at end of file
fix super + shift + tab with scratchpad
@@ -547,6 +547,11 @@ void focuslastclient(const Arg *arg) { c = lastclient; + if (c->tags & 1 << 20) { + togglescratchpad(NULL); + return; + } + const Arg a = {.ui = c->tags}; if (selmon != c->mon) { unfocus(selmon->sel, 0);
Add the possibility to capture only one screen if several screens are use.
@@ -23,7 +23,7 @@ SUBJECT=${2:-screen} FILE=${3:-$(xdg-user-dir PICTURES)/$(date +'Grimshot %Y-%m-%d %H-%M-%S.png')} if [ "$ACTION" = "usage" ] ; then echo "Usage:" - echo " grimshot copy|save win|screen|area [FILE]" + echo " grimshot copy|save win|screen|focused_screen|area [FILE]" echo "Troubleshoot:" echo " grimshot...
Update pre-commit hook script according to the new folder structure
@@ -72,10 +72,8 @@ def is_source_file(file_name): def is_checked_file_pattern(file_name): checked_patterns = [ r"demos/", - r"modules/libraries/standard/.*", - r"modules/libraries/aws/.*", - r"modules/ports/.*", - r"test*/", + r"libraries/", + r"tests/", ] for checked_pattern in checked_patterns: if re.findall(checked_...
update param event
@@ -88,6 +88,9 @@ typedef struct clap_event_param { // only used by the plugin for output events bool begin_adjust; bool end_adjust; + + // tells the host if it should record this parameter change and create an automation point + bool should_record; } clap_event_param; typedef struct clap_event_transport {
Add value print for dip and sp
@@ -1272,6 +1272,12 @@ void LCUI_PrintStyleSheet( LCUI_StyleSheet ss ) case SVT_PX: LOG( "%gpx", s->val_px ); break; + case SVT_DIP: + LOG( "%gdip", s->val_dip ); + break; + case SVT_SP: + LOG( "%gsp", s->val_sp ); + break; case SVT_STRING: LOG( "%s", s->val_string ); break; @@ -1317,8 +1323,7 @@ static void LCUI_Print...
javascript: bump lodash Bump lodash javascript dep to 4.17.21 ... #no_auto_pr
} }, "node_modules/lodash": { - "version": "4.17.19", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", - "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodas...
test-udp: Add test for sending data as a table of strings
@@ -25,6 +25,31 @@ return require('lib/tap')(function (test) p{client=client,req=req} end) + test("basic udp send from table", function (print, p, expect, uv) + local sendData = {"P", "I", "NG"} + local server = uv.new_udp() + assert(uv.udp_bind(server, "0.0.0.0", TEST_PORT)) + assert(uv.udp_recv_start(server, expect(f...
RSK wallet needs access to BTC 44'/00' path.
@@ -72,7 +72,7 @@ APP_LOAD_PARAMS += --path "44'/60'" DEFINES += CHAINID_UPCASE=\"POA\" CHAINID_COINNAME=\"POA\" CHAIN_KIND=CHAIN_KIND_POA CHAIN_ID=99 APPNAME = "POA" else ifeq ($(CHAIN),rsk) -APP_LOAD_PARAMS += --path "44'/137'" +APP_LOAD_PARAMS += --path "44'/137'" --path "44'/00'" DEFINES += CHAINID_UPCASE=\"RSK\" C...
test/recipes/80-test_cmp_http.t: use app() rather than cmd() OpenSSL::Test::cmd() should be used with caution, as it is for special cases only. It's preferable to use OpenSSL::Test::app() or OpenSSL::Test::test(). Fixes
@@ -47,7 +47,7 @@ $proxy = chop_dblquot($ENV{http_proxy} // $ENV{HTTP_PROXY} // $proxy); $proxy =~ s{^https?://}{}i; my $no_proxy = $ENV{no_proxy} // $ENV{NO_PROXY}; -my $app = "apps/openssl cmp"; +my @app = qw(openssl cmp); # the CMP server configuration consists of: my $ca_dn; # The CA's Distinguished Name @@ -129,16...
Deleting "#define MODULE_ULAB_ENABLED (1)" Since the micropython.mk file has added the following line ``` CFLAGS_EXTRA = -DMODULE_ULAB_ENABLED=1 ``` There's no need to add #define MODULE_ULAB_ENABLED (1) in the mpconfigport.h.Or it would make redefined errors while compiling code.
@@ -30,17 +30,12 @@ on the command line. This will create a new repository with the name `micropytho git clone https://github.com/v923z/micropython-ulab.git ulab ``` -Then you have to include `ulab` in the compilation process by editing `mpconfigport.h` of the directory of the port for which you want to compile, so, st...
Add support for a profile.janet Add support for a profile.janet, along with a flag for disabling it's use.
(var *debug* false) (var *compile-only* false) - (if-let [jp (getenv-alias "JANET_PATH")] (setdyn :syspath jp)) - (if-let [jp (getenv-alias "JANET_HEADERPATH")] (setdyn :headerpath jp)) + (when-let [jp (getenv-alias "JANET_PATH")] (setdyn :syspath jp)) + (when-let [jp (getenv-alias "JANET_HEADERPATH")] (setdyn :headerp...
OcBootManagementLib: Correct BootCampHD vendor GUID
@@ -509,7 +509,7 @@ OcGetDefaultBootEntry ( FreePool (UefiDevicePath); Status = GetVariable2 ( L"BootCampHD", - NULL, + &gAppleBootVariableGuid, (VOID **)&UefiDevicePath, &DevPathSize );
ames: refactor %stir, %rest stale/wrong timers
:: ++ on-stir |= arg=@t - =/ states=(list [ship peer-state]) - %+ murn ~(tap by peers.ames-state) - |= [=ship =ship-state] - ^- (unit [^ship peer-state]) - ?. ?=(%known -.ship-state) - ~ - `[ship +.ship-state] - =/ snds=(list (list [ship bone message-pump-state])) - %+ turn states - |= [=ship peer-state] - %+ turn ~(ta...
remove COMPONENT_SF.
@@ -144,39 +144,38 @@ enum { COMPONENT_NEIGHBORS = 0x0d, COMPONENT_SCHEDULE = 0x0e, COMPONENT_SIXTOP_RES = 0x0f, - COMPONENT_SF = 0x10, //IPHC - COMPONENT_OPENBRIDGE = 0x11, - COMPONENT_IPHC = 0x12, + COMPONENT_OPENBRIDGE = 0x10, + COMPONENT_IPHC = 0x11, //IPv6 - COMPONENT_FORWARDING = 0x13, - COMPONENT_ICMPv6 = 0x14, ...
print SNONCE in start information
@@ -4416,8 +4416,13 @@ if(gpsdflag == true) "MAC ACCESS POINT.........: %06x%06x (incremented on every new ESSID)\n" "EAPOL TIMEOUT............: %d\n" "REPLAYCOUNT..............: %llu\n" - "ANONCE...................: ", + "SNONCE...................: ", lat, lon, alt, day, month, year, hour, minute, second, interfacenam...
Use nanosleep() instead of select() for sleeping On MacOS, this seems to be more accurate.
@@ -285,11 +285,13 @@ user_sctp_timer_iterate(void *arg) #if defined (__Userspace_os_Windows) Sleep(TIMEOUT_INTERVAL); #else - struct timeval timeout; + struct timespec amount, remaining; - timeout.tv_sec = 0; - timeout.tv_usec = 1000 * TIMEOUT_INTERVAL; - select(0, NULL, NULL, NULL, &timeout); + remaining.tv_sec = 0; ...
phb4: Only set one bit in nfir The MPIPL procedure says to only set bit 26 when forcing the PEC into freeze mode. Currently we set bits 24-27. This changes the code to follow spec and only set bit 26.
@@ -2405,7 +2405,7 @@ static int64_t phb4_creset(struct pci_slot *slot) /* Force fence on the PHB to work around a non-existent PE */ if (!phb4_fenced(p)) xscom_write(p->chip_id, p->pe_stk_xscom + 0x2, - 0x000000f000000000); + 0x0000002000000000); /* * Force use of ASB for register access until the PHB has
Update README for ra-tls stub-enclave and ra-tls are still experimental so don't write them in README.
@@ -59,17 +59,10 @@ Skeleton is an example of enclave runtime, interfacing with Enclave Runtime PAL Please refer to [this guide](https://github.com/alibaba/inclavare-containers/blob/master/rune/libenclave/internal/runtime/pal/skeleton/README.md) to run skeleton with `rune`. -### stub_enclave -Inspired by [sgx-ra-tls](h...
Install `bzip2` with `yum`
@@ -150,7 +150,7 @@ test_tools() install_tools() { { apt --version >/dev/null 2>&1 && $sudoprefix apt install -y git build-essential libreadline-dev ccache; } || - { yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git readline-devel ccache && $sudoprefix yum groupinstall -y 'Development Tools'; } || + { yum...
modem_copy(): removing debugging print statement
@@ -239,7 +239,7 @@ MODEM() MODEM(_copy)(MODEM() q_orig) if (q_orig == NULL) return liquid_error_config("modem%s_copy(), object cannot be NULL", EXTENSION); - printf("modemcf_copy: %u: %s\n", q_orig->scheme, ""); + // handle special case for arbitrary modem types if (q_orig->scheme == LIQUID_MODEM_ARB) { // directly co...
crypto/x86_64cpuid.pl: fix typo in Knights Landing detection. Thanks to David Benjamin for spotting this!
@@ -150,7 +150,7 @@ OPENSSL_ia32_cpuid: .LnotP4: cmp \$6,%ah jne .Lnotintel - and \$0x0ffff0f0,%eax + and \$0x0fff0ff0,%eax cmp \$0x00050670,%eax # Knights Landing je .Lknights cmp \$0x00080650,%eax # Knights Mill (according to sde)
tests CHANGE nehance xml tests - processing n-bytes UTF characters
@@ -168,7 +168,7 @@ lyxml_getutf8(const char **input, unsigned int *utf8_char, size_t *bytes_read) * Includes checking for valid characters (following RFC 7950, sec 9.4) */ static LY_ERR -lyxml_pututf8(char *dst, int32_t value, size_t *bytes_written) +lyxml_pututf8(char *dst, uint32_t value, size_t *bytes_written) { if...
Update src/libtcod/zip_c.c
@@ -166,7 +166,7 @@ void TCOD_zip_put_console(TCOD_zip_t zip, const TCOD_Console* val) } void TCOD_zip_put_random(TCOD_zip_t zip, const TCOD_Random *val) { - size_t s = sizeof(*val); + int s = (int)sizeof(*val); TCOD_zip_put_int(zip, s); TCOD_zip_put_data(zip, s, val); }
stm32/boards/NUCLEO_F413ZH: Remove STARTUP_FILE, it's defined globally. The Makefile now defines this variable to the correct value (but it can still be overridden by a board if necessary).
MCU_SERIES = f4 CMSIS_MCU = STM32F413xx -STARTUP_FILE = boards/startup_stm32f413xx.o AF_FILE = boards/stm32f413_af.csv LD_FILES = boards/stm32f413xh.ld boards/common_ifs.ld TEXT0_ADDR = 0x08000000
fixed ksceKernelSearchModuleByName
@@ -158,7 +158,7 @@ int ksceKernelStopUnloadModuleForPid(SceUID pid, SceUID modid, SceSize args, voi int ksceKernelMountBootfs(const char *bootImagePath); int ksceKernelUmountBootfs(void); -int ksceKernelSearchModuleByName(const char *module_name, const char *path, int pid); +int ksceKernelSearchModuleByName(const char...
Minimum 10 samples, target 100ms running.
@@ -99,7 +99,8 @@ const benchspec = {ts if dt == 0.0 nsamp = 1000_000 else - nsamp = (1000_000.0/dt : std.time) + nsamp = (100_000.0/dt : int64) + nsamp = std.max(10, nsamp) ;; for var i = 0; i < nsamp; i++
harness: Make compiler-rt tests run on qemu
@@ -222,7 +222,7 @@ def get_modules_tpl(ts, self, build, machine): '''Function template for get_modules() for each compiler-rt test case''' modules = super(CompilerRTBuiltinsAbstract, self).get_modules(build, machine) for m in ts: - if machine.name.startswith("panda") and \ + if hasattr(machine, "name") and machine.nam...
switch to revision 0.6.8
"name": "Luos", "keywords": "robus,network,microservice,luos,operating system,os,embedded,communication,module,ST", "description": "Luos turns your embedded system into modules like microservices architecture does it in software.", - "version": "0.6.7", + "version": "0.6.8", "authors": { "name": "Luos", "url": "https:/...
Only compile the sqlite3 amalgamation if sqlite isnt installed
@@ -9,6 +9,9 @@ set(INCLUDE_DIR include/) list(FILTER sources EXCLUDE REGEX "(main|linenoise).c") list(FILTER headers EXCLUDE REGEX "linenoise.h") +find_library(SQLITE_LIB SQLite3) +set(THREADS) + if(DISABLE_HTTP) list(FILTER sources EXCLUDE REGEX "http.c") list(FILTER headers EXCLUDE REGEX "http.h") @@ -17,6 +20,16 @@...
Opae-sdk: fix fpgainfo events sysfs path
#define BOOTPAGE_PATTERN "_([0-9a-zA-Z]+)" // image info sysfs -#define DFL_SYSFS_IMAGE_INFO_GLOB "*dfl*/**/fpga_image_directory0/nvmem" +#define DFL_SYSFS_IMAGE_INFO_GLOB "*dfl*/**/fpga_image_directory*/nvmem" #define IMAGE_INFO_STRIDE 4096 #define IMAGE_INFO_SIZE 32 #define IMAGE_INFO_COUNT 3 #define GET_BIT(var, pos...
CI: remove old used for code coverage testing Code coverage is currently not tested, so this can be removed.
@@ -61,11 +61,6 @@ install: script: - CABAL_CONFIG_ARGS="" - - | - # Enable coverage testing for the main repo only as it will fail otherwise. - if [ -n "${COVERAGE}" ] && [ "${TRAVIS_REPO_SLUG}" = "hslua/hslua" ]; then - CABAL_CONFIG_ARGS="--enable-library-coverage"; - fi - | case "$LUAVER" in (lua-5*):
Make ossltest engine use in test/recipes/20-test_dgst.t platform agnostic
@@ -12,7 +12,7 @@ use warnings; use File::Spec; use File::Basename; -use OpenSSL::Test qw/:DEFAULT with srctop_file bldtop_file/; +use OpenSSL::Test qw/:DEFAULT with srctop_file bldtop_dir/; use OpenSSL::Test::Utils; setup("test_dgst"); @@ -113,8 +113,8 @@ SKIP: { my $testdata = srctop_file('test', 'data.bin'); # inten...
Add Card Name for more Cards using defines from SNAP H file.
@@ -603,9 +603,11 @@ int main(int argc, char *argv[]) snap_card_ioctl(dn, GET_CARD_TYPE, (unsigned long)&ioctl_data); VERBOSE1("SNAP on "); switch (ioctl_data) { - case 0: VERBOSE1("ADKU3"); break; - case 1: VERBOSE1("N250S"); break; - case 8: VERBOSE1("N250SP"); break; + case ADKU3_CARD: VERBOSE1("ADKU3"); break; + ca...
observe-hook: listen for mark additions
^- (quip card _this) ?+ wire (on-arvo:def wire sign-arvo) [%warm-cache ~] + ?. warm-cache + [~ this] ?> ?=([%clay %writ *] sign-arvo) + :_ this + :- =/ =rave:clay [%next [%t da+now.bowl /mar]] + [%pass /warm-cache %arvo %c %warp our.bowl %home `rave] =* riot p.sign-arvo ?~ riot - ~|('should always have data in %/mar di...
Check for the original app version before purchasing from the App Store
@@ -305,6 +305,12 @@ import TrueTime SwiftyStoreKit.shouldAddStorePaymentHandler = { payment, product in + if let validator = ReceiptValidator(), let version = validator.receipt[.originalAppVersion] as? String { + guard version.versionCompare(initialVersionRequiringUserToPay) != .orderedAscending else { + return false ...
adding archive3 target
@@ -148,11 +148,18 @@ SET(ARCHIVE_NAME {ANAME}) SET(ARCHIVE_FILES {AFILES}) #----------------------------------------------------------------------------- -# Define convenience command/target to create an archive...optimized variant +# Define convenience commands/targets to create an archive...optimized variant # using...
Fix all the clang windows that sometimes pop up all over the place
@@ -96,6 +96,7 @@ namespace ClangCompile public void RunClang(string executable) { ProcessStartInfo startInfo = new ProcessStartInfo(); + startInfo.CreateNoWindow = true; startInfo.FileName = executable; startInfo.Arguments = this.CommandLine; startInfo.UseShellExecute = false;
Fix slot0 size in f3disco to avoid writing after end
@@ -22,7 +22,7 @@ ENTRY(Reset_Handler) * Memory map */ MEMORY { - FLASH (rx): ORIGIN = 0x08004000, LENGTH = 240K + FLASH (rx): ORIGIN = 0x08004000, LENGTH = 88K CCRAM (rw): ORIGIN = 0x10000000, LENGTH = 8K SRAM (rw): ORIGIN = 0x20000000, LENGTH = 40K }
tools: update fpga_token in legacy C++ API
@@ -215,12 +215,21 @@ std::string fpga_resource::sysfs_path_from_token(fpga_token t) { struct _fpga_token { - uint32_t instance; + uint32_t device_instance; + uint32_t subdev_instance; uint64_t magic; char sysfspath[256]; char devpath[256]; + void *errors; }; - struct _fpga_token *_t = (struct _fpga_token *)t; + struct...
Add more dependencies for CSLoader in NetCore 2.x
@@ -66,7 +66,9 @@ set_target_properties(${target} if(DOTNET_VERSION VERSION_EQUAL "2.0" OR DOTNET_VERSION VERSION_GREATER "2.0") set(DOTNET_INSTALL_DEPENDENCIES ${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.dll - ${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.CSharp.dll) + ${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.CSharp.dll...
nimble/ll: Verify length of Terminate Ind Make sure Terminate ind has correct len. Otherwise do not procced but reply with LL_UNKNOWN_RSP This should fix LL/PAC/SLA/BI-01 and LL/PAC/MAS/BI-01
@@ -3907,7 +3907,8 @@ chk_rx_terminate_ind: } /* If we received a terminate IND, we must set some flags */ - if (is_ctrl && (opcode == BLE_LL_CTRL_TERMINATE_IND)) { + if (is_ctrl && (opcode == BLE_LL_CTRL_TERMINATE_IND) + && (rx_pyld_len == BLE_LL_CTRL_TERMINATE_IND_LEN)) { connsm->csmflags.cfbit.terminate_ind_rxd = 1;...
git clone fix
@@ -9,12 +9,9 @@ jobs: - checkout # specify any bash command here prefixed with `run: ` - run: sudo apt-get update - - run: sudo apt-get install nasm - - run: sudo apt-get install qemu - - run: go get "github.com/nanovms/nvm/lepton" - - run: make - - run: make unit-test - - run: cd test && ./functional.sh && cd .. + - ...
Fix bad attribute name Fixes
@@ -36,12 +36,12 @@ typedef struct clap_audio_ports_config { uint32_t output_port_count; // main input info - bool has_main_input_channel; + bool has_main_input; uint32_t main_input_channel_count; const char *main_input_port_type; // main output info - bool has_main_output_channel; + bool has_main_output; uint32_t main...
fix missing / in URL
@@ -3,7 +3,7 @@ AOMP - V 0.6-0 aomp: AMD OpenMP Compiler -This is README.md for https:/github.com/ROCM-Developer-Tools/aomp . This is the base repository for AOMP, Use this for issues, documentation, packaging, examples, build. +This is README.md for https://github.com/ROCM-Developer-Tools/aomp . This is the base repos...
tests/extmod/ujson_dump.py: Add test for dump to non-stream object.
@@ -16,3 +16,15 @@ print(s.getvalue()) s = StringIO() json.dump({"a": (2, [3, None])}, s) print(s.getvalue()) + +# dump to a small-int not allowed +try: + json.dump(123, 1) +except (AttributeError, OSError): # CPython and uPy have different errors + print('Exception') + +# dump to an object not allowed +try: + json.dum...
Fix coverity CID - NULL pointer dereference in OSSL_DECODER_CTX_new_by_EVP_PKEY()
@@ -369,8 +369,10 @@ OSSL_DECODER_CTX *OSSL_DECODER_CTX_new_by_EVP_PKEY(EVP_PKEY **pkey, data->process_data = NULL; err: + if (data != NULL) { decoder_clean_EVP_PKEY_construct_arg(data->process_data); sk_OPENSSL_CSTRING_free(data->names); OPENSSL_free(data); + } return ctx; }
Typechecker: Don't throw away cast node locations The Pallene to Lua translator needs the source code location of our type cast node so we should not throw them away in an optimization.
@@ -26,8 +26,7 @@ local util = require "pallene.util" -- We also make some adjustments to the AST: -- -- * We convert qualified identifiers such as `io.write` from ast.Var.Dot to a flat ast.Var.Name. --- * We add explicit ast.Exp.Cast nodes where there is an implicit upcast or downcast. --- * We remove redundant ast.Ex...
fix: Fixed using pointer before detecting whether pointer is null A useless variable declaration was removed. issue
@@ -176,10 +176,14 @@ static bool getApn(char name[THE_APN_MAX_LEN]) static void simQuery(int *simStatus, int *registerStatus, char name[THE_APN_MAX_LEN]) { - int len = 8; - *simStatus = MG_cfwGetSimStatus(0); + //int len = 8; + if (simStatus == NULL || registerStatus == NULL) + { + return; + } + MG_osiTracePrintf(LOG_...
[catboost] Fix test_fit_with_texts[GPU]
@@ -1122,13 +1122,11 @@ def test_fit_with_texts(task_type): params = { 'dictionaries': [ - 'UniGram:token_level_type=Letter,occurrence_lower_bound=1', - 'BiGram:token_level_type=Letter,gram_order=2,occurrence_lower_bound=1', - 'Word:token_level_type=Word,occurrence_lower_bound=1' - ], - 'text_processing': [ - 'NaiveBay...
vppinfra: optimize and simplify splat inline functions Example for u32x4 case: Old code generates 2 instructions: vmovd %edi,%xmm0 vpunpckldq %xmm0,%xmm0,%xmm0 vpunpcklqdq %xmm0,%xmm0,%xmm0 New code uses only one instruction: mov %edi,-0x4(%rsp) vbroadcastss -0x4(%rsp),%xmm0
@@ -175,56 +175,50 @@ i32x2_pack (i32x2 lo, i32x2 hi) always_inline u64x2 u64x2_splat (u64 a) { - u64x2 x = { a }; - x = u64x2_interleave_lo (x, x); + u64x2 x = { a, a }; return x; } always_inline u32x4 u32x4_splat (u32 a) { - u32x4 x = { a }; - x = u32x4_interleave_lo (x, x); - x = (u32x4) u64x2_interleave_lo ((u64x2)...
Fix incorrect output from JSON.stringify This patch fixes the issue JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos
@@ -65,7 +65,7 @@ jerryx_handler_print (const jerry_value_t func_obj_val, /**< function object */ jerry_length_t substr_pos = 0; jerry_char_t substr_buf[256]; - while ((substr_size = jerry_substring_to_char_buffer (str_val, + while ((substr_size = jerry_substring_to_utf8_char_buffer (str_val, substr_pos, substr_pos + 2...
Add fs_full to default runtime tests
@@ -86,7 +86,7 @@ test test-noaccel: image $(Q) $(MAKE) -C test test $(Q) $(MAKE) runtime-tests$(subst test,,$@) -RUNTIME_TESTS= aio creat dup epoll eventfd fadvise fallocate fcntl fst futex futexrobust getdents getrandom hw hwg hws io_uring klibs mkdir mmap netlink netsock pipe readv rename sendfile signal socketpair ...
http_client: fix wrong host header when using proxy When the header isn't the target host but the proxy the AWS signature signing fails in src/flb_signv4.c which will result in the following error message: User is not authorized to perform this action
@@ -65,7 +65,11 @@ int flb_http_strip_port_from_host(struct flb_http_client *c) struct flb_upstream *u = c->u_conn->u; if (!c->host) { + if (!u->proxied_host) { out_host = u->tcp_host; + } else { + out_host = u->proxied_host; + } } else { out_host = (char *) c->host; }
Change python2.7 artifact path to python-gpdb5.
<dependency org="Hyperic" name="sigar" rev="1.6.5" conf="rhel6_x86_64->rhel6_x86_64;rhel7_x86_64->rhel7_x86_64;suse11_x86_64->sles11_x86_64;sles11_x86_64->sles11_x86_64" /> <dependency org="NetBackup" name="SDK-7.7" rev="7.7" conf="rhel7_x86_64->rhel5_x86_64;rhel6_x86_64->rhel5_x86_64" /> <dependency org="R-Project" na...
Free all matching threads.
@@ -49,11 +49,11 @@ const search = {re, str for var i = 0; i < str.len; i++ thr = run(re, str[i:], 0, false) m = getmatches(re, thr) + cleanup(re) match m | `std.Some _: break | `std.None: /* nothing */ ;; - cleanup(re) ;; -> m } @@ -66,11 +66,11 @@ const isearch = {re, str for var i = 0; i < str.len; i++ thr = run(re,...
grid: margin in SysPref sidebar Fixes urbit/landscape#1171
@@ -63,7 +63,7 @@ export const SystemPreferences = (props: RouteComponentProps<{ submenu: string } <div className="flex h-full overflow-y-auto"> <aside className="flex-none self-start min-w-60 py-8 font-semibold border-r-2 border-gray-50"> <nav className="px-6"> - <ul> + <ul className="space-y-1"> <SystemPreferencesSec...
style: update coding style
@@ -133,7 +133,7 @@ extern "C" { If "result" object is string, this function will returns contents of "result" . If "result" object is still json object, the parameter named "child_name" will actived, if "child_name" object is string, this function will returns contents of "child_name"; - if "child_name" object is othe...
input_chunk: use new api to pause
@@ -1181,7 +1181,6 @@ static inline int flb_input_chunk_is_storage_overlimit(struct flb_input_instance { struct flb_storage_input *storage = (struct flb_storage_input *)i->storage; - if (storage->type == CIO_STORE_FS) { if (i->storage_pause_on_chunks_overlimit == FLB_TRUE) { if (storage->cio->total_chunks >= storage->c...
feat(venachain): Ignore the use of txtype
@@ -390,8 +390,8 @@ BCHAR * BoatVenachainGetNodesInfo(BoatVenachainTx *tx_ptr,nodesResult *result_ou BCHAR *call_result_str = NULL; RlpEncodedStreamObject * rlp_stream_ptr; RlpObject rlp_object_list; - RlpObject rlp_object_txtype; - BUINT64 txtype; + // RlpObject rlp_object_txtype; + // BUINT64 txtype; RlpObject rlp_ob...
release i3-gaps 4.21.1
@@ -63,7 +63,7 @@ config_h = declare_dependency( sources: vcs_tag( input: config_h_in, output: 'config.h', - fallback: meson.project_version() + '-non-git', + fallback: meson.project_version() + ' (2022-10-28)', ) )
error: prefixing all codes with C to avoid being seen as octal
@@ -52,6 +52,7 @@ parse_t parse (std::string const & file) bool isHighlevelFile = (file.find ("highlevel") != string::npos); if (!std::regex_match (text, codeRegex) && !isHighlevelFile) throw parse_error ("Error code does not match regular expression [0-9A-Z]{5,5}", linenr); + text = "C"+text; } if (!currentMap[identif...
write-man-symlinks: Write relative symlinks not absolute Fixes
@@ -41,7 +41,7 @@ my %podinfo = extract_pod_info($podfile); for my $name (@{$podinfo{names}}) { next if $name eq $mainf; if ($action eq "install") { - symlink "$targetdir/$manname", "$targetdir/$name.$section"; + symlink "$manname", "$targetdir/$name.$section"; } else { unlink "$targetdir/$name.$section"; }
DDf Ikea GU10 adjust read to reporting intervals
"static": 454 }, { - "name": "state/on" + "name": "state/on", + "refresh.interval": 1805 }, { - "name": "state/bri" + "name": "state/bri", + "refresh.interval": 1805 }, { - "name": "state/ct" + "name": "state/ct", + "refresh.interval": 1805 }, { "name": "state/reachable"
virtio: fix ip4 checksum offload Type: fix
#include <vnet/devices/virtio/vhost_user.h> #include <vnet/devices/virtio/vhost_user_inline.h> +#include <vnet/gso/gso.h> /* * On the transmit side, we keep processing the buffers from vlib in the while * loop and prepare the copy order to be executed later. However, the static @@ -235,17 +236,28 @@ static_always_inlin...
Added 3 SceSysclibForDriver NIDs
@@ -1714,7 +1714,6 @@ modules: kernel: true nid: 0x7EE45391 functions: - __muldi3: 0x7554AB04 __stack_chk_fail: 0xB997493D memchr: 0x60DAEA30 memcmp: 0xF939E83D @@ -1725,6 +1724,7 @@ modules: snprintf: 0xAE7A8981 strchr: 0x38463759 strcmp: 0xB33BC43 + strcpy: 0x7FB4EBEC strlen: 0xCFC6A9AC strncat: 0xA1D1C32C strncmp: 0...
build/presync: extending line width for more compact header with comment apis
@@ -4686,34 +4686,36 @@ LIQUID_BSYNC_DEFINE_API(LIQUID_BSYNC_MANGLE_CCCF, // TC : coefficients data type // TI : input data type #define LIQUID_PRESYNC_DEFINE_API(PRESYNC,TO,TC,TI) \ + \ +/* Pre-demodulation signal synchronizer */ \ typedef struct PRESYNC(_s) * PRESYNC(); \ \ -/* create pre-demod synchronizer */ \ -/* ...
arch/arm/stm32f7: fix cache invalidation issue in Ethernet RX
# define CONFIG_STM32F7_ETH_NTXDESC 4 #endif -#ifndef min -# define min(a,b) ((a) < (b) ? (a) : (b)) +#ifndef MIN +# define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif /* We need at least one more free buffer than transmit buffers */ @@ -1732,7 +1732,8 @@ static int stm32_recvframe(struct stm32_ethmac_s *priv) */ up_invali...
needed to add genG to processing
@@ -202,7 +202,7 @@ static ACVP_RESULT acvp_dsa_release_tc(ACVP_DSA_TC *stc) ACVP_RESULT acvp_dsa_pqggen_handler (ACVP_CTX *ctx, ACVP_TEST_CASE tc, ACVP_CAPS_LIST *cap, JSON_Array *r_tarr, JSON_Object *groupobj) { - unsigned char *ln, *gen_pq, *sha, *index; + unsigned char *ln = NULL, *gen_pq = NULL, *sha = NULL, *inde...
[kernel] correct bug in isFactorized() method
@@ -212,7 +212,7 @@ public: */ inline virtual bool isFactorized() const { - return (isPLUFactorizedInPlace() || isPLUFactorizedInPlace() || isCholeskyFactorized() || isQRFactorized()); + return (isPLUFactorized() || isPLUFactorizedInPlace() || isCholeskyFactorized() || isQRFactorized()); };
fix(border_post): ignore bg_img_opa draw when draw border_post
@@ -575,6 +575,7 @@ static void lv_obj_draw(lv_event_t * e) draw_dsc.bg_opa = LV_OPA_TRANSP; draw_dsc.outline_opa = LV_OPA_TRANSP; draw_dsc.shadow_opa = LV_OPA_TRANSP; + draw_dsc.bg_img_opa = LV_OPA_TRANSP; lv_obj_init_draw_rect_dsc(obj, LV_PART_MAIN, &draw_dsc); lv_coord_t w = lv_obj_get_style_transform_width(obj, LV_...
Fix deboornet constructor and eval.
@@ -429,13 +429,11 @@ void ts_internal_deboornet_new(tsBSpline spline, tsDeBoorNet *_deBoorNet_, { const size_t dim = ts_bspline_dimension(spline); const size_t deg = ts_bspline_degree(spline); - const size_t N = ts_bspline_degree(spline); - const size_t n_points = (size_t)(N * (N+1) * 0.5f); - const size_t len_points ...
consistant `SceKernelRWLockInfo`'s fields naming
@@ -1249,9 +1249,9 @@ typedef struct SceKernelRWLockInfo { /** Attributes */ SceUInt32 attr; /** The current lock count */ - SceInt32 currentCount; + SceInt32 lockCount; /** The UID of the current owner of the rwlock with write access, 0 when locked for reads */ - SceUID currentWriteOwnerId; + SceUID writeOwnerId; /** ...
[ingestor] Return an understandable status on input errors
@@ -161,6 +161,13 @@ bool UncaughtException() noexcept; } \ } while (false) +#define Y_ENSURE_EX_T(CONDITION, THROW_EXPRESSION) \ + do { \ + if (Y_UNLIKELY(!(CONDITION))) { \ + throw THROW_EXPRESSION; \ + } \ + } while (false) + /// @def Y_ENSURE_SIMPLE /// This macro works like the Y_ENSURE, but requires the second ar...
resolver: cleanup debug messages
@@ -1117,7 +1117,6 @@ int ELEKTRA_PLUGIN_FUNCTION (set) (Plugin * handle, KeySet * ks, Key * parentKey if (access (pk->dirname, W_OK | X_OK) == -1) { ELEKTRA_SET_ERROR (28, parentKey, strerror (errno)); - ELEKTRA_LOG_DEBUG ("RESOLVER: set error: %s", strerror (errno)); ret = -1; } @@ -1129,7 +1128,6 @@ int ELEKTRA_PLUG...
graph-store: prevent crashes in %add-nodes based on mug-ordering by making sure smaller indices are added first
graphs %+ ~(put by graphs) resource - [(add-node-list resource graph mark ~(tap by nodes)) mark] + :_ mark + (add-node-list resource graph mark (sort-nodes nodes)) == :: + ++ sort-nodes + |= nodes=(map index:store node:store) + ^- (list [index:store node:store]) + %+ sort ~(tap by nodes) + |= [p=[=index:store =node:sto...
Adding some comments - No code change Adding some comments for the script that prunes duplicates in pio decomposition files. No code change.
@@ -3,10 +3,15 @@ use strict; my $rundir = shift; +# Find files in current directory that are +# named *piodecomp* - these are the pio +# decomposition files opendir(F,$rundir); my @decompfiles = grep(/^piodecomp/,readdir(F)); closedir(F); my $rmfile=0; +# Compare the decomposition files to find +# duplicates - and del...
[mod_magnet] fix lighty.c.urldec_query() (did not previously work)
@@ -1005,38 +1005,37 @@ static int magnet_urldec_query(lua_State *L) { * and store components in table * (string input should be query-string without leading '?') * (note: duplicated keys replace earlier values, but this interface returns - * an table useful for lookups, so this limitation is often acceptable) */ + * a...
updates api information
@@ -58,9 +58,27 @@ argument. ./oidc-add/bin/oidc-add <shortname> ``` -### clients +### api & clients clients can use the provided api to communicate with oidc-agent. An example client is -oidc-token. It can list the currently loaded providers and get an access token. +oidc-token. + +The api provides functions for getti...
hv: fix wrong VF BDF The vf_bdf is not initialized when invoking pci_pdev_read_cfg function. Acked-by: Eddie Dong
@@ -150,6 +150,7 @@ static void enable_vf(struct pci_vdev *pf_vdev) union pci_bdf vf_bdf; uint16_t idx; uint16_t sub_vid = 0U; + uint16_t num_vfs, stride, fst_off; /* Confirm that the physical VF_ENABLE register has been set successfully */ ASSERT(is_vf_enabled(pf_vdev), "VF_ENABLE was not set successfully on the hardw...
Fix handling of accepted sockets.
#ifdef __FreeBSD__ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.c 359152 2020-03-19 21:01:16Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.c 359302 2020-03-25 15:29:01Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -5509,35 +5509,6 @@ sctp_free_assoc(struct sctp_inpcb *inp, s...
rp2/modmachine: Enable machine.Signal class. Fixes issue
#include "extmod/machine_i2c.h" #include "extmod/machine_mem.h" #include "extmod/machine_pulse.h" +#include "extmod/machine_signal.h" #include "extmod/machine_spi.h" #include "modmachine.h" @@ -163,6 +164,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = { { MP_ROM_QSTR(MP_QSTR_SoftI2C), MP_ROM_PTR(&...
Fix format specifier for double printf
@@ -132,7 +132,7 @@ HRESULT Library_corlib_native_System_Number::FormatNative___STATIC__STRING__OBJE if (formatCh == 'G') { - hal_snprintf( formatStr, ARRAYSIZE(formatStr), "%%.%dg", (dt == DATATYPE_R4) ? 9 : 17 ); // "%.9g" for float, "%.17g" for double + hal_snprintf( formatStr, ARRAYSIZE(formatStr), "%%.%dg", (dt ==...
types: Add template for k8s information.
@@ -27,6 +27,10 @@ var node string func init() { // Register column templates + columns.MustRegisterTemplate("node", "width:30,ellipsis:middle") + columns.MustRegisterTemplate("namespace", "width:30") + columns.MustRegisterTemplate("pod", "width:30,ellipsis:middle") + columns.MustRegisterTemplate("container", "width:30...
Factor out a common `strlen` into `beginExpansion` This avoids the possibility of `size` not matching `str`
@@ -747,10 +747,11 @@ static struct Expansion *getExpansionAtDistance(size_t *distance) return expansion; } -static void beginExpansion(size_t distance, uint8_t skip, - char const *str, size_t size, bool owned, +static void beginExpansion(size_t distance, uint8_t skip, char const *str, bool owned, char const *name) { +...
provisioning/warewulf-provision: enable sles httpd.conf patch
@@ -54,7 +54,7 @@ Conflicts: warewulf < 3 #!BuildIgnore: post-build-checks BuildRoot: %{?_tmppath}%{!?_tmppath:/var/tmp}/%{pname}-%{version}-%{release}-root DocDir: %{OHPC_PUB}/doc/contrib -#Patch1: warewulf-provision.httpdconfdir.patch +Patch1: warewulf-provision.httpdconfdir.patch #Patch2: warewulf-provision.sles_sta...
libcupsfilters: Fix duplicate ColorModel entries in generated PPD files
@@ -2773,6 +2773,8 @@ ppdCreateFromIPP2(char *buffer, /* I - Filename buffer */ have_bi_level = 0, have_mono = 0; + cupsFilePrintf(fp, "*%% ColorModel from %s\n", ippGetName(attr)); + for (i = 0, count = ippGetCount(attr); i < count; i ++) { keyword = ippGetString(attr, i, NULL); /* Keyword for color/bit depth */ @@ -2...
honggfuzz: ping threads periodically anyway
@@ -315,16 +315,18 @@ int main(int argc, char** argv) { LOG_I("Maximum run time reached, terminating"); break; } + pingThreads(&hfuzz); pause(); } fuzz_setTerminating(); + /* Ping threads one last time */ void* retval; if (pthread_join(sigthread, &retval) != 0) { PLOG_W("Couldn't stop the signal thread"); } - /* Ping t...
hw/mcu/dialog: Add helpers to control MTB These helpers allow to enable/disable MTB tracing from code. It may be useful to start tracing for interesting pieces of code, or temporarily disable for uniteresting pieces of code to spare buffer space (e.g. on some long loops that create a lot of branches).
@@ -35,6 +35,21 @@ hal_debug_break(void) __BKPT(1); } +static inline void +mcu_mtb_enable(void) +{ + *(uint32_t *)0xe0043004 |= (1 << 31); + __DSB(); + __ISB(); +} + +static inline void +mcu_mtb_disable(void) +{ + __ISB(); + *(uint32_t *)0xe0043004 &= ~(1 << 31); +} + #ifdef __cplusplus } #endif
inlude dist in release tag
Summary: OpenHPC release files Name: ohpc-release-factory Version: %{ohpc_version} -Release: 1 +Release: 1%{?dist} License: BSD-3 Group: %{PROJ_NAME}/admin URL: https://github.com/openhpc/ohpc
Validate parser parameter to XML_ParserReset()
@@ -976,6 +976,10 @@ XML_ParserReset(XML_Parser parser, const XML_Char *encodingName) { TAG *tStk; OPEN_INTERNAL_ENTITY *openEntityList; + + if (parser == NULL) + return XML_FALSE; + if (parentParser) return XML_FALSE; /* move tagStack to freeTagList */
Try fixing Android CI
@@ -237,7 +237,9 @@ jobs: java-version: 1.8 - name: Install NDK run: | + sudo ${ANDROID_HOME}/tools/bin/sdkmanager --list sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;22.1.7171670" + sudo ${ANDROID_HOME}/tools/bin/sdkmanager --uninstall "cmake;3.18.1" sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "cma...
BugID:22083675:update component version for 3.1.0 release
NAME := modbus_demo $(NAME)_MBINS_TYPE := app -$(NAME)_VERSION := 1.0.1 +$(NAME)_VERSION := 1.0.2 $(NAME)_SUMMARY := This example is an demo of using modbus master stack $(NAME)_SOURCES += modbus_app.c maintask.c