message
stringlengths
6
474
diff
stringlengths
8
5.22k
Rver cancels subscriptions on correct gall ducts and cancels behn timers correctly as well
:: We maintain a list of subscriptions so if a channel times out, we :: can cancel all the subscriptions we've made. :: - subscriptions=(map wire [ship=@p app=term =path]) + subscriptions=(map wire [ship=@p app=term =path duc=duct]) == :: channel-request: an action requested on a channel :: %+ ~(jab by session.channel-...
vfio-plugin: add guid to token for non-legacy cfg
@@ -456,6 +456,7 @@ int walk(pci_device_t *p) for (uint32_t i = 1; i < BAR_MAX; ++i) { if (!opae_vfio_region_get(v, i, (uint8_t**)&mmio, &size)) { vfio_token *t = get_token(p, i, FPGA_ACCELERATOR); + get_guid(1+(uint64_t*)mmio, t->guid); t->mmio_size = size; t->user_mmio_count = 1; t->user_mmio[0] = 0;
fixed handling of more missing arguments in command line
@@ -6326,6 +6326,11 @@ while((auswahl = getopt_long(argc, argv, short_options, long_options, &index)) ! break; case HCX_DEAUTH_REASON_CODE: + if(!isdigit(optarg[0])) + { + fprintf(stderr, "wrong reason code\n"); + exit(EXIT_FAILURE); + } reasoncode = strtol(optarg, NULL, 10); break; @@ -6457,6 +6462,11 @@ while((auswah...
[CI] Update import path
#include "net_messages.h" // Communication with NIC driver -#include <drivers/realtek_8139/realtek_8139_messages.h> +#include <drivers/realtek_8139/rtl8139_messages.h> void ethernet_receive(packet_info_t* packet_info, ethernet_frame_t* ethernet_frame, uint32_t size) { // Fill in the Ethernet data of the packet info wit...
YAy PEG: Fix segfault caused by empty input
@@ -162,7 +162,7 @@ struct push_indent static bool match (Input & input, State & state) { long long indent = 0; - while (input.peek_char (indent) == ' ') + while (!input.empty () && input.peek_char (indent) == ' ') { ++indent; } @@ -559,7 +559,7 @@ struct s_indent { auto indent = state.indentation.back (); decltype (in...
Updated function comments to reflect actual functionality.
@@ -2524,7 +2524,11 @@ process_log (GLogItem * logitem) { count_valid (numdate); } -/* Determine if we are restoring from disk or should continue to parse requests */ +/* Determine if we should insert new record or if it's a duplicate record from + * a previoulsy persisted dataset + * + * Returns 1 if it thinks the rec...
doxygen : Add include path in stdio.h if not, we cannot know which header we should include for using 'puts' api
@@ -401,7 +401,8 @@ int ungetc(int c, FAR FILE *stream); int printf(FAR const char *format, ...); /** * @brief put a string on standard output - * @details POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) + * @details @b #include <stdio.h> \n + * POSIX API (refer to : http://pubs.opengroup.org/on...
Self Import Bug fix Fixed self import Segmentation fault
@@ -1589,7 +1589,7 @@ static DictuInterpretResult run(DictuVM *vm) { module->path = dirname(vm, path, strlen(path)); vm->lastModule = module; pop(vm); - + tableSet(vm, &vm->modules, fileName, OBJ_VAL(module)); push(vm, OBJ_VAL(module)); ObjFunction *function = compile(vm, module, source); pop(vm);
Remove unnecessary traces in test tool
@@ -333,12 +333,7 @@ int main(int argc, char** argv) if (optind >= argc) { for (size_t i = 0; i < nb_tests; i++) { if (test_status[i] == test_not_run) { - int resume_debug = 0; nb_test_tried++; - if (disable_debug && i == 58) { - debug_printf_resume(); - resume_debug = 1; - } if (do_one_test(i, stdout) != 0) { test_sta...
Performance: experiment with gperf for accessor factory (#ifdef USE_GPERF_HASHING)
@@ -127,8 +127,9 @@ grib_accessor* grib_accessor_factory(grib_section* p, grib_action* creator, size_t size=0; c = get_class(p->h->context,creator->op); - /* c=*((grib_accessor_classes_hash(creator->op,strlen(creator->op)))->cclass); */ - +#ifdef USE_GPERF_HASHING + c=*((grib_accessor_classes_hash(creator->op,strlen(cr...
Do not #undef in example project-conf.h (sensniff)
#define PROJECT_CONF_H_ /*---------------------------------------------------------------------------*/ /* Configure the sensniff_mac_driver for netstack.h */ -#undef NETSTACK_CONF_MAC #define NETSTACK_CONF_MAC sensniff_mac_driver /*---------------------------------------------------------------------------*/ /* Includ...
[DPOS] change BP to PeerID of consensus info to be same with Raft Consensus Info
@@ -127,10 +127,10 @@ func (c *Cluster) BPs() []string { for i, bp := range c.member { p := &struct { Index string - BP string + PeerID string }{ Index: strconv.FormatUint(uint64(i), 10), - BP: bp.id.Pretty(), + PeerID: bp.id.Pretty(), } m, err := json.Marshal(p)
vagrant: split package list into multiple-lines Align the package installation with how it looks in Dockerfile. Also added a few missing packages such as ccache and gdb.
@@ -6,12 +6,36 @@ sudo add-apt-repository --yes ppa:mosquitto-dev/mosquitto-ppa sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 77B7346A59027B33C10CAFE35E64E954262C4500 sudo apt update sudo apt install -y --no-install-recommends \ - libc6:i386 libstdc++6:i386 libncurses5:i386 libz1:i386 \ - build...
fix: should also check if its already disconnected
@@ -266,7 +266,7 @@ void ws_set_action(struct websockets *ws, enum ws_action action) { pthread_mutex_lock(&ws->lock); - if (WS_DISCONNECTING == ws->status) { // closing process already started + if (WS_DISCONNECTING == ws->status || WS_DISCONNECTED == ws->status) { // closing process already started pthread_mutex_unloc...
Added FAR accessor where needed
#include "dma.h" +#include "mapper.h" #include "memory.h" #include "tools.h" #include "string.h" @@ -1114,7 +1115,7 @@ u16 BMP_drawBitmap(const Bitmap *bitmap, u16 x, u16 y, u16 loadpal) MEM_free(b); } else - BMP_drawBitmapData(bitmap->image, x, y, w, h, w >> 1); + BMP_drawBitmapData((u8*) FAR(bitmap->image), x, y, w, ...
BugID:22063815:Wrong PS parameter
@@ -66,7 +66,7 @@ static ota_service_t *ota_get_device_info(void) strncpy(ctx.pk, product_key, sizeof(ctx.pk) - 1); strncpy(ctx.dn, device_name, sizeof(ctx.dn) - 1); strncpy(ctx.ds, device_secret, sizeof(ctx.ds) - 1); - strncpy(ctx.ps, device_secret, sizeof(ctx.ps) - 1); + strncpy(ctx.ps, product_secret, sizeof(ctx.ps)...
ARCH and CC directions removed from readme
@@ -62,8 +62,6 @@ ROSS developers typically do out-of-tree builds. See the [Installation page](ht cd ~/directory-of-builds/ mkdir ROSS-build cd ROSS-build - export ARCH=x86_64 - export CC=mpicc ccmake ~/path-to/ROSS ```
refactor: bot-voice.c trigger events in a multithreaded fashion
@@ -31,6 +31,9 @@ void on_voice_regions( } } +enum discord_event_handling_mode on_any_event(void *p_cxt) { + return EVENT_WILL_BE_HANDLED_IN_CHILD_THREAD; +} int main(int argc, char *argv[]) { @@ -45,6 +48,9 @@ int main(int argc, char *argv[]) struct discord *client = discord_config_init(config_file); assert(NULL != cl...
Remove an old TODO from the code
@@ -1226,7 +1226,6 @@ int ssl_set_new_record_layer(SSL_CONNECTION *s, int version, * using the early keys. A server also needs to worry about rejected early * data that might arrive when the handshake keys are in force. */ - /* TODO(RECLAYER): Check this when doing the "write" record layer */ if (s->server && direction...
doc: redirect-type incorrectly called out as redirect-chassis the redirect-type option is being incorrectly called out as redirect-chassis so fix the references Submitted-at:
</p> <p> - The second solution is the <code>redirect-chassis</code> option for + The second solution is the <code>redirect-type</code> option for distributed gateway ports. Setting this option to <code>bridged</code> causes packets that are redirected to the gateway chassis to go over the <code>localnet</code> ports in...
BugID:17857330:[mqtt] fix [WhiteScan] [635579] [FORWARD_NULL]
@@ -103,7 +103,7 @@ static int _alloc_recv_buffer(iotx_mc_client_t *c, int len) return ERROR_MALLOC; } memset(temp,0,tmp_len); - memcpy(temp,c->buf_read, c->buf_size_read); + memcpy(temp,c->buf_read, c->buf_size_read < tmp_len ?c->buf_size_read:tmp_len); mqtt_free(c->buf_read); c->buf_read = temp; } else { @@ -451,7 +4...
Fix horiz. pad. on mobile layout
@@ -22,7 +22,7 @@ const Header = () => { justifyContent="space-between" alignItems="center" mb={5} - px={[0, 4]} + px={[2, 4]} style={{ boxShadow: '0px 1px 0px rgba(0, 0, 0, 0.1)', }}
Enable Position Independent Executable for production VPP
@@ -53,7 +53,7 @@ vpp_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \ vpp_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror vpp_TAG_CXXFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror -vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror +vpp_TAG...
PCERT_CONTEXT to QUIC_CERTIFICATE
@@ -564,7 +564,7 @@ CxPlatCertFree( _Success_(return != FALSE) BOOLEAN CxPlatCertSelect( - _In_opt_ PCCERT_CONTEXT CertCtx, + _In_opt_ QUIC_CERTIFICATE* Certificate, _In_reads_(SignatureAlgorithmsLength) const uint16_t *SignatureAlgorithms, _In_ size_t SignatureAlgorithmsLength, @@ -578,6 +578,8 @@ CxPlatCertSelect( //...
Added -r flag to pip install command from file Closes Closes
@@ -39,7 +39,7 @@ See the Getting Started guide links above for a detailed setup guide. This is a * Install host build dependencies mentioned in Getting Started guide. * Add `tools/` directory to the PATH -* Run `python -m pip install requirements.txt` to install Python dependencies +* Run `python -m pip install -r req...
link fe: make image previews clickable
@@ -72,9 +72,12 @@ export class LinkPreview extends Component { let embed = ""; if (imgMatch) { - embed = <img className="db" - src={props.url} - style={{maxHeight: "500px", maxWidth: "500px", margin: "0 auto"}}/> + embed = <a href={props.url} + target="_blank" + className="db m0a" + style={{width: "max-content"}}> + <...
Run-checker merge CI: Replace no-shared with no-modules ASAN otherwise fails to detect memleaks.
@@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: opt: [ - enable-asan no-shared no-asm -DOPENSSL_SMALL_FOOTPRINT, + enable-asan no-modules no-asm -DOPENSSL_SMALL_FOOTPRINT, no-dgram, no-dso, no-dynamic-engine,
tneat self test for tcp removed
@@ -20,7 +20,7 @@ tests_general.append([0, 0, workdir + 'client_http_get -u /cgi-bin/he -v 2 2a02: tests_general.append([1, 0, workdir + 'client_http_get -u /cgi-bin/he -v 2 not.resolvable.neat']) tests_general.append([1, 0, workdir + 'client_http_get -u /cgi-bin/he -v 2 buildbot.nplab.de']) tests_general.append([0, 0,...
[update] stm32f469 lvgl demo
@@ -169,14 +169,14 @@ void lv_port_disp_init(void) lvgl_dma_config(); - buf_1 = rt_malloc(info.width * 30 * sizeof(lv_color_t)); + buf_1 = rt_malloc(info.width * info.height * sizeof(lv_color_t)); if (buf_1 == RT_NULL) { LOG_E("malloc memory failed"); return; } - buf_2 = rt_malloc(info.width * 30 * sizeof(lv_color_t));...
website: rework intro+fix replace for Jenkins
@@ -1191,7 +1191,7 @@ def deployWebsite() { def buildWebsite() { def websiteTasks = [:] - websiteTasks << buildImageStage(DOCKER_IMAGES.website_frontend) + websiteTasks << buildImageStage(DOCKER_IMAGES.website) return websiteTasks }
Don't Hardcode Interop Server Name
@@ -61,14 +61,21 @@ if [ "$ROLE" == "client" ]; then ;; esac + # Figure out the server name from the first request. This assumes all URLS + # point to the same server. + REQS=($REQUESTS) + REQ=${REQS[0]} + SERVER=$(echo $REQ | cut -d'/' -f3) + echo "Connecting to $SERVER" + if [ "$TESTCASE" == "multiconnect" ]; then fo...
critical bug regarding calling control table fixed
@@ -1301,7 +1301,7 @@ const ControlItem *DynamixelItem::getControlTable(uint16_t model_number) control_table = items_XL320; the_number_of_item = COUNT_XL320_ITEMS; } - else if (num == XL430_W250 || XL430_W250_2 || XC430_W150 || XC430_W240) + else if (num == XL430_W250 || num == XL430_W250_2 || num == XC430_W150 || num ...
Improve reference handling
@@ -372,7 +372,7 @@ def gen_do_assignment(dst, src): #[ dbg_bytes(&($srcexpr), $size, " : Set " T4LIT(%s,header) "." T4LIT(%s,field) "/" T4LIT(%dB) " = " T4LIT(%s,header) " = ", "$hdrname", "$fldname", $size, "$srctxt"); #[ MODIFY_BYTEBUF_BYTEBUF_PACKET(pd, HDR($hdrname), FLD($hdrname,$fldname), &$tmpvar, $size); else:...
Fix interaction between mipmaps/msaa resolution;
@@ -1397,16 +1397,16 @@ void lovrCanvasBind(Canvas* canvas) { } void lovrCanvasResolve(Canvas* canvas) { - if (!canvas->needsResolve || !canvas->flags.msaa) { + if (!canvas->needsResolve) { return; } + if (canvas->flags.msaa) { int w = canvas->width; int h = canvas->height; glBindFramebuffer(GL_READ_FRAMEBUFFER, canvas...
trace.c: Add missing trace category entry Fixes
@@ -136,6 +136,7 @@ static const struct trace_category_st trace_categories[] = { TRACE_CATEGORY_(PKCS12_DECRYPT), TRACE_CATEGORY_(X509V3_POLICY), TRACE_CATEGORY_(BN_CTX), + TRACE_CATEGORY_(CMP), TRACE_CATEGORY_(STORE), TRACE_CATEGORY_(DECODER), TRACE_CATEGORY_(ENCODER),
rmt: port*_CRITICAL vanilla FreeRTOS compliance
@@ -502,9 +502,9 @@ esp_err_t rmt_config(const rmt_config_t* rmt_param) static void IRAM_ATTR rmt_fill_memory(rmt_channel_t channel, const rmt_item32_t* item, uint16_t item_num, uint16_t mem_offset) { - portENTER_CRITICAL(&rmt_spinlock); + portENTER_CRITICAL_SAFE(&rmt_spinlock); RMT.apb_conf.fifo_mask = RMT_DATA_MODE_M...
More consistent spacing in codegen files, 4 space indenting, newline at end of files
@@ -219,7 +219,6 @@ const unsigned char SGB_border_pal[]={ const void __at(sizeof(SGB_border_chr)) __size_SGB_border_chr; const void __at(sizeof(SGB_border_map)) __size_SGB_border_map; const void __at(sizeof(SGB_border_pal)) __size_SGB_border_pal; - `; };
Ignore s2n_mem_usage_test mem expectations under valgrind Valgrind causes much more memory to be allocated on a heap resulting in failures in this test.
@@ -161,8 +161,12 @@ int main(int argc, char **argv) fprintf(stdout, "Max VmData diff allowed: %10zu\n", MAX_ALLOWED_MEM_DIFF); #endif + /* Ignore expectations when running under valgrind, as valgrind allocates much more + * memory than we expect in this test. */ + if (getenv("S2N_VALGRIND") == NULL) { EXPECT_TRUE(vm_d...
webp-lossless-bitstream-spec: fix ColorTransform impl and the corresponding InverseTransform(); the operations were swapped. The forward transform subtracts the deltas, the inverse adds them.
@@ -395,8 +395,8 @@ typedef struct { The actual color transformation is done by defining a color transform delta. The color transform delta depends on the `ColorTransformElement`, which is the same for all the pixels in a particular block. The delta is -added during color transform. The inverse color transform then is ...
sysdeps/managarm: properly handle errors in DRM_IOCTL_MODE_CURSOR ioctl
@@ -2162,11 +2162,15 @@ int sys_ioctl(int fd, unsigned long request, void *arg, int *result) { managarm::fs::SvrResponse<MemoryAllocator> resp(getSysdepsAllocator()); resp.ParseFromArray(recv_resp->data, recv_resp->length); - __ensure(resp.error() == managarm::fs::Errors::SUCCESS); - + if (resp.error() == managarm::fs:...
docs: Update missing driver descriptions
@@ -152,6 +152,15 @@ pocl. * **basic** A minimalistic example device driver for executing kernels on the host CPU. No multithreading. + * **cuda** An experimental driver that uses libcuda to execute on NVIDIA GPUs. + + * **hsa** Uses HSA Runtime API to control HSA-compliant + kernel agents that support HSAIL finalizati...
Testing: Remove compile warning
#include "eccodes.h" #include <assert.h> - int main(int argc, char* argv[]) { char *filename; @@ -29,7 +28,7 @@ int main(int argc, char* argv[]) if (err) return err; for (i = 0; i < num_messages; ++i) { - printf("%lu\n", offsets[i]); + printf("%lu\n", (unsigned long)offsets[i]); } free(offsets); return 0;
input: chunk: fix tag lookup handling
@@ -269,12 +269,18 @@ int flb_input_chunk_append_raw(struct flb_input_instance *in, /* * Some callers might not set a custom tag, on that case just inherit - * the instance name. + * the fixed instance tag or instance name. */ if (!tag) { + if (in->tag && in->tag_len > 0) { + tag = in->tag; + tag_len = in->tag_len; + }...
types BUGFIX duplicated logging of the data type plugin's error
@@ -137,7 +137,6 @@ _lys_value_validate(const struct ly_ctx *ctx, const struct lysc_node *node, cons } else if (rc && err) { if (ctx) { /* log only in case the ctx was provided as input parameter */ - ly_err_print(err); LOGVAL(ctx, LY_VLOG_STR, err->path, err->vecode, err->msg); } ly_err_free(err);
Sync`CreateLdscope` in test ref
@@ -22,7 +22,7 @@ func TestCreateLdscope(t *testing.T) { tmpLdscope := filepath.Join(".foo", "ldscope") os.Setenv("SCOPE_HOME", ".foo") internal.InitConfig() - err := createLdscope() + err := CreateLdscope() assert.NoError(t, err) wb, _ := Asset("build/ldscope") @@ -36,14 +36,14 @@ func TestCreateLdscope(t *testing.T) ...
x509v3/v3_utl.c: avoid double-free. Thanks to David Benjamin for spotting this.
@@ -56,8 +56,10 @@ int X509V3_add_value(const char *name, const char *value, return 1; err: X509V3err(X509V3_F_X509V3_ADD_VALUE, ERR_R_MALLOC_FAILURE); - if (sk_allocated) + if (sk_allocated) { sk_CONF_VALUE_free(*extlist); + *extlist = NULL; + } OPENSSL_free(vtmp); OPENSSL_free(tname); OPENSSL_free(tvalue);
Fix debugging on iPhone
@@ -694,7 +694,7 @@ fileprivate func parseArgs(_ args: inout [String]) { let navVC = ThemableNavigationController(rootViewController: console) navVC.modalPresentationStyle = .overCurrentContext self.present(navVC, animated: true, completion: { - self.run() + self.runScript(debug: debug) }) return
Datafari custom icons system by julienFL
src: url(../fonts/helvetica/HelveticaNeueW02-77BdCn/77cb0adc-646b-4830-8f4c-3db7adbb8dc4.eot?#iefix) format("eot"), url(../fonts/helvetica/HelveticaNeueW02-77BdCn/631bf655-ced5-4627-93d4-89d1bdfe3014.woff) format("woff"), url(../fonts/helvetica/HelveticaNeueW02-77BdCn/96740819-d387-437f-b739-9778ddc5e5b9.ttf) format("t...
board/kukui_scp/isp_p1_srv.c: Format with clang-format BRANCH=none TEST=none
static struct consumer const event_isp_consumer; static void event_isp_written(struct consumer const *consumer, size_t count); -static struct queue const event_isp_queue = QUEUE_DIRECT(8, - struct isp_msg, null_producer, event_isp_consumer); +static struct queue const event_isp_queue = + QUEUE_DIRECT(8, struct isp_msg,...
Fix default provider merge glitch Property "default" no longer exists, replace "default=yes" with "provider=default"
@@ -384,7 +384,7 @@ static const OSSL_ALGORITHM deflt_signature[] = { #ifndef OPENSSL_NO_DSA { "DSA:dsaEncryption", "provider=default", dsa_signature_functions }, #endif - { "RSA:rsaEncryption", "default=yes", rsa_signature_functions }, + { "RSA:rsaEncryption", "provider=default", rsa_signature_functions }, { NULL, NUL...
apps/examples/testcase/compression_tc_main.c : Add condition for compression read tc Global variable "g_tc_fd" is used only when CONFIG_TC_COMPRESS_READ is enabled. So add the condition.
#include "tc_common.h" #include "tc_internal.h" +#ifdef CONFIG_TC_COMPRESS_READ static int g_tc_fd; int tc2_get_drvfd(void) { return g_tc_fd; } +#endif #ifdef CONFIG_BUILD_KERNEL int main(int argc, FAR char *argv[]) @@ -41,6 +43,7 @@ int main(int argc, FAR char *argv[]) int tc_compression_main(int argc, char *argv[]) #...
[persistence] change the position of clearing tls_waiter.
@@ -150,7 +150,7 @@ log_waiter_t *cmdlog_waiter_alloc(const void *cookie) log_waiter_t *waiter = do_cmdlog_waiter_alloc(); if (waiter) { waiter->cookie = cookie; - tls_waiter = waiter; + tls_waiter = waiter; /* set tls_waiter */ } return waiter; } @@ -338,6 +338,8 @@ do_cmdlog_add_commit_waiter(log_waiter_t *waiter) vo...
Print config.log when configure fails on Travis CI
@@ -36,7 +36,7 @@ matrix: install: true script: - ./autogen.sh - - ./configure --enable-werror + - ./configure --enable-werror || (cat config.log && false) - make --jobs=2 V=1 - make check TESTS=kvazaar_tests @@ -44,7 +44,7 @@ install: bash .travis-install.bash script: - ./autogen.sh - - ./configure --enable-werror + -...
Fix crash in mouse enabled mode Fixes:
@@ -3090,10 +3090,12 @@ parse_raw_data (GModule module) { switch (module) { case VISITORS: raw_data = get_str_raw_data (module); + if (raw_data) sort_raw_str_data (raw_data, raw_data->idx); break; default: raw_data = get_u32_raw_data (module); + if (raw_data) sort_raw_num_data (raw_data, raw_data->idx); }
metadata-store: update +remove Fixes urbit/landscape#428
:: and looking for the entry with an app-path that is similar to the :: title of the channel :: -/- *metadata-store +/- metadata=metadata-store /+ resource :- %say |= $: [now=@da eny=@uvJ =beak] - [[group=term app=term =path ~] ~] + [[group=term app=term rid=resource ~] ~] == :- %metadata-action -^- metadata-action -[%...
adding correct mapping to MARS level keyword for snow and sea ice layers
@@ -83,7 +83,9 @@ if (extraDim) { } # See ECC-854 -if(typeOfFirstFixedSurface == 151 && typeOfSecondFixedSurface == 151) { +if( (typeOfFirstFixedSurface == 151 && typeOfSecondFixedSurface == 151) || + (typeOfFirstFixedSurface == 152 && typeOfSecondFixedSurface == 152) || + (typeOfFirstFixedSurface == 114 && typeOfSecon...
BUFR decode performance: bufr_compare
@@ -774,8 +774,10 @@ static int compare_values(grib_runtime_options* options, grib_handle* handle1, g { case GRIB_TYPE_STRING: if (verbose) printf(" as string\n"); - grib_get_string_length(handle1,name,&len1); - grib_get_string_length(handle2,name,&len2); + /* See ECC-710: It is very slow getting the key length this wa...
util/build_with_clang: Add stm32f0 chips that build BRANCH=none TEST=./util/build_with_clang.py
@@ -40,6 +40,42 @@ BOARDS_THAT_COMPILE_SUCCESSFULLY_WITH_CLANG = [ "stm32f446e-eval", "stm32l476g-eval", "sweetberry", + # Boards that use CHIP:=stm32 *and* CHIP_FAMILY:=stm32f0 + # git grep --name-only 'CHIP:=stm32' | xargs grep -L 'CHIP_FAMILY:=stm32f0' | sed 's#board/\(.*\)/build.mk#"\1",#' + # "burnet", # overflows...
25-test_x509.t: Re-add and improve a test on non-existence of ASN.1 parse errors
@@ -16,7 +16,7 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/; setup("test_x509"); -plan tests => 14; +plan tests => 15; require_ok(srctop_file('test','recipes','tconversion.pl')); @@ -124,8 +124,12 @@ sub test_errors { # actually tests diagnostics of OSSL_STORE return $res && $found; } +# 3 tests for non-existence of s...
stm32/dac: Use mp_hal_pin_config() instead of HAL_GPIO_Init().
#include <string.h> #include "py/runtime.h" +#include "py/mphal.h" #include "timer.h" #include "dac.h" #include "dma.h" @@ -144,7 +145,7 @@ typedef struct _pyb_dac_obj_t { mp_obj_base_t base; uint32_t dac_channel; // DAC_CHANNEL_1 or DAC_CHANNEL_2 const dma_descr_t *tx_dma_descr; - uint16_t pin; // GPIO_PIN_4 or GPIO_P...
fixbug for set dhcp time fail
@@ -642,6 +642,20 @@ static esp_err_t esp_netif_start_api(esp_netif_api_msg_t *msg) } ESP_LOGD(TAG, "DHCP server already started"); return ESP_ERR_ESP_NETIF_DHCP_ALREADY_STARTED; + } else if (esp_netif->flags & ESP_NETIF_DHCP_CLIENT) { + if (esp_netif->dhcpc_status != ESP_NETIF_DHCP_STARTED) { + if (p_netif != NULL) { ...
Update FAQ after v1.1 release Two issues described in the FAQ have been fixed by V1.1. Remove them from the FAQ.
@@ -34,27 +34,6 @@ If you still encounter problems, please see [issue 9]. [issue 9]: https://github.com/Genymobile/scrcpy/issues/9 -### The application does not work over `adb connect` - -If the device is connected using `adb connect`, then you'll get this error: - - error: more than one device/emulator - ERROR: "adb r...
FFTViewer: Fix uninitialized EOB flag undefined value could cause dropped packets in TX
@@ -411,6 +411,7 @@ void fftviewer_frFFTviewer::StreamingLoop(fftviewer_frFFTviewer* pthis, const un pthis->mStreamRunning.store(true); lms_stream_meta_t meta; meta.waitForTimestamp = true; + meta.flushPartialPacket = false; int fftCounter = 0; while (pthis->stopProcessing.load() == false)
[Docs] update index.rst.in and not index.rst
:hidden: :maxdepth: 3 - documentation_index + install_guide/install_guide + getting_started/index + users_guide/index + examples/index documentation_index_dev talks download
Configure curl with --gssapi for kerberos
@@ -4,7 +4,7 @@ FROM centos:centos6 RUN yum makecache && \ rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 && \ yum -y install epel-release java-1.7.0-openjdk-devel && \ - yum -y install createrepo git iproute net-tools openssh-server rpm-build rsync sudo svn vim wget && \ + yum -y install createrepo ...
fix: small fix at windows build tutorial
@@ -28,7 +28,7 @@ Do the same for OpenSSL, `-I"OPENSSL_DOWNLOAD_PATH\include"`. In my case, it's ` Then, go to the line that defines `LIBDISCORD_LDFLAGS`. First, add `-L"CURL_DOWNLOAD_PATH\lib"` after `-L./$(LIBIR)`. In my case, it's `-L"C:\Users\User\Downloads\curl-7.75.0-win64-mingw\lib"`. -Now, add `"OPENSSL_DOWNLOA...
Set Interface IP as 0.0.0.0 for workloads
@@ -728,6 +728,7 @@ func (m *bpfEndpointManager) attachWorkloadProgram(ifaceName string, endpoint *p // for resizing the packet, so we have to reduce the apparent MTU by another 50 bytes // when we cannot encap the packet - non-GSO & too close to veth MTU ap.TunnelMTU = uint16(m.vxlanMTU - 50) + ap.IntfIP = net.IPv4zer...
ADDING FEC - avoid unnecessary memory fragmentation in GMP when reallocating memory
@@ -48,6 +48,7 @@ see https://www.gnu.org/licenses/. */ #include <picoquic.h> +#define MALLOC_FRAGMENTATION_AVOIDANCE 20 #define size_t uint64_t #define mpn_invert_limb(x) mpn_invert_3by2 ((x), 0) @@ -256,7 +257,7 @@ gmp_allocate_func(picoquic_cnx_t *cnx, size_t size) { assert (size > 0); - p = my_malloc(cnx, size); + ...
proc: stop resources copied during fork/exec from leaking
@@ -711,6 +711,7 @@ int process_exec(syspage_program_t *prog, process_t *process, thread_t *current, /* Exec into old process, clean up */ proc_threadsDestroy(process); proc_portsDestroy(process); + proc_resourcesFree(process); vm_mapDestroy(process, &process->map); while ((a = pmap_destroy(&process->map.pmap, &i))) vm...
Hoist channel_weight setup out of block loop
@@ -825,15 +825,22 @@ static void compress_image( int xblocks = (dim_x + block_x - 1) / block_x; int yblocks = (dim_y + block_y - 1) / block_y; int zblocks = (dim_z + block_z - 1) / block_z; + int block_count = zblocks * yblocks * xblocks; int row_blocks = xblocks; int plane_blocks = xblocks * yblocks; + // Populate th...
refactor: update bot-quiz.json for clarity
@@ -32,11 +32,11 @@ parse_session_config() size_t len; char *json_payload = orka_load_whole_file("bot-quiz.json", &len); json_extract(json_payload, len, - "(quiz_chat_name):?s" - "(quiz_chat_topic):?s" - "(start_quiz_channel_id):s_as_u64" - "(start_quiz_message_id):s_as_u64" - "(start_quiz_reaction_emoji):?s", + "(new_...
Patch from Greg to fix pfxdel ecache init bug.
@@ -102,7 +102,7 @@ kvdb_pfxlock_create(struct viewset *txn_viewset, struct kvdb_pfxlock **pfxlock_o struct kvdb_pfxlock_tree *tree; int i; - pfxlock = malloc(sizeof(*pfxlock)); + pfxlock = aligned_alloc(alignof(*pfxlock), sizeof(*pfxlock)); if (ev(!pfxlock)) return merr(ENOMEM); @@ -113,7 +113,7 @@ kvdb_pfxlock_create...
dojo: correct mark conversion scry path Fixes an instance that hadn't accounted for yet.
:: %as =/ cag=cage (dy-cage p.q.bil) - =+ .^(=tube:clay cc+(en-beam:format he-beak /[p.bil]/[p.cag])) + =+ .^(=tube:clay cc+(en-beam:format he-beak /[p.cag]/[p.bil])) (dy-hand p.bil (tube q.cag)) :: %do
M487 remove ulRand(), it's replaced with numaker_ulRand
@@ -681,9 +681,3 @@ BaseType_t SOCKETS_Init( void ) return xSocketRet; } /*-----------------------------------------------------------*/ - -uint32_t ulRand( void ) -{ - return 0; -} -/*-----------------------------------------------------------*/
interface: remove dead pendings
@@ -128,6 +128,8 @@ const useGraphState = createState<GraphState>('Graph', { // }); // graphReducer(node); // }, -}, ['graphs', 'graphKeys', 'looseNodes']); +}, ['graphs', 'graphKeys', 'looseNodes', 'graphTimesentMap']); + +window.useGraphState = useGraphState; export default useGraphState;
Stop using storyboards on the Widget
</dict> <key>NSExtension</key> <dict> - <key>NSExtensionMainStoryboard</key> - <string>MainInterface</string> + <key>NSExtensionPrincipalClass</key> + <string>Pyto_Widget.ConsoleViewController</string> <key>NSExtensionPointIdentifier</key> <string>com.apple.widget-extension</string> </dict>
Fix invalid escaping in rules_fuzzer.dict
"xor" # pe module -"\"pe\"" +"pe" "pe.machine" "pe.checksum" "pe.calculate_checksum" "pe.rva_to_offset" # elf module -"\"elf\" +"elf" "elf.type" "elf.machine" "elf.entry_point" "elf.symtab" # cuckoo module -"\"cuckoo\"" +"cuckoo" "cuckoo.network" "cuckoo.registry" "cuckoo.filesystem" "cuckoo.sync" # magic module -"\"ma...
stm32/boards/stm32h743.ld: Fix total flash size, should be 2048k. Fixes issue
/* Specify the memory areas */ MEMORY { - FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K + FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 128K /* sector 0, 128K */ FLASH_FS (r) : ORIGIN = 0x08020000, LENGTH = 128K /* sector 1, 128K */ FLASH_TEXT (rx) : ORIGIN = 0x08040...
fixed compilation of ipso objects in test script
@@ -12,7 +12,7 @@ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 # Starting Contiki-NG native node echo "Starting native node - lwm2m/ipso objects" -make -C $CONTIKI/examples/ipso-objects/example-ipso-objects > make.log 2> make.err +make -C $CONTIKI/examples/ipso-objects > make.log 2> make.err sudo $CONTIKI/examples/i...
BugID:17920924:add testcase for mqueue 1
@@ -19,6 +19,11 @@ mqd_t mq_open(const char *name, int oflag, ...) return mq; } +int mq_close(mqd_t mqdes) +{ + return krhino_buf_queue_dyn_del(mqdes); +} + ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio) { size_t msg_size;
Check Bashisms: Update list of excluded files
@@ -19,7 +19,9 @@ find -version > /dev/null 2>&1 > /dev/null && FIND='find scripts -regextype egre # See also: https://stackoverflow.com/questions/592620 scripts=$( $FIND -type f -not \( \ + -path '*COPYING-CMAKE-SCRIPTS' -or \ -path '*find-tools' -or \ + -path '*freebsd/provision.sh' -or \ -path '*gitignore' -or \ -pa...
Add mapldr.h to prpgvdm.c
* * Authors: * - * dmex 2021-2022 + * dmex 2021-2023 * */ #include <procprv.h> #include <settings.h> #include <emenu.h> +#include <mapldr.h> #include <vdmdbg.h>
out_stackdriver: correct env variable for SAs Resolves It will also warn if the both `GOOGLE_APPLCIATION_CREDENTIALS` and `GOOGLE_SERVICE_CREDENTIALS` are being used.
@@ -172,6 +172,7 @@ struct flb_stackdriver *flb_stackdriver_conf_create(struct flb_output_instance * { int ret; const char *tmp; + const char *backwards_compatible_env_var; struct flb_stackdriver *ctx; flb_sds_t http_request_key; size_t http_request_key_size; @@ -207,10 +208,23 @@ struct flb_stackdriver *flb_stackdrive...
GA: Link against python3.lib not python3.dll.
@@ -104,7 +104,7 @@ jobs: - name: Configure CMake shell: bash working-directory: ${{runner.workspace}}/build - run: cmake $GITHUB_WORKSPACE -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DTINYSPLINE_ENABLE_PYTHON=True -DPYTHON_INCLUDE_DIR="$(python -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())")" ...
l2cap/coc: minor style fixes
@@ -479,7 +479,7 @@ ble_l2cap_coc_continue_tx(struct ble_l2cap_chan *chan) if (tx->data_offset == OS_MBUF_PKTLEN(tx->sdu)) { BLE_HS_LOG(DEBUG, "Complete package sent\n"); os_mbuf_free_chain(tx->sdu); - tx->sdu = 0; + tx->sdu = NULL; tx->data_offset = 0; if (tx->flags & BLE_L2CAP_COC_FLAG_STALLED) { ble_l2cap_event_coc_...
fix remaining failures in testmod_resolver
@@ -44,7 +44,10 @@ void test_resolve (void) resolverHandles * h = elektraPluginGetData (plugin); exit_if_fail (h != 0, "no plugin handle"); - succeed_if_same_string (h->system.path, "elektra.ecf"); + + // todo: Fix random memory access + // succeed_if_same_string (h->system.path, "elektra.ecf"); + if (KDB_DB_SYSTEM[0] ...
[core] ignore server.max-worker = 1 treat server.max-worker = 1 as equivalent to server.max-worker = 0, which is the default (no worker subprocesses).
@@ -1150,6 +1150,9 @@ static int server_main_setup (server * const srv, int argc, char **argv) { return -1; } + if (1 == srv->srvconf.max_worker) + srv->srvconf.max_worker = 0; + if (print_config) { config_print(srv); puts(srv->tmp_buf->ptr);
EBUSY implemented for IPC protocol
@@ -55,6 +55,7 @@ struct dill_ipc_conn { struct dill_bsock_vfs bvfs; int fd; struct dill_fd_rxbuf rxbuf; + unsigned int busy : 1; unsigned int indone : 1; unsigned int outdone : 1; unsigned int inerr : 1; @@ -118,9 +119,12 @@ error1: static int dill_ipc_bsendl(struct dill_bsock_vfs *bvfs, struct dill_iolist *first, str...
WindowExplorer: reset default settings
@@ -223,7 +223,7 @@ LOGICAL DllMain( PPH_PLUGIN_INFORMATION info; PH_SETTING_CREATE settings[] = { - { IntegerSettingType, SETTING_NAME_SHOW_DESKTOP_WINDOWS, L"1" }, + { IntegerSettingType, SETTING_NAME_SHOW_DESKTOP_WINDOWS, L"0" }, { StringSettingType, SETTING_NAME_WINDOW_TREE_LIST_COLUMNS, L"" }, { IntegerPairSetting...
better default behavior for -u; also, whitespace
@@ -80,7 +80,6 @@ _main_getopt(c3_i argc, c3_c** argv) u3_Host.ops_u.rep = c3n; u3_Host.ops_u.tex = c3n; u3_Host.ops_u.veb = c3n; - u3_Host.ops_u.url_c = "https://bootstrap.urbit.org/latest.pill"; u3_Host.ops_u.kno_w = DefaultKernel; while ( (ch_i=getopt(argc, argv,"G:B:A:I:w:u:t:f:k:l:n:p:r:LabcdgqvxFMPDXR")) != -1 ) ...
vppapigen: resource leakage in fromjson array - coverity Type: fix
@@ -380,7 +380,7 @@ class FromJSON(): int i; cJSON *array = cJSON_GetObjectItem(o, "{n}"); int size = cJSON_GetArraySize(array); - if (size != {lfield}) return 0; + if (size != {lfield}) goto error; for (i = 0; i < size; i++) {{ cJSON *e = cJSON_GetArrayItem(array, i); {call}
DM USB: fix SWWDT_UNHANDLED issue add a delay for usb in launch_uos.sh Acked-by: Yu Wang
@@ -87,6 +87,8 @@ echo "8086 5aaa" > /sys/bus/pci/drivers/pci-stub/new_id echo "0000:00:15.1" > /sys/bus/pci/devices/0000:00:15.1/driver/unbind echo "0000:00:15.1" > /sys/bus/pci/drivers/pci-stub/bind +echo 100 > /sys/bus/usb/drivers/usb-storage/module/parameters/delay_use + boot_ipu_option="" if [ $ipu_passthrough == ...
rust/api/bitcoin: disable litecoin in BTC-only edition
@@ -20,10 +20,31 @@ use super::Error; use pb::response::Response; +/// Returns `Ok(())` if the coin is enabled in this edition of the firmware. +fn coin_enabled(coin: pb::BtcCoin) -> Result<(), Error> { + use pb::BtcCoin::*; + #[cfg(feature = "app-bitcoin")] + if let Btc | Tbtc = coin { + return Ok(()); + } + #[cfg(fea...
Extract more data from local wifi api
@@ -2516,6 +2516,24 @@ int DeRestPluginPrivate::putWifiUpdated(const ApiRequest &req, ApiResponse &rsp) } } } + else if (status == QLatin1String("ap-alive")) + { + if (gwWifi != QLatin1String("configured")) + { + gwWifi = QLatin1String("configured"); + updateEtag(gwConfigEtag); + } + + if (map.contains("type")) + { + Q...
Explicitly disallow DSA for TLS 1.3
@@ -896,9 +896,16 @@ int tls12_check_peer_sigalg(SSL *s, uint16_t sig, EVP_PKEY *pkey) /* Should never happen */ if (pkeyid == -1) return -1; + if (SSL_IS_TLS13(s)) { + /* Disallow DSA for TLS 1.3 */ + if (pkeyid == EVP_PKEY_DSA) { + SSLerr(SSL_F_TLS12_CHECK_PEER_SIGALG, SSL_R_WRONG_SIGNATURE_TYPE); + return 0; + } /* ...
vscode: Add tasks for running automation.build/.flash/.test Convienience tasks when you need to test automation stuff locally. When you run one of these tasks you will be prompted for the instance number.
"command": "echo \"Not supported for Windows\"" }, "problemMatcher": [] - } + }, + { + "label": "automation.build", + "type": "shell", + "options": { "cwd": "${workspaceFolder}/.vscode" }, + "command": "inv -r ${workspaceFolder}/port/platform/common/automation automation.build ${input:instance}", + "problemMatcher": []...
need to zero fs and gs selectors in ap longmode init
@@ -34,9 +34,10 @@ LongMode: mov ax, 0x10 mov ds, ax mov es, ax + mov ss, ax + xor ax, ax mov fs, ax mov gs, ax - mov ss, ax lidt [ap_idt_pointer] mov rbx, $1 ; we serialize the processors coming in so they can temporarily use
Allow CMake to determine if it is building static or shared.
## cmake_minimum_required(VERSION 2.8.5) -project(OpenBLAS) +project(OpenBLAS C) set(OpenBLAS_MAJOR_VERSION 0) set(OpenBLAS_MINOR_VERSION 3) set(OpenBLAS_PATCH_VERSION 0.dev) set(OpenBLAS_VERSION "${OpenBLAS_MAJOR_VERSION}.${OpenBLAS_MINOR_VERSION}.${OpenBLAS_PATCH_VERSION}") enable_language(ASM) -enable_language(C) # ...
Update changelog for 1.5.0+ds-1 release
-stlink (1.5.0+ds-1) UNRELEASED; urgency=medium +stlink (1.5.0+ds-1) unstable; urgency=medium * Upload to unstable. (Closes: #869421) - -- Luca Boccassi <bluca@debian.org> Tue, 13 Mar 2018 00:26:52 +0000 + -- Luca Boccassi <bluca@debian.org> Fri, 16 Mar 2018 16:56:17 +0000 stlink (1.5.0) unstable; urgency=medium
da1469x: Increase size of loadable binaries This patch increases the maximum supported size of ram loaded binaries using the serial loading protocol.
@@ -88,8 +88,17 @@ def load(infile, uart, reset_script): som_detected = True print("Detected serial boot protocol") msg = bytes([0x1]) + + if len(data) > 65535: + msg += bytes([0x0]) + msg += bytes([0x0]) + msg += bytes([len(data) & 0xff]) + msg += bytes([(len(data) >> 8) & 0xff]) + msg += bytes([len(data) >> 16]) + el...