message
stringlengths
6
474
diff
stringlengths
8
5.22k
updates :acme to confirm challenge contents
this ?> ?=(^ rod) ?> ?=(^ active.aut.u.rod) - :: XX check content type and response body + =* aut u.active.aut.u.rod + =/ bod + %- as-octs:mimes:html + (rap 3 [tok.cal.aut '.' (pass:thumb:jwk key.act) ~]) + ?. ?& ?=(^ r.rep) + =(bod u.r.rep) + == + :: XX save-trail again? + :: XX probably a DNS misconfiguration + :: + ...
fix(draw): fix duplicate alpha overlay for draw letter
@@ -257,7 +257,7 @@ LV_ATTRIBUTE_FAST_MEM static void draw_letter_normal(lv_draw_ctx_t * draw_ctx, c lv_draw_sw_blend_dsc_t blend_dsc; lv_memzero(&blend_dsc, sizeof(blend_dsc)); blend_dsc.color = dsc->color; - blend_dsc.opa = dsc->opa; + blend_dsc.opa = LV_OPA_COVER; blend_dsc.blend_mode = dsc->blend_mode; lv_coord_t h...
common: GCC bug is fixed in 10.2
@@ -783,7 +783,7 @@ typedef SIMDE_FLOAT64_TYPE simde_float64; # define SIMDE_BUG_GCC_95227 # define SIMDE_BUG_GCC_95782 # elif defined(SIMDE_ARCH_X86) || defined(SIMDE_ARCH_AMD64) -# if !defined(__OPTIMIZE__) +# if !HEDLEY_GCC_VERSION_CHECK(10,2,0) && !defined(__OPTIMIZE__) # define SIMDE_BUG_GCC_96174 # endif # endif
fuzz: print execution time per added input
@@ -222,10 +222,11 @@ static void fuzz_perfFeedback(run_t* run) { run->global->linux.hwCnts.softCntEdge += softCntEdge; run->global->linux.hwCnts.softCntCmp += softCntCmp; - LOG_I("Size:%zu (i,b,hw,ed,ip,cmp): %" PRIu64 "/%" PRIu64 "/%" PRIu64 "/%" PRIu64 - "/%" PRIu64 "/%" PRIu64 ", Tot:%" PRIu64 "/%" PRIu64 "/%" PRIu...
Set EVP_PKEY_CTX in SignerInfo If we aren't setting public key parameters make EVP_PKEY_CTX available in SignerInfo so PSS mode and parameters are automatically selected.
@@ -656,6 +656,7 @@ int CMS_SignerInfo_sign(CMS_SignerInfo *si) EVP_MD_CTX_reset(mctx); if (EVP_DigestSignInit(mctx, &pctx, md, NULL, si->pkey) <= 0) goto err; + si->pctx = pctx; } if (EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_SIGN,
update compiler version for multipltimer_radio project.
<TargetName>Target 1</TargetName> <ToolsetNumber>0x4</ToolsetNumber> <ToolsetName>ARM-ADS</ToolsetName> - <pCCUsed>5060528::V5.06 update 5 (build 528)::ARMCC</pCCUsed> + <pCCUsed>5060750::V5.06 update 6 (build 750)::ARMCC</pCCUsed> <uAC6>0</uAC6> <TargetOption> <TargetCommonOption>
add comment for enforce virtual segment number.
@@ -4643,6 +4643,10 @@ calculate_planner_segment_num(PlannedStmt *plannedstmt, Query *query, } if (enforce_virtual_segment_number > 0) { + /* + * this is the last factor to determine the virtual segment number, + * it has the highest priority in all conditions. + */ maxTargetSegmentNumber = enforce_virtual_segment_numb...
display: make it compile under cygwin
@@ -112,7 +112,7 @@ static unsigned getCpuUse(int numCpus) { uint64_t systemT = 0UL; uint64_t idleT = 0UL; -#if defined(__linux__) +#if defined(__linux__) || defined(__CYGWIN__) FILE* f = fopen("/proc/stat", "re"); if (f == NULL) { return 0;
SOVERSION bump to version 4.1.10
@@ -38,7 +38,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 4) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 9) +set(SYSREPO_MICRO_SO...
bin: on SIGTERM exit properly
@@ -410,7 +410,7 @@ static void flb_signal_handler(int signal) case SIGTERM: flb_stop(ctx); flb_destroy(ctx); - break; + _exit(EXIT_SUCCESS); case SIGSEGV: #ifdef FLB_HAVE_LIBBACKTRACE flb_stacktrace_print(&flb_st);
Remove printf when parsing legacy tx
@@ -342,7 +342,6 @@ static bool processEIP2930Tx(txContext_t *context) { } static bool processLegacyTx(txContext_t *context) { - PRINTF("Processing legacy\n"); switch (context->currentField) { case LEGACY_RLP_CONTENT: processContent(context);
tcp: correct validity check return value Type: fix
@@ -2291,6 +2291,7 @@ tcp_lookup_is_valid (tcp_connection_t * tc, tcp_header_t * hdr) && tmp->rmt_port == hdr->src_port) { TCP_DBG ("half-open is valid!"); + is_valid = 1; } } }
tests CHANGE do not use "/home" when testing searchpaths Do not use static paths since they are environment dependent. Instead, use some of the paths provided via CMake.
@@ -127,8 +127,7 @@ test_searchdirs(void **state) assert_int_equal(LY_SUCCESS, ly_ctx_set_searchdir(ctx, TESTS_SRC"/../doc")); assert_int_equal(LY_SUCCESS, ly_ctx_set_searchdir(ctx, TESTS_SRC)); assert_int_equal(LY_SUCCESS, ly_ctx_set_searchdir(ctx, TESTS_BIN)); - assert_int_equal(LY_SUCCESS, ly_ctx_set_searchdir(ctx, ...
mention gcc-arm-linux-gnueabihf in compile.md
@@ -43,6 +43,7 @@ sudo systemctl restart systemd-binfmt _For Pi4. Change to RPI2 or RPI3 for other models. Change `-DRPI4=1` to `-DRPI4ARM64=1` for compiling on arm64. (armhf multiarch or chroot required alongside armhf gcc. Install it with 'sudo apt install gcc-arm-linux-gnueabihf'.)_ ``` +sudo apt install gcc-arm-lin...
Update version for development testing.
#define MOD_WSGI_MAJORVERSION_NUMBER 4 #define MOD_WSGI_MINORVERSION_NUMBER 9 -#define MOD_WSGI_MICROVERSION_NUMBER 4 -#define MOD_WSGI_VERSION_STRING "4.9.4" +#define MOD_WSGI_MICROVERSION_NUMBER 5 +#define MOD_WSGI_VERSION_STRING "4.9.5.dev1" /* ------------------------------------------------------------------------...
Increase process timeout and emit occasional warnings. Travis will timeout after 10 minutes with no output. Emit a warning every 5 minutes to keep Travis alive and increase the total timeout to 20 minutes. Documentation builds have been timing out a lot recently so hopefully this will help.
@@ -107,7 +107,8 @@ sub begin new pgBackRest::Common::Io::Handle('exec test', $self->{hError}), 0, 65536); # Record start time and set process timeout - $self->{iProcessTimeout} = 540; + $self->{iProcessTimeout} = 300; + $self->{iProcessTimeoutTotal} = 4; $self->{lTimeLast} = time(); if (!defined($self->{hError})) @@ -...
flash_fp_mcu: Add config_skyrim BRANCH=NONE TEST=On skyrim device, ran /usr/local/bin/flash_fp_mcu and tested the fingerprint authentication in the UI
@@ -670,6 +670,20 @@ config_guybrush() { readonly GPIO_PWREN=259 } +config_skyrim() { + readonly TRANSPORT="UART" + + readonly DEVICE="/dev/ttyS1" + + readonly GPIO_CHIP="gpiochip768" + # FPMCU RST_ODL is on AGPIO 12 = 768 + 12 = 780 + readonly GPIO_NRST=780 + # FPMCU BOOT0 is on AGPIO 130 = 768 + 130 = 898 + readonly ...
0-fill structures allocated from OC_MEMB() pools
@@ -61,7 +61,9 @@ oc_memb_alloc(struct oc_memb *m) indicate that it now is used and return a pointer to the memory block. */ ++(m->count[i]); - return (void *)((char *)m->mem + (i * m->size)); + void *mem = (void *)((char *)m->mem + (i * m->size)); + memset(mem, 0, m->size); + return mem; } }
ack_delay is milliseconds resolution
@@ -291,7 +291,7 @@ void print_frame(ngtcp2_dir dir, const ngtcp2_frame *fr) { "largest_ack=%" PRIu64 " ack_delay=%s(%" PRIu64 ") ack_block_count=%zu\n", fr->ack.largest_ack, - util::format_duration(fr->ack.ack_delay_unscaled).c_str(), + util::format_duration(fr->ack.ack_delay_unscaled * 1000).c_str(), fr->ack.ack_dela...
Make sure leds are off before starting the bsp_cryptoengine test suite.
@@ -335,6 +335,8 @@ int mote_main(void) { board_init(); + leds_all_off(); + #if TEST_AES_ECB if (run_aes_ecb_suite(aes_ecb_suite, sizeof(aes_ecb_suite)/sizeof(aes_ecb_suite[0])) == E_FAIL) { fail++;
Fix showing security editor for unnamed objects
@@ -567,6 +567,9 @@ BOOL STDMETHODCALLTYPE PhSecurityInformation3_GetFullResourceName( { PhSecurityInformation3 *this = (PhSecurityInformation3 *)This; + if (PhIsNullOrEmptyString(this->Context->ObjectName)) + *ppszResourceName = PhGetString(this->Context->ObjectType); + else *ppszResourceName = PhGetString(this->Conte...
doc: Update note for the directory of UOS image
@@ -312,8 +312,8 @@ For the User OS, we are using the same `Clear Linux`_ release version as the Ser -k /lib/modules/kernel/default-iot-lts2018 .. note:: - The image of UOS can be stored in other directories instead of "/root", - and please remember to modify it in "launch_uos.sh" too. + The image of UOS can be stored ...
admin/meta-packages: install python3 runtime on compute nodes
@@ -92,10 +92,12 @@ Requires: numactl %if 0%{?centos_version} || 0%{?rhel_version} Requires: cairo-devel Requires: libpciaccess +Requires: python34 %endif %if 0%{?sles_version} || 0%{?suse_version} Requires: libcairo2 Requires: libpciaccess0 +Requires: python3 %endif %description -n %{PROJ_NAME}-base-compute Collection...
PM: updated default profile and updated property namespace documentation
{ "uid":"default", - "description":"default properties applied to each request", + "description":"default properties: profile matches ANY request", "policy_type": "profile", "priority": 0, "properties":{ - "cached": { + "transport": { + "value": "reliable", + "precedence": 0 + }, + "low_latency": { "value": false, - "p...
optimize the null pointer judgment of eb
@@ -48,8 +48,10 @@ static esp_err_t wifi_ap_receive(void *buffer, uint16_t len, void *eb) static void wifi_free(void *h, void* buffer) { + if (buffer) { esp_wifi_internal_free_rx_buffer(buffer); } +} static esp_err_t wifi_transmit(void *h, void *buffer, size_t len) {
Del launcher when flashing new one from SD
@@ -122,6 +122,7 @@ bool parse_flash_metadata(uint32_t offset, GameInfo &info) { bool parse_file_metadata(FIL &fh, GameInfo &info) { BlitGameHeader header; UINT bytes_read; + bool result = false; f_lseek(&fh, 0); f_read(&fh, &header, sizeof(header), &bytes_read); @@ -156,11 +157,20 @@ bool parse_file_metadata(FIL &fh, ...
some endian fixes on detection of replay counter
@@ -1403,7 +1403,7 @@ if(eapauth->type == EAPOL_KEY) { wpak = (wpakey_t*)(eapauthptr +EAPAUTH_SIZE); keyinfo = (getkeyinfo(ntohs(wpak->keyinfo))); - rc = byte_swap_64(wpak->replaycount); + rc = be64toh(wpak->replaycount); if(keyinfo == 1) { if((authlen == 95) && (memcmp(macfrx->addr1, &mac_mysta, 6) == 0))
Bugfix for En_getaveragepatternvalue() Fixes a bug where 0 was not considered to be a valid pattern index.
@@ -4525,7 +4525,7 @@ int DLLEXPORT EN_getaveragepatternvalue(EN_Project p, int index, double *value) *value = 0.0; if (!p->Openflag) return 102; - if (index < 1 || index > net->Npats) return 205; + if (index < 0 || index > net->Npats) return 205; for (i = 0; i < Pattern[index].Length; i++) { *value += (double)Pattern[...
hfuzz-cc/: missing --wrap=strlcpy
@@ -450,6 +450,7 @@ static int ldMode(int argc, char** argv) { args[j++] = "-Wl,--wrap=bcmp"; args[j++] = "-Wl,--wrap=memmem"; args[j++] = "-Wl,--wrap=strcpy"; + args[j++] = "-Wl,--wrap=strlcpy"; /* Apache httpd */ args[j++] = "-Wl,--wrap=ap_cstr_casecmp"; args[j++] = "-Wl,--wrap=ap_cstr_casecmpn";
u3: refactors disabled set treap jet (+int:in)
*/ #include "all.h" - /* functions */ u3_noun u3_noun l_a, n_a, r_a, lr_a; u3_noun l_b, n_b, r_b, lr_b; u3_noun c; + u3x_cell(a, &n_a, &lr_a); + u3x_cell(b, &n_b, &lr_b); - if ( (c3n == u3r_cell(a, &n_a, &lr_a)) ) { - return u3m_bail(c3__exit); - } - else if ( (c3n == u3r_cell(b, &n_b, &lr_b)) ) { - return u3m_bail(c3_...
imageInput: adds clear button fixes urbit/landscape#785
@@ -8,7 +8,8 @@ import { Button, Label, BaseInput, - Text + Text, + Icon } from '@tlon/indigo-react'; import useStorage from '~/logic/lib/useStorage'; @@ -84,6 +85,31 @@ const errorRetry = (meta, uploading, clickUploadButton) => { return null; }; +const clearButton = (field, uploading, clearEvt) => { + if (field.value ...
core/test: Test pre-init memory reservations
@@ -74,7 +74,7 @@ bool lock_held_by_me(struct lock *l) return l->lock_val; } -#define TEST_HEAP_ORDER 12 +#define TEST_HEAP_ORDER 14 #define TEST_HEAP_SIZE (1ULL << TEST_HEAP_ORDER) static void add_mem_node(uint64_t start, uint64_t len) @@ -203,14 +203,17 @@ int main(void) buf = real_malloc(1024*1024); add_mem_node((un...
BUFR subset extraction: improve error message
@@ -172,7 +172,11 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len) v[0]=1; err=grib_pack_long(self->packAccessor,v,&l); - if (err) return err; + if (err) { + if (err == GRIB_ENCODING_ERROR) + grib_context_log(a->context,GRIB_LOG_ERROR,"Could not extract subset(s).\n\tHint: Did you forget to set u...
abis/mlibc: Fix deprecation notice in utsname.h
#define _ABIBITS_UTSNAME_T_H #if __MLIBC_BUILDING_MLIBC -#warning abis/mlibc/wait.h is deprecated. We suggest to use abis/linux/wait.h instead. \ +#warning abis/mlibc/utsname.h is deprecated. We suggest to use abis/linux/utsname.h instead. \ Note that this will potentially require kernel changes. #endif
Added Coding Style section on Type Casting.
@@ -357,6 +357,34 @@ All headers should contain: #pragma once +#### Type Conventions + +Because OpenEXR must deal properly with large images, whose width +and/or height approach the maximum allowable in 32-bit signed +integers, take special care that integer arithmatic doesn't overlow, +and make it as clear as possible...
Correct English grammar and typo errors record -> recording specifiy -> specify
@@ -547,7 +547,7 @@ static void smart_usage(void) fprintf(stderr, " Performs a circular log style test where a fixed number of fixed\n"); fprintf(stderr, " length records are written and then overwritten with new data.\n"); fprintf(stderr, " Uses the -r, -e and -t options to specify the parameters of the\n"); - fprintf...
Add IRC channel information
@@ -37,6 +37,8 @@ For more information in the source, here are some pointers: ## Joining -Developers welcome! To join in the discussion, please join the developer mailing list: +Developers welcome! +* Our developer mailing list: http://lists.runtime.co/mailman/listinfo/dev-mcuboot_lists.runtime.co +* Our IRC channel: h...
Added granular java coverage support issue:https://st.yandex-team.ru/DEVTOOLS-3383
@@ -13,7 +13,7 @@ def mkdir_p(path): pass -def main(source, output, java, prefix_filter, exclude_filter, jars_list, output_format): +def main(source, output, java, prefix_filter, exclude_filter, jars_list, output_format, tar_output, agent_disposition): reports_dir = 'jacoco_reports_dir' mkdir_p(reports_dir) with tarfil...
Use QLatin1String in schedules API check
/* - * Copyright (c) 2016 dresden elektronik ingenieurtechnik gmbh. + * Copyright (c) 2016-2019 dresden elektronik ingenieurtechnik gmbh. * All rights reserved. * * The software in this package is published under the terms of the BSD @@ -35,7 +35,7 @@ void DeRestPluginPrivate::initSchedules() */ int DeRestPluginPrivate...
Fixing test execution for Travis CI in .travis.yml.
@@ -64,9 +64,9 @@ install: script: - if [[ "$DOCKER_DEPLOY" == "false" ]]; then - cd python/test; - python -m unittest discover -b; - cd ../..; + cd python; + python setup.py test; + cd ..; else cd python; cp -a ../src .;
change to call acquire_vm_cb() in main thread Change the call to acquire_vm_cb() in luv.new_therad() to be made before the thread is created in luv_new_thread().
@@ -277,7 +277,7 @@ static int luv_thread_tostring(lua_State* L) static void luv_thread_cb(void* varg) { //acquire vm and get top luv_thread_t* thd = (luv_thread_t*)varg; - lua_State* L = acquire_vm_cb(); + lua_State* L = thd->args.L; luv_ctx_t *ctx = luv_context(L); //push lua function, thread entry @@ -344,12 +344,16...
Add `transportTcpRemoteControlSupport` cover all the paths with `transportSupportsCommandControl` function
@@ -587,6 +587,53 @@ transportTcpReconnect(void** state) } } +static void +transportTcpRemoteControlSupport(void** state) +{ + transport_t* t = NULL; + assert_false(transportSupportsCommandControl(t)); + + t = transportCreateTCP("127.0.0.1", "mom's apple pie recipe", TRUE, FALSE, NULL); + assert_non_null(t); + assert_f...
docs: explicitly note that timer alarms are not recurring Merges
@@ -67,7 +67,8 @@ After the alarm is enabled and the timer reaches the alarm value, depending on c .. note:: - The alarm will be triggered immediately, if an alarm value is set and the timer has already passed this value. + * The alarm will be triggered immediately, if an alarm value is set and the timer has already pa...
Move NsDepth inside function
#define LDSCOPE_IN_HOST_NS "/usr/lib/appscope/ldscope" // TODO #define LDSCOPE_CONFIG_IN_CHILD "/tmp/scope_filter" // TODO #define LDSCOPE_CONFIG_IN_HOST "/usr/lib/appscope/scope_filter" // TODO -#define VALID_NS_DEPTH 2 #define SCOPE_CRONTAB "* * * * * root /tmp/scope_att.sh\n" #define SCOPE_CRON_SCRIPT "#! /bin/bash\...
Added prototypes and data types for sceClibMspace* functions.
extern "C" { #endif +/** + * A handle for a managed memory space. + */ +typedef void* SceClibMspace; + +/** + * Structure for stats of SceClibMspace + */ +typedef struct SceClibMspaceStats { + SceSize capacity; //!< Capacity of the Mspace + SceSize unk; //!< Unknown, value is equal to capacity + SceSize peak_in_use; //...
Remove breaks and replaces, not applicable to Debian
@@ -22,8 +22,6 @@ Package: libstlink1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Breaks: libstlink -Replaces: libstlink Description: OpenSource ST-Link tools replacement. Flashing tools for STMicroelectronics STM32VL and STM32L. The transport layers STLINKv1 and STLINKv2 are supported....
driver: bmm150: Fix comment Fix cut and paste error. BRANCH=reef TEST=compile
@@ -232,7 +232,7 @@ void bmm150_normalize(const struct motion_sensor_t *s, /* X and Y are two's complement 13 bits vectors */ raw[X] = ((int16_t)(data[0] | (data[1] << 8))) >> 3; raw[Y] = ((int16_t)(data[2] | (data[3] << 8))) >> 3; - /* X and Y are two's complement 15 bits vectors */ + /* Z are two's complement 15 bits...
Use AC_LINK_IFELSE to find function in non-standard library
@@ -171,8 +171,24 @@ if test "x${request_openssl}" != "xno"; then AC_MSG_NOTICE($OPENSSL_PKG_ERRORS) fi # Until OpenSSL gains mainline support for QUIC, check for a patched version. - AC_CHECK_LIB([ssl], [SSL_is_quic], [have_openssl_quic=yes], - [have_openssl_quic=no], [$OPENSSL_LIBS]) + save_CFLAGS="$CFLAGS" + save_LI...
Prototype bitmask constants for recursive damage.
@@ -1225,19 +1225,11 @@ typedef enum typedef enum { - /* - Damage over time mode enum. - Damon V. Caskey - 2013-12-27 - */ - - DOT_MODE_OFF, //Disable. - DOT_MODE_HP, //Drain HP. - DOT_MODE_HP_MP, //Drain HP and MP. - DOT_MODE_MP, //Drain mp. - DOT_MODE_NON_LETHAL_HP, //Drain HP, but do not kill entity. - DOT_MODE_NON_...
fixed freeing of gsl splines
@@ -38,8 +38,6 @@ void ccl_cosmology_compute_hmfparams(ccl_cosmology * cosmo, int *status) gsl_spline * alphahmf = gsl_spline_alloc(D_SPLINE_TYPE, nd); *status = gsl_spline_init(alphahmf, lgdelta, alpha, nd); if (*status){ - free(delta); - free(alpha); gsl_spline_free(alphahmf); *status = CCL_ERROR_SPLINE ; strcpy(cosm...
Xfail test_dist_train_snapshot
@@ -4525,6 +4525,7 @@ def test_dist_train_auc_weight(loss_func): output_file_switch='--test-err-log'))] +@pytest.mark.xfail(reason='Boost from average for distributed training') @pytest.mark.parametrize('schema,train', [('quantized://', 'train_small_x128_greedylogsum.bin'), ('', 'train_small')]) def test_dist_train_sna...
fixed setting EAPOL length field in sent EAP over TLS packet written to PCAPNG
@@ -857,8 +857,14 @@ return; /*===========================================================================*/ static inline void writeepbown_peap(int fd, uint8_t *innerpacket, size_t innerpacketlen) { +eapauth_t *eapauth; +exteap_t *exteap; +eapauth = (eapauth_t*)(epbown +EPB_SIZE +HDRRT_SIZE +MAC_SIZE_QOS +LLC_SIZE); +...
parser json UPDATE matching meta/attr to nodes Handle all 4 variants of opaque and standard nodes.
@@ -1149,15 +1149,45 @@ lydjson_parse_attribute(struct lyd_json_ctx *lydctx, struct lyd_node *attr_node, const char *opaq_name; size_t opaq_name_len; - /* parse as an attribute to a node */ - if (!attr_node && snode) { + if (!snode && !prefix) { + /* set the prefix */ + if (parent) { + lydjson_get_node_prefix(parent, N...
libdriverkit: adding missing header file changes
@@ -24,6 +24,13 @@ errval_t driverkit_hwmodel_frame_alloc(struct capref *dst, size_t bytes, int32_t dstnode, int32_t *nodes); +errval_t driverkit_hwmodel_get_map_conf(struct capref dst, + int32_t nodeid, + char *ret_conf_buf, size_t ret_conf_size, + genpaddr_t *ret_addr); + + + errval_t driverkit_hwmodel_vspace_map(int...
Save Heap location and size in config
@@ -81,4 +81,9 @@ void HeapLocation(unsigned char*& baseAddress, unsigned int& sizeInBytes) baseAddress = pManagedHeap; sizeInBytes = managedHeapSize; + + + // Update System config with Heap location and size + HalSystemConfig.RAM1.Size = managedHeapSize; + HalSystemConfig.RAM1.Base = (unsigned int)pManagedHeap; }
perf-tools/mpiP: preserve compiler_family in install path when redefined
@@ -40,7 +40,7 @@ BuildRequires: binutils-devel BuildRequires: python # Default library install path -%define install_path %{OHPC_LIBS}/%{compiler_family}/%{mpi_family}/%{pname}/%version +%global install_path %{OHPC_LIBS}/%{compiler_family}/%{mpi_family}/%{pname}/%version %description @@ -148,3 +148,4 @@ rm -rf $RPM_BU...
refactored - now with status output
@@ -36,7 +36,6 @@ endif $(CC) $(CFLAGS) -o wlanhcx2essid wlanhcx2essid.c $(CC) $(CFLAGS) -o wlanhcx2ssid wlanhcx2ssid.c $(CC) $(CFLAGS) -o wlanhcx2john wlanhcx2john.c - $(CC) $(CFLAGS) -o wlanhcx2key wlanhcx2key.c -lcrypto $(CC) $(CFLAGS) -o wlanhcxinfo wlanhcxinfo.c $(CC) $(CFLAGS) -o wlanhcxmnc wlanhcxmnc.c $(CC) $(C...
Don't show code completion on console
@@ -273,6 +273,9 @@ class EditorViewController: NSViewController, SyntaxTextViewDelegate, NSTextView if (notification.object as? TextView) == textView.contentTextView { textView.textViewDidChangeSelection(notification) completeCode() + } else if (notification.object as? NSTextView) == consoleTextView { + completions = ...
Rename mbedtls_get_mode() to mbedtls_ssl_get_mode()
@@ -1715,7 +1715,7 @@ void mbedtls_ssl_conf_psk_cb( mbedtls_ssl_config *conf, } #endif /* MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED */ -static inline mbedtls_ssl_mode_t mbedtls_get_mode( +static inline mbedtls_ssl_mode_t mbedtls_ssl_get_mode( #if defined(MBEDTLS_SSL_ENCRYPT_THEN_MAC) int encrypt_then_mac, #endif /* MBEDTLS...
tools:fpgad fix double free memory Changes: -Bitsteam buffer freed twice in case of corrupted bitstream
@@ -255,7 +255,9 @@ int read_bitstream(const char *filename, struct bitstream_info *info) return 0; out_free: + if (info->data) free((void *)info->data); + info->data = NULL; out_close: fclose(f); return -1; @@ -274,7 +276,8 @@ void *ap6_thread(void *thread_context) fpga_result res; uint32_t num_matches = 0; - struct b...
Coverity unchecked return value There isn't much else that can be done here unfortunately.
@@ -1914,7 +1914,8 @@ static void get_current_time(struct timeval *t) t->tv_sec = (long)(now_ul / 10000000); t->tv_usec = ((int)(now_ul % 10000000)) / 10; # else - gettimeofday(t, NULL); + if (gettimeofday(t, NULL) < 0) + perror("gettimeofday"); # endif }
Elektra: Core: KeySet: lookup: add always KDB_O_OPMPHM to options
@@ -2052,9 +2052,6 @@ static Key * elektraLookupSearch (KeySet * ks, Key * key, option_t options) #ifdef ELEKTRA_ENABLE_OPTIMIZATIONS int opmphmOptionIsSet = 0; - // OPMPHM always on - options |= KDB_O_OPMPHM; - // flags not compatible with OPMPHM if (((options & KDB_O_WITHOWNER) || (options & KDB_O_NOCASE)) && (option...
hv: pass kernel cmdline from SBL to vm0 kernel The SBL could pass cmdline to vm0 kernel by using mbi->mi_cmdline which should be passed to vm0 kernel as well. Acked-by: Eddie Dong
#define ACRN_DBG_BOOT 6 +/* There are two sources for vm0 kernel cmdline: + * - cmdline from sbl. mbi->cmdline + * - cmdline from acrn stitching tool. mod[0].mm_string + * We need to merge them together + */ +static char kernel_cmdline[MEM_2K]; + /*now modules support: FIRMWARE & RAMDISK */ static void parse_other_modu...
Code: Remove redundant check
/* 0 is not a valid value for xTimerPeriodInTicks. */ configASSERT( ( xTimerPeriodInTicks > 0 ) ); - if( pxNewTimer != NULL ) - { /* Ensure the infrastructure used by the timer service task has been * created/initialised. */ prvCheckForValidListAndQueue(); traceTIMER_CREATE( pxNewTimer ); } - } /*----------------------...
Remove vtkVisItStructuredGrid and vtkVisItRectilinearGrid overrides They are defined in visit_vtk/full/InitVTK.
#include <vtkToolkits.h> #include <vtkVisItDataSetMapper.h> -#include <vtkVisItRectilinearGrid.h> -#include <vtkVisItStructuredGrid.h> #include <vtkOpenGLPointMapper.h> #include <vtkObjectFactory.h> @@ -54,8 +52,6 @@ vtkStandardNewMacro(vtkVisItGraphicsFactory) // Necessary for each object that will override a vtkObjec...
gsettings: write tree changes immediately
@@ -351,6 +351,7 @@ static gboolean elektra_settings_backend_write_tree (GSettingsBackend * backend, g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s %s.", "Function writeTree. ", "We have to loop the tree and add the keys"); g_mutex_lock (&elektra_settings_kdb_lock); g_tree_foreach (tree, elektra_settings_keyset_from_tree,...
Improve runas session enumeration
@@ -745,12 +745,40 @@ static VOID PhpAddSessionsToComboBox( sessions[i].WinStationName[0] != UNICODE_NULL ) { - menuString = PhFormatString(L"%lu: %s (%s\\%s)", - sessions[i].SessionId, - sessions[i].WinStationName, - winStationInfo.Domain, - winStationInfo.UserName - ); + SIZE_T formatLength; + PH_FORMAT format[8]; + ...
tcnyc update fixed
@@ -132,12 +132,10 @@ DWORD WINAPI Init(LPVOID bDelay) if (fGameSpeed) { - auto sub_40C930 = hook::pattern("8B 44 24 04 8B 0D ? ? ? ? 0F BE 4C 01 08 8B C1 99"); - auto flt_6CD6B0_pattern = hook::range_pattern((uintptr_t)sub_40C930.count(2).get(1).get<uintptr_t>(0), (uintptr_t)sub_40C930.count(2).get(1).get<uintptr_t>(1...
Workaround not allowing if: within composite actions
@@ -14,29 +14,21 @@ runs: run: .github/scripts/create-hash.sh shell: bash - - name: Generate keys - id: genkey - run: | - echo "::set-output name=riscvtools-cache-key::riscv-tools-installed-${{ env.tools-cache-version }}-$(shasum riscv-tools.hash | cut -d' ' -f1)" - echo "::set-output name=esptools-cache-key::esp-tools...
Fix fetch_from same file detection on Windows. Python 2 does not implement os.path.samefile for Windows. Note: mandatory check (NEED_CHECK) was skipped
@@ -284,7 +284,7 @@ def process(fetched_file, file_name, args, remove=True): for src, dst in zip(args.rename, args.outputs): if src == 'RESOURCE': src = fetched_file - if os.path.samefile(src, fetched_file): + if os.path.abspath(src) == os.path.abspath(fetched_file): logging.info('Copying %s to %s', src, dst) hardlink_...
Replace comparison with XOR
@@ -127,7 +127,7 @@ void mbedtls_mpi_mod_raw_add( mbedtls_mpi_uint *X, mbedtls_mpi_uint carry, borrow; carry = mbedtls_mpi_core_add( X, A, B, N->limbs ); borrow = mbedtls_mpi_core_sub( X, X, N->p, N->limbs ); - (void) mbedtls_mpi_core_add_if( X, N->p, N->limbs, ( carry < borrow ) ); + (void) mbedtls_mpi_core_add_if( X,...
Fix error handling in test_harness.py If this was run under python3 and a compilation error occurred, it would throw another exception while trying to report the error. [ci skip]
@@ -116,7 +116,7 @@ def build_program(source_files, image_type='bare-metal', opt_level='-O3', cflags else: return ELF_FILE except subprocess.CalledProcessError as exc: - raise TestException('Compilation failed:\n' + exc.output) + raise TestException('Compilation failed:\n' + exc.output.decode()) class TimedProcessRunne...
brought back previous tests
@@ -3,6 +3,9 @@ import pytest import pyccl as ccl +COSMO = ccl.Cosmology( + Omega_c=0.27, Omega_b=0.045, h=0.67, sigma8=0.8, n_s=0.96, + transfer_function='bbks', matter_power_spectrum='halofit') MS = [1E13, [1E12, 1E15], np.array([1E12, 1E15])] MF_EQUIV = {'tinker10': 'Tinker10', 'tinker': 'Tinker08', @@ -45,12 +48,57...
Document how the configuration option 'reconf' works
the corresponding value in the inherited environment, if there is one. + reconf + reconfigure + Reconfigure from earlier data. This fetches the previous + command line options and environment from data saved in + "configdata.pm", and runs the configuration process again, + using these options and environment. + Note: N...
os\board\rtl8720e: Add checking for to make sure ftl_mapping_table is not null before accessing it
@@ -796,6 +796,11 @@ uint16_t read_mapping_table(uint16_t logical_addr) uint32_t byte_index = bit_index / 8; uint32_t byte_offset = bit_index % 8; + if (ftl_mapping_table == NULL) { + FTL_PRINTF(FTL_LEVEL_ERROR, "[ftl] ftl_mapping_table is null!"); + ASSERT(0); + } + uint16_t phy_addr = ftl_mapping_table[byte_index] + ...
refactor read-at-aeon into a ?-
++ read-at-aeon :: read-at-aeon:ze |= {yon/aeon mun/mood} :: seek and read ^- (unit (unit (each cage lobe))) - ?: ?=($w p.mun) - ?^ r.mun [~ ~] - ?. ?=($ud -.q.mun) [~ ~ %& %aeon !>(yon)] + ?- p.mun + $w + ?. ?=($ud -.q.mun) ?^(r.mun ~ [~ ~ %& %aeon !>(yon)]) (bind (read-w yon r.mun) (lift |=(a/cage [%& a]))) - ?: ?=($...
client session BUGFIX check for parsing errors
@@ -1841,6 +1841,9 @@ nc_send_rpc(struct nc_session *session, struct nc_rpc *rpc, int timeout, uint64_ } else { data = lyd_parse_mem(session->ctx, rpc_gen->content.xml_str, LYD_XML, LYD_OPT_RPC | LYD_OPT_NOEXTDEPS | (session->flags & NC_SESSION_CLIENT_NOT_STRICT ? 0 : LYD_OPT_STRICT), NULL); + if (!data) { + return NC_...
Fixed incorrect repository name in README
@@ -94,7 +94,7 @@ such as: To build HermitCore from source (without compiler), the repository with its submodules has to be cloned. ```bash -$ git clone git@github.com:hermitcore/libhermit.git +$ git clone git@github.com:hermitcore/libhermit.git HermitCore $ cd HermitCore $ git submodule init $ git submodule update
arch: fix typo of KMM_NHEAPS MM_NHEAPS was merged to KMM_NHEAPS with commit This commit fixes missing modification for that.
@@ -799,18 +799,18 @@ config RAM_KREGIONx_HEAP_INDEX Index can be from 0 to (KMM_NHEAPS-1). config RAM_MALLOC_PRIOR_INDEX - int "prior region index(0 MM_NHEAPS-1) of RAM used in malloc" + int "prior region index(0 KMM_NHEAPS-1) of RAM used in malloc" default 0 - depends on MM_NHEAPS != 1 + depends on KMM_NHEAPS != 1 --...
[numerics] declare desctructor as static, unsure about that one
@@ -49,7 +49,7 @@ tlsvar MPI_Comm NM_mpi_com = MPI_COMM_NULL; } #elif defined(__GNUC__) & !defined(__APPLE__) - void cleanup_MPI(void) __attribute__ ((destructor)) + static void cleanup_MPI(void) __attribute__ ((destructor)) { if (NM_mpi_com != MPI_COMM_NULL) {
stiffen TLS error handling
@@ -537,19 +537,21 @@ static ssize_t fio_tls_read(intptr_t uuid, void *udata, void *buf, case SSL_ERROR_SSL: /* overflow */ case SSL_ERROR_ZERO_RETURN: return 0; /* EOF */ + case SSL_ERROR_SYSCALL: /* allow errno to inform us */ + break; /* return -1 */ case SSL_ERROR_NONE: /* overflow */ case SSL_ERROR_WANT_CONNECT: /...
SNAT: fix invalid outside FIB index
@@ -163,6 +163,13 @@ snat_not_translate (snat_main_t * sm, snat_runtime_t * rt, u32 sw_if_index0, if (PREDICT_FALSE(ip0->dst_address.as_u32 == rt->cached_ip4_address)) return 1; + /* If outside FIB index is not resolved yet */ + if (sm->outside_fib_index == ~0) + { + sm->outside_fib_index = + ip4_fib_table_find_or_crea...
stm32/usbd_conf: Add support for USB HS peripheral on H7 MCUs.
@@ -104,10 +104,16 @@ void HAL_PCD_MspInit(PCD_HandleTypeDef *hpcd) { else if (hpcd->Instance == USB_OTG_HS) { #if MICROPY_HW_USB_HS_IN_FS + #if defined(STM32H7) + const uint32_t otg_alt = GPIO_AF12_OTG2_FS; + #else + const uint32_t otg_alt = GPIO_AF12_OTG_HS_FS; + #endif + // Configure USB FS GPIOs - mp_hal_pin_config...
Fudge Python module search path on windows so that can use Python virtual environment.
@@ -424,6 +424,8 @@ InterpreterObject *newInterpreterObject(const char *name) const char *str = NULL; + const char *python_home = 0; + /* Create handle for interpreter and local data. */ self = PyObject_New(InterpreterObject, &Interpreter_Type); @@ -882,6 +884,34 @@ InterpreterObject *newInterpreterObject(const char *n...
ARMv8: strip debug symbols from the CPU driver
@@ -17,6 +17,7 @@ import HakeTypes import qualified Config import qualified ArchDefaults + ------------------------------------------------------------------------- -- -- Architecture specific definitions for ARM @@ -155,12 +156,14 @@ linkKernel opts objs libs name driverType= kernelmap = "/kernel/" ++ name ++ ".map" k...
Improve migration guide for SHA384 option
@@ -5,5 +5,8 @@ This does not affect users who use the default `config.h`. MBEDTLS_SHA512_NO_SHA384 was disabled by default, now MBEDTLS_SHA384_C is enabled by default. -If you were using a config file with MBEDTLS_SHA512_NO_SHA384 enabled, -then just remove it (don't define MBEDTLS_SHA384_C). +If you were using a conf...
no trigger nat ipfix flush in first worker
@@ -1539,7 +1539,7 @@ snat_ipfix_flush_from_main (void) } /* Trigger flush for each worker thread */ - for (i = 1; i < vec_len (silm->worker_vms); i++) + for (i = 0; i < vec_len (silm->worker_vms); i++) { worker_vm = silm->worker_vms[i]; if (worker_vm)
gso: remove ordering dependency on esp-encrypt-tun Type: fix ... it's not a feature anymore
@@ -863,13 +863,13 @@ VNET_FEATURE_INIT (gso_l2_ip6_node, static) = { VNET_FEATURE_INIT (gso_ip4_node, static) = { .arc_name = "ip4-output", .node_name = "gso-ip4", - .runs_before = VNET_FEATURES ("esp4-encrypt-tun","ipsec4-output-feature"), + .runs_before = VNET_FEATURES ("ipsec4-output-feature"), }; VNET_FEATURE_INIT...
BugID:24656681: Fixed statfs issue
@@ -86,7 +86,7 @@ int statfs(const char *path, struct statfs *buf) buf->f_namelen = statfs_temp.f_namelen; } - return aos_statfs(path, buf); + return ret; } int link(const char *oldpath, const char *newpath)
OcAppleKernelLib: Fix InternalPrepareCreateVtablesPrelinked64
@@ -232,19 +232,19 @@ InternalPrepareCreateVtablesPrelinked64 ( if (MachoSymbolNameIsVtable64 (Name)) { Result = MachoIsSymbolValueInRange64 ( MachoContext, - VtableExport->Symbols[Index] + Symbol ); if (!Result) { return FALSE; } + VtableExport->Symbols[NumVtables] = Symbol; + ++NumVtables; // // This should be accoun...
finished misra 17.8
@@ -394,15 +394,16 @@ int current_int0_alt_setting = 0; // packet read and write void *USB_ReadPacket(void *dest, uint16_t len) { - uint32_t i = 0; + + void *dest_copy = dest; uint32_t count32b = (len + 3U) / 4U; - for ( i = 0; i < count32b; i++) { + for (uint32_t i = 0; i < count32b; i++) { // packed? - *(__attribute_...
README.md: update Windows guide
@@ -27,11 +27,26 @@ On __Arch Linux__, type: On __Mac OS X__, install SDL2 via [Homebrew](http://brew.sh) like so: `brew install sdl2{,_image,_ttf,_mixer}` -On __Windows__, you can either install SDL2 via [Msys2](https://msys2.github.io) like so: +On __Windows__, +1. Install mingw-w64 from [Mingw-builds](http://mingw-w...
autogen if needed
@@ -125,6 +125,9 @@ Provides components of Sensys to run on an aggregator. %setup -qn %{sensys_name}-1.0.0 %build +if [ ! -f configure ]; then + ./autogen.pl +fi %configure %{configure_flags} %{__make} %{?_smp_mflags}
Fix gppkg's coordinator hook not execute. old (and current) gppkg create the package like this format: ``` PostInstall: - Master: "sh ./master.sh" - Segment: "sh ./segment.sh';" - All: "echo 'install successful'" ``` sed -i s/master/coordinator/g will break this behavior.
@@ -1141,7 +1141,7 @@ class PerformHooks(Operation): if key is None: return key_str = key[0] - if key_str.lower() == 'coordinator': + if key_str.lower() in ('coordinator', 'master'): if self.standby_host: RemoteCommand(hook[key_str], [self.standby_host]).run() LocalCommand(hook[key_str], True).run()
config_tools: fix the board inspector exit issue Fix the issue that board inspector exit after showing warning message.
@@ -51,7 +51,6 @@ def check_deps(): res = subprocess.Popen(["update-pciids", "-q"]) if res.wait() != 0: logging.warning(f"Failed to invoke update-pciids. No functional impact is foreseen, but descriptions of PCI devices may be inaccurate.") - sys.exit(1) except Exception as e: logging.warning(f"Failed to invoke update-...
Do not crash on argument counter of zero Check before calling xstrdup, which does not accept a NULL pointer, whether argv[0] is actually set.
@@ -266,7 +266,7 @@ parse_conf_file (int *argc, char ***argv) { size_t idx; /* assumes program name is on argv[0], though, it is not guaranteed */ - append_to_argv (&nargc, &nargv, xstrdup ((char *) *argv[0])); + append_to_argv (&nargc, &nargv, xstrdup (*argv[0] ?: PACKAGE_NAME)); /* determine which config file to open...
Added sources sub folders support (single depth only but that should be enough)
@@ -27,12 +27,18 @@ MKDIR= $(BIN)/mkdir SRC_C= $(wildcard *.c) SRC_C+= $(wildcard $(SRC)/*.c) +SRC_C+= $(wildcard $(SRC)/**/*.c) +SRC_C:= $(filter-out $(SRC)/boot/rom_head.c,$(SRC_C)) SRC_S= $(wildcard *.s) SRC_S+= $(wildcard $(SRC)/*.s) +SRC_S+= $(wildcard $(SRC)/**/*.s) +SRC_S:= $(filter-out $(SRC)/boot/sega.s,$(SRC_...
Change function name in psp2kern/syscon.h just fix wrong function name since (db.yml was changed) it will fix broken CI, but documents is still wrong
@@ -109,7 +109,7 @@ int ksceSysconCmdSync(SceSysconPacket *packet, int noWait); * * @return 0 on success. */ -int ksceSysconResetDevice(int type, int mode); +int ksceSysconSetPowerMode(int type, int mode); int ksceSysconReadCommand(unsigned short cmd, void *buffer, unsigned int size); int ksceSysconSendCommand(unsigned...
Extend abort test to cover more epilog code
@@ -4552,7 +4552,7 @@ selective_aborting_default_handler(void *userData, START_TEST(test_abort_epilog) { - const char *text = "<doc></doc>\r\n"; + const char *text = "<doc></doc>\n\r\n"; char match[] = "\r"; XML_SetDefaultHandler(parser, selective_aborting_default_handler);
build] scripts/ci-build.sh remove --with-maxminddb remove --with-maxminddb; maxminddb libs not currently part of our FreeBSD build images
@@ -22,7 +22,6 @@ case "${build}" in --with-webdav-props --with-webdav-locks --with-gdbm \ --with-memcached --with-lua --with-libev --with-libunwind \ --with-krb5 \ - --with-maxminddb \ --with-nettle \ --with-gnutls \ --with-mbedtls \ @@ -44,7 +43,6 @@ case "${build}" in --with-webdav-props --with-webdav-locks --with-g...