message
stringlengths
6
474
diff
stringlengths
8
5.22k
docs - update from upstream sgml
@@ -997,7 +997,7 @@ lo_import 152801</codeblock> <codeph>unaligned</codeph>, <codeph>aligned</codeph>, <codeph>html</codeph>, <codeph>latex</codeph> (uses <codeph>tabular</codeph>), <codeph>latex-longtable</codeph>, <codeph>troff-ms</codeph>, or - <codeph>wrapped</codeph>. Unique abbreviations, including one letter, ar...
string_test: coverity woe Remove the needless tests and checks which coverity complains about in string_test.c
@@ -349,10 +349,6 @@ test_clib_strcmp (vlib_main_t * vm, unformat_input_t * input) /* Null pointers comparison */ s = 0; indicator = clib_strcmp (s, s); - if (indicator != 0) - return -1; - /* verify it against strcmp */ - indicator = strcmp (s, s); if (indicator != 0) return -1; @@ -518,8 +514,6 @@ test_clib_strncmp (...
gtkui_transfer.c: merge `gftpui_gtk_ok()` into `on_gtk_dialog_response_transferdlg()`
@@ -177,13 +177,18 @@ on_gtk_button_clicked_skip (GtkButton *button, gpointer data) static void -gftpui_gtk_ok (gpointer data) +on_gtk_dialog_response_transferdlg (GtkDialog *dialog, + gint response, + gpointer user_data) +{ + gftp_transfer * tdata = (gftp_transfer *) user_data; + + /* click on OK */ + if (response == ...
NRF52 Hal: Enabling 16 and 32MHz spi frequencies
@@ -367,6 +367,16 @@ hal_spi_config_master(struct nrf52_hal_spi *spi, case 8000: frequency = SPIM_FREQUENCY_FREQUENCY_M8; break; +#if defined(SPIM_FREQUENCY_FREQUENCY_M16) + case 16000: + frequency = SPIM_FREQUENCY_FREQUENCY_M16; + break; +#endif +#if defined(SPIM_FREQUENCY_FREQUENCY_M32) + case 32000: + frequency = SP...
Improve debug documentation
@@ -52,7 +52,9 @@ extern "C" { #define ESP_DBG_OFF 0 /*!< Indicates debug is disabled */ /** - * \name Debug levels + * \name ESP_DBG_LEVEL Debug levels + * \anchor ESP_DBG_LEVEL + * \brief List of debug levels * \{ */ @@ -67,7 +69,8 @@ extern "C" { */ /** - * \name Debug types + * \name ESP_DBG_TYPE Debug types + * \a...
Fix mmap/fs_mmap.c:259:13: warning: 'mapped' may be used uninitialized in this function [-Wmaybe-uninitialized]
@@ -256,7 +256,7 @@ FAR void *mmap(FAR void *start, size_t length, int prot, int flags, int fd, off_t offset) { FAR struct file *filep = NULL; - FAR void *mapped; + FAR void *mapped = NULL; int ret; if (fd != -1 && fs_getfilep(fd, &filep) < 0)
[chainmaker]add chainmaker macro switch
#include <string.h> #include <sys/time.h> -#define PROTOCOL_USE_HLFABRIC 1 -#if (PROTOCOL_USE_HLFABRIC == 1) +#if ((PROTOCOL_USE_HLFABRIC == 1) || (PROTOCOL_USE_CHAINMAKER == 1)) // for TTLSContext structure #include "http2intf.h" #endif @@ -549,7 +548,7 @@ BOAT_RESULT BoatRemoveFile(const BCHAR *fileName, void *rsvd) ...
Update MLN to 1.0.0.2
Pod::Spec.new do |s| s.name = 'MLN' - s.version = '1.0.0' + s.version = '1.0.0.2' s.summary = 'A lib of Momo Lua Native.' # This description is used to generate tags and improve search results.
parser: regex: release buffer if regex parser fails
@@ -214,6 +214,10 @@ int flb_parser_regex_do(struct flb_parser *parser, /* Iterate results and compose new buffer */ ret = flb_regex_parse(parser->regex, &result, cb_results, &pcb); + if (ret == -1) { + msgpack_sbuffer_destroy(&tmp_sbuf); + return -1; + } /* Export results */ *out_buf = tmp_sbuf.data;
Added test for the ScanForModuleDependencies flag.
<OpenMPSupport>false</OpenMPSupport> ]] end + +-- +-- Check ClCompile for ScanForModuleDependencies +-- + + function suite.SupportScanForModuleDependenciesOn() + flags { "ScanForModuleDependencies" } + prepare() + test.capture [[ +<ClCompile> + <PrecompiledHeader>NotUsing</PrecompiledHeader> + <WarningLevel>Level3</War...
apps/wm_test: remove pthread_mutex_initializer remove pthread_mutex_initializer
@@ -70,8 +70,8 @@ static wifi_manager_cb_s g_wifi_callbacks = { wm_scan_ap_done }; -static pthread_mutex_t g_wm_mutex = PTHREAD_MUTEX_INITIALIZER; -static pthread_cond_t g_wm_cond = PTHREAD_COND_INITIALIZER; +static pthread_mutex_t g_wm_mutex; +static pthread_cond_t g_wm_cond; void wm_sta_connected(wifi_manager_cb_msg_...
doc: Remove duplicate entry from release notes
@@ -261,7 +261,6 @@ This section keeps you up-to-date with the multi-language support provided by El - <<TODO>> - <<TODO>> - Fix grammar for `elektra-granularity.md` _(@dtdirect)_ -- Rephrase sections in doc/dev/error-* _(@dtdirect)_ - Rephrase sections in doc/dev/error-\* _(@dtdirect)_ - <<TODO>> - <<TODO>>
Add ravencoin.com to seed nodes
@@ -173,8 +173,9 @@ public: assert(consensus.hashGenesisBlock == uint256S("0000006b444bc2f2ffe627be9d9e7e7a0730000870ef6eb6da46c8eae389df90")); assert(genesis.hashMerkleRoot == uint256S("28ff00a867739a352523808d301f504bc4547699398d70faf2266a8bae5f3516")); - vSeeds.emplace_back("seed-raven.ravencoin.org", false); vSeeds...
Modify error messages for registerBinding
@@ -76,12 +76,14 @@ ScriptContext::ScriptContext(LuaSandbox& aLuaSandbox, const std::filesystem::pat }; auto registerBinding = [this, &wrapHandler](const std::string& acID, const std::string& acDisplayName, const std::string& acDescription, sol::function aCallback, const bool acIsHotkey){ + const auto inputTypeStr = ac...
Always enable uart, use blocking mode
#include <assert.h> #include <stddef.h> #include <inttypes.h> +#include <stdio.h> #include "syscfg/syscfg.h" #include <flash_map/flash_map.h> #include <os/os.h> #include <hal/hal_bsp.h> #include <hal/hal_system.h> #include <hal/hal_flash.h> +#include <sysinit/sysinit.h> #ifdef MCUBOOT_SERIAL #include <hal/hal_gpio.h> #...
log: rename worker thread to 'flb-logger'
@@ -114,6 +114,8 @@ static void log_worker_collector(void *data) FLB_TLS_INIT(flb_log_ctx); FLB_TLS_SET(flb_log_ctx, log); + mk_utils_worker_rename("flb-logger"); + /* Signal the caller */ pthread_mutex_lock(&log->pth_mutex); log->pth_init = FLB_TRUE;
fix(benchmark): add missing LV_USE_DEMO_BENCHMARK
#include "../../../lvgl.h" +#if LV_USE_DEMO_BENCHMARK + #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATTRIBUTE_MEM_ALIGN #endif @@ -222,3 +224,5 @@ const lv_img_dsc_t img_benchmark_cogwheel_rgb565a8 = { .data_size = 30000, .data = img_benchmark_cogwheel_rgb565a8_map, }; + +#endif
Fix a memleak on an error path in the pkcs12 test helpers
@@ -278,11 +278,9 @@ void start_contentinfo(PKCS12_BUILDER *pb) void end_contentinfo(PKCS12_BUILDER *pb) { - if (pb->success) { - if (pb->bags && !TEST_true(PKCS12_add_safe(&pb->safes, pb->bags, -1, 0, NULL))) { + if (pb->success && pb->bags != NULL) { + if (!TEST_true(PKCS12_add_safe(&pb->safes, pb->bags, -1, 0, NULL)...
Add comment explaining PSA PAKE vs Mbedtls J-PAKE API matching strategy
@@ -403,6 +403,20 @@ psa_status_t psa_pake_output( psa_pake_operation_t *operation, return( PSA_ERROR_INVALID_ARGUMENT ); #if defined(MBEDTLS_PSA_BUILTIN_ALG_JPAKE) + /* + * The PSA CRYPTO PAKE and MbedTLS JPAKE API have a different + * handling of output sequencing. + * + * The MbedTLS JPAKE API outputs the whole X1+X...
adding option for using blocking spi transfer
@@ -347,7 +347,11 @@ static rt_uint32_t spixfer(struct rt_spi_device *device, struct rt_spi_message * if(RT_FALSE == spi->dma_flag) { +#ifdef(BSP_USING_BLOCKING_SPI) + status = LPSPI_MasterTransferBlocking(spi->base, &transfer); +#else status = LPSPI_MasterTransferNonBlocking(spi->base, &spi->spi_normal, &transfer); +#...
docs/esp8266/general: Add section on TLS limitations.
@@ -145,3 +145,43 @@ or by an exeption, for example using try/finally:: # Use sock finally: sock.close() + + +SSL/TLS limitations +~~~~~~~~~~~~~~~~~~~ + +ESP8266 uses `axTLS <http://axtls.sourceforge.net/>`_ library, which is one +of the smallest TLS libraries with the compatible licensing. However, it +also has some k...
taniks: fix key T12 T13 T14 no function issue Modify key mask for T12, T13, T14. Modify top row function define by KB layout. BRANCH=none TEST=make buildall -j
@@ -19,14 +19,14 @@ __override struct keyboard_scan_config keyscan_config = { .min_post_scan_delay_us = 1000, .poll_timeout_us = 100 * MSEC, .actual_key_mask = { - 0x1c, 0xff, 0xff, 0xff, 0xff, 0xf5, 0xff, - 0xa4, 0xff, 0xfe, 0x55, 0xfe, 0xff, 0xff, 0xff, /* full set */ + 0x1c, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xa...
KDB MV: Use explicit break tag in documentation
@@ -51,10 +51,10 @@ This command will return the following values as an exit status: ## EXAMPLES -To move multiple keys: +To move multiple keys:<br> `kdb mv -r user/example1 user/example2` -To move a single key: +To move a single key:<br> `kdb mv user/example/key1 user/example/key2`
term: skip prompt refresh on ^c under -t
@@ -1002,8 +1002,10 @@ u3_term_ef_ctlc(void) _term_ovum_plan(uty_u->car_u, wir, cad); } + if ( c3n == u3_Host.ops_u.tem ) { _term_it_refresh_line(uty_u); } +} /* _term_it_put_value(): put numeric color value on lin_w. */
Fixed urb.util.isURL to allow multiple successive hyphens in URLs.
@@ -284,7 +284,7 @@ window.urb.unsubscribe = function(params,cb) { // legacy intreface window.urb.util = { isURL: function(s) { - r = new RegExp('^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-...
Fix last commit. memfs.py broken in Python 3
@@ -13,11 +13,12 @@ print(dirs) FILES = {} NAMES = [] +# Binary to ASCII function. Different in Python 2 and 3 try: - str("",'ascii') - ascii = lambda x: str(x, 'ascii') + str(b'\x23\x20','ascii') + ascii = lambda x: str(x, 'ascii') # Python 3 except: - ascii = lambda x: str(x) + ascii = lambda x: str(x) # Python 2 # T...
BugID:17646749:[utils] fix aos build error by utils.mk
NAME := libiot_utils -$(NAME)_SOURCES := ./misc/linked_list.c \ -./misc/utils_epoch_time.c \ -./misc/utils_event.c \ -./misc/utils_httpc.c \ -./misc/mem_stats.c \ -./misc/utils_list.c \ -./misc/string_utils.c \ -./misc/json_parser.c \ -./misc/json_token.c \ -./misc/utils_timer.c \ -./misc/lite-cjson.c \ -./misc/utils_n...
build: new MK_LIB_ONLY option (disable plugins)
@@ -63,6 +63,17 @@ option(MK_WITHOUT_BIN "Do not build binary" No) option(MK_WITHOUT_CONF "Skip configuration files" No) option(MK_STATIC_LIB_MODE "Static library mode" No) +# If building just for a "library" mode, disable plugins +if(MK_LIB_ONLY) + set(MK_PLUGIN_AUTH No) + set(MK_PLUGIN_CGI No) + set(MK_PLUGIN_CHEETAH...
tools/tcpsubnet: fix indentation
@@ -82,6 +82,7 @@ pair of .c and .py files, and some are directories of files. #### Tools: <center><a href="images/bcc_tracing_tools_2017.png"><img src="images/bcc_tracing_tools_2017.png" border=0 width=700></a></center> + - tools/[argdist](tools/argdist.py): Display function parameter values as a histogram or frequenc...
Set: prevent double hashing on full capacity
@@ -5354,16 +5354,17 @@ FIO_FUNC inline FIO_SET_TYPE FIO_NAME(_insert_or_overwrite_)( /* automatic fragmentation protection */ if (FIO_NAME(is_fragmented)(set)) FIO_NAME(rehash)(set); - - /* locate future position, rehashing until a position is available */ - FIO_NAME(_map_s_) *pos = FIO_NAME(_find_map_pos_)(set, hash_...
Replace UnifiedBoomConfig with SmallRv32BoomConfig
@@ -48,12 +48,12 @@ class DualSmallBoomConfig extends Config( new boom.common.WithNBoomCores(2) ++ // dual-core new freechips.rocketchip.system.BaseConfig) -class SmallRV32UnifiedBoomConfig extends Config( +class SmallRV32BoomConfig extends Config( new WithTop ++ new WithBootROM ++ new freechips.rocketchip.subsystem.Wi...
Use BitCtz for FastSLog2Slow_C
@@ -329,6 +329,15 @@ const uint8_t kPrefixEncodeExtraBitsValue[PREFIX_LOOKUP_IDX_MAX] = { static float FastSLog2Slow_C(uint32_t v) { assert(v >= LOG_LOOKUP_IDX_MAX); if (v < APPROX_LOG_WITH_CORRECTION_MAX) { +#if !defined(WEBP_HAVE_SLOW_CLZ_CTZ) + // use clz if available + const int log_cnt = BitsLog2Floor(v) - 7; + co...
system/utils/README: add missing closing code block syntax (```) for echo In markdown, code block syntax requires two of "```"s for opening and closing. But commit missed closing for description of echo part. This commit fixes wrong usages of ```.
@@ -334,7 +334,7 @@ Kernel Features -> Disable TinyAra interfaces -> [ ] Disable environment variabl - Set a value which is greater than zero on CONFIG_NFILE_DESCRIPTORS. ``` Kernel Features -> Files and I/O -> Maximum number of file descriptors per task - +``` ## free This command shows heap information.
doc: change gpg keyserver for receiving public gpg key for `apt`
@@ -25,7 +25,7 @@ We provide repositories for latest releases and latest builds from master (suite To use our stable repositories with our latest releases, following steps need to be made: -1. Run `sudo apt-key adv --keyserver keys.gnupg.net --recv-keys F26BBE02F3C315A19BF1F791A9A25CC1CC83E839` to obtain the key. +1. R...
Add .dist-info to make pytest plugin of aiohttp working
@@ -239,6 +239,7 @@ def check_imports(no_check=None, extra=[], skip_func=None): "distutils.command.bdist_msi", "yaml.cyaml", "vh.ext.nirvana.nirvana_api_bridge", + "aiohttp.pytest_plugin", ] patterns = [re.escape(s).replace(r'\*', r'.*') for s in exceptions]
Bump pack dev version due to major changes to compiler iar/iccarm header.
<url>http://www.keil.com/pack/</url> <releases> - <release version="5.1.1-dev1"> + <release version="5.1.1-dev2"> Active development... + CMSIS-Core(M): 5.0.3 (see revision history for details) + - Added compiler_iccarm.h to replace compiler_iar.h shipped with the compiler. + </release> + <release version="5.1.1-dev1">...
NewChannel: redirect DM creation from DM routes We were redirecting based on our parent path, so if we were in a DM while making a DM, we used that DM as our parent path. Fixes urbit/landscape#421
@@ -100,7 +100,7 @@ export function NewChannel(props: NewChannelProps & RouteComponentProps) { await waiter(p => Boolean(p?.groups?.[`/ship/~${window.ship}/${resId}`])); } actions.setStatus({ success: null }); - const resourceUrl = parentPath(location.pathname); + const resourceUrl = (location.pathname.includes("/messa...
Update server preferred address test
@@ -5980,7 +5980,7 @@ int preferred_address_test() /* Create an alternate IP address, and use it as preferred address */ server_parameters.prefered_address.is_defined = 1; memcpy(server_parameters.prefered_address.ipv4Address, &server_preferred.sin_addr, 4); - server_parameters.prefered_address.ipv4Port = server_prefer...
in_mqtt: use new buf_write API and pack topic as string
@@ -141,21 +141,28 @@ static int mqtt_data_append(char *topic, size_t topic_len, } root = result.data; + /* Mark the start of a 'buffer write' operation */ + flb_input_buf_write_start(ctx->i_ins); + msgpack_pack_array(&ctx->i_ins->mp_pck, 2); msgpack_pack_int32(&ctx->i_ins->mp_pck, time(NULL)); n_size = root.via.map.si...
Fix isPost check
@@ -80,8 +80,8 @@ class HttpLoader http.setHeader("User-Agent", urlRequest.userAgent); var isPost = urlRequest.method==URLRequestMethod.POST; - #if haxe4 if (isPost) + #if haxe4 http.setPostBytes(urlRequest.nmeBytes); #else http.setPostData(urlRequest.nmeBytes.toString());
hotfix for multipath when there are no additional address available
@@ -19,7 +19,7 @@ protoop_arg_t select_sending_path(picoquic_cnx_t *cnx) pd->state = 2; addr_data_t *adl = NULL; addr_data_t *adr = NULL; - if (pd->path_id == 2) { + if (pd->path_id == 2 && bpfd->loc_addrs[0].sa != NULL && bpfd->rem_addrs[0].sa) { pd->loc_addr_id = 1; adl = &bpfd->loc_addrs[0]; pd->path->local_addr_len...
README.md: Use version 2.04.90
@@ -20,11 +20,11 @@ Packages for Qt4 and Raspbian Wheezy are available but not described here. ##### Install deCONZ 1. Download deCONZ package - wget http://www.dresden-elektronik.de/rpi/deconz/beta/deconz-2.04.86-qt5.deb + wget http://www.dresden-elektronik.de/rpi/deconz/beta/deconz-2.04.90-qt5.deb 2. Install deCONZ p...
print warning on unsupported network type
@@ -5222,7 +5222,6 @@ else if(linktype == DLT_EN10MB) processethernetpacket(tv_sec, tv_usec, caplen, packet); return; } - else if(linktype == DLT_IEEE802_11_RADIO) { if(caplen < (uint32_t)RTH_SIZE) @@ -5250,12 +5249,10 @@ else if(linktype == DLT_IEEE802_11_RADIO) packet_ptr += rth->it_len; caplen -= rth->it_len; } - el...
use type of radiotap value
@@ -8082,7 +8082,7 @@ while((auswahl = getopt_long(argc, argv, short_options, long_options, &index)) ! break; case HCX_SHORT_PREAMBLE: - hdradiotap[0x08] = 2; + hdradiotap[0x08] = IEEE80211_RADIOTAP_F_SHORTPRE; break; case HCX_FILTERLIST_AP:
Testscript improved
@@ -42,3 +42,8 @@ if [ "$unamestr" == "Linux" ] || [ "$unamestr" == "FreeBSD" ]; then runtest "../examples/tneat" "-v" "1" "-P" "../examples/prop_sctp_dtls.json" "interop.fh-muenster.de" runtest "../examples/tneat" "-v" "1" "-L" "-n" "1024" "-P" "../examples/prop_sctp.json" fi + +if [ "$unamestr" == "Darwin" ]; then + ...
nrf/modules/uos/microbitfs: Remove unused uos_mbfs_mount. It throws an error in GCC 6.3.
@@ -554,15 +554,6 @@ STATIC mp_obj_t uos_mbfs_file_close(mp_obj_t self) { } STATIC MP_DEFINE_CONST_FUN_OBJ_1(uos_mbfs_file_close_obj, uos_mbfs_file_close); -STATIC mp_obj_t uos_mbfs_mount(mp_obj_t self_in, mp_obj_t readonly, mp_obj_t mkfs) { - // This function is called only once (indirectly from main()) and is - // no...
core/test/run-msg: don't depend on unittest mem layout In the world of unit tests all "RAM" is valid
@@ -24,7 +24,7 @@ static bool zalloc_should_fail = false; static int zalloc_should_fail_after = 0; /* Fake top_of_ram -- needed for API's */ -unsigned long top_of_ram = 16ULL * 1024 * 1024 * 1024; +unsigned long top_of_ram = 0xffffffffffffffffULL; static void *zalloc(size_t size) {
build: Add missing package to Makefile add dependency for pip install psutil. See: Type: fix
@@ -70,6 +70,9 @@ DEB_DEPENDS += python-virtualenv python-pip libffi6 check DEB_DEPENDS += libboost-all-dev libffi-dev python3-ply libmbedtls-dev DEB_DEPENDS += cmake ninja-build uuid-dev python3-jsonschema python3-yaml yamllint DEB_DEPENDS += python3-venv # ensurepip +DEB_DEPENDS += python3-dev # needed for python3 -m...
docs/library/pyb.ADC: Remove outdated ADCAll code example.
@@ -170,44 +170,7 @@ The ADCAll Object The default value is 0xffffffff which means all analog inputs are active. If just the internal channels (16..18) are required, the mask value should be 0x70000. - It is possible to access channle 16..18 values without incurring the side effects of ``ADCAll``:: - - def adcread(chan...
tcmur/unmap: fix the NOTE comment
@@ -1882,8 +1882,11 @@ static int handle_unmap_internal(struct tcmu_device *dev, struct tcmulib_cmd *or * large num blocks into OPTIMAL UNMAP GRANULARITY size. * * NOTE: here we always asumme the OPTIMAL UNMAP GRANULARITY - * equals to UNMAP GRANULARITY ALIGNMENT, if not in feature - * and following align and split alg...
gate prep in skip
*/ #include "all.h" - -/* functions -*/ u3_noun - u3qb_skip(u3_noun a, - u3_noun b) + _skip_in(u3j_site* sit_u, u3_noun a) { if ( 0 == a ) { return a; else if ( c3n == u3du(a) ) { return u3_none; } else { - u3_noun hoz = u3n_slam_on(u3k(b), u3k(u3h(a))); - u3_noun vyr = u3qb_skip(u3t(a), b); + u3_noun hoz = u3j_gate_sl...
No need to create persist and accessories folder manually?
@@ -263,8 +263,8 @@ function checkHomebridge { fi # create homebridge dir and add Mainuser ownership mkdir /home/$MAINUSER/.homebridge - mkdir /home/$MAINUSER/.homebridge/persist - mkdir /home/$MAINUSER/.homebridge/accessories + #mkdir /home/$MAINUSER/.homebridge/persist + #mkdir /home/$MAINUSER/.homebridge/accessories...
Package: Add a third optional argument to select compiler for Bootstrapping
-- Check the command line arguments, and show some help if needed. --- - local usage = 'usage is: package <branch> <type>\n' .. + local allowedCompilers = {} + + if os.ishost("windows") then + allowedCompilers = { + "vs2019", + "vs2017", + "vs2015", + "vs2013", + "vs2012", + "vs2010", + "vs2008", + "vs2005", + } + else...
lib: mbedtls: comment out Python3 check and 3dparty dir
@@ -69,18 +69,18 @@ set(CTR_DRBG_128_BIT_KEY_WARNING "${WARNING_BORDER}" "${WARNING_BORDER}") # Python 3 is only needed here to check for configuration warnings. -if(NOT CMAKE_VERSION VERSION_LESS 3.15.0) - set(Python3_FIND_STRATEGY LOCATION) - find_package(Python3 COMPONENTS Interpreter) - if(Python3_Interpreter_FOUND...
webterm: v1.0.0
:~ title+'Terminal' - info+'A web interface to your Urbit\'s command line (the dojo).' + info+'A web interface to your Urbit\'s command line.' color+0x2e.4347 - glob-http+['https://bootstrap.urbit.org/glob-0v6.ak34j.nao8k.dhqs4.s2atf.td1lc.glob' 0v6.ak34j.nao8k.dhqs4.s2atf.td1lc] + glob-http+['https://bootstrap.urbit.o...
OpenCanopy: Fix assertion with disabled mouse pointer
@@ -1151,7 +1151,9 @@ GuiDrawLoop ( // // Clear previous inputs. // + if (mPointerContext != NULL) { GuiPointerReset (mPointerContext); + } GuiKeyReset (mKeyContext); // // Main drawing loop, time and derieve sub-frequencies as required.
mbedtls: fix `esp_aes_gcm_update_ad()` API implementation
@@ -352,6 +352,8 @@ int esp_aes_gcm_starts( esp_gcm_context *ctx, /* Initialize AES-GCM context */ memset(ctx->ghash, 0, sizeof(ctx->ghash)); ctx->data_len = 0; + ctx->aad = NULL; + ctx->aad_len = 0; ctx->iv = iv; ctx->iv_len = iv_len; @@ -371,6 +373,15 @@ int esp_aes_gcm_starts( esp_gcm_context *ctx, gcm_gen_table(ctx...
libarrakis: fix Hakefile to include pmap_ds sources
@@ -212,6 +212,17 @@ in arch_include "k1om" = "include/arch/x86_64" arch_include _ = "" + -- sources specific to the pmap implementation + pmap_unified_srcs = [ "pmap_slab_mgmt.c" ] + pmap_srcs "x86_64" Config.LL = pmap_unified_srcs ++ [ "pmap_ll.c" ] + pmap_srcs "x86_64" Config.ARRAY = pmap_unified_srcs ++ [ "pmap_arr...
kernel: access_ok: properly check that buffer is in user space Check that all of the provided buffer is in user space rather than just the buffer's base address.
bool access_ok(uint8_t type, lvaddr_t buffer, size_t size) { debug(SUBSYS_SYSCALL, "%s: buffer=%#"PRIxLVADDR", size=%zu\n", __FUNCTION__, buffer, size); - // Check that `buffer` is a user space address, i.e. below MEMORY_OFFSET - if (buffer >= MEMORY_OFFSET) { - return SYS_ERR_INVALID_USER_BUFFER; + // Check that the p...
Use `setenv`instead as `putenv` makes Lutris' wine crash for some reason (threading?)
@@ -727,18 +727,13 @@ void init_system_info(){ char *dir = dirname((char*)wineProcess.c_str()); stringstream findVersion; findVersion << "\"" << dir << "/wine\" --version"; - bool env_exists = false; - if (getenv("WINELOADERNOEXEC")) { - static char removenoexec[] = "WINELOADERNOEXEC"; - putenv(removenoexec); - env_exi...
sgx-tools/README: clarify the depenencies to libsgx-dcap-quote-verify-dev/libsgx-dcap-quote-verify-devel
## Dependency - golang 1.14 or above. -- [SGX DCAP](https://github.com/intel/SGXDataCenterAttestationPrimitives): please download and install the rpm(centos) or deb(ubuntu) from "https://download.01.org/intel-sgx/sgx-dcap/#version#linux/distro" - - libsgx-dcap-quote-verify-dev(ubuntu) or libsgx-dcap-quote-verify-devel(...
Removed backwards compatibility unused settings introcuduced with nrf5281x support.
@@ -451,10 +451,6 @@ syscfg.defs: - "!XTAL_RC" deprecated: 1 -syscfg.vals.MCU_NRF52810: - MCU_TARGET: nRF52810 -syscfg.vals.MCU_NRF52811: - MCU_TARGET: nRF52811 syscfg.vals.MCU_NRF52832: MCU_TARGET: nRF52832 syscfg.vals.MCU_NRF52840:
slog %crud tanks in %dill when we don't have a duct
[:_(moz [(need hey.all) %give %init p.q.hic]) ..^$] =+ nus=(ax hen q.hic) ?~ nus + ?. ?=(%crud -.q.hic) ~& [%dill-no-flow q.hic] [~ ..^$] + ~& [%dill-no-flow %crud p.q.hic] + [((slog (flop q.q.hic)) ~) ..^$] =^ moz all abet:(call:u.nus q.hic) [moz ..^$] ::
Enable HKDF EXTRACT/EXPAND algs
@@ -611,6 +611,10 @@ extern "C" { #define PSA_WANT_ALG_HMAC 1 #define MBEDTLS_PSA_BUILTIN_ALG_HKDF 1 #define PSA_WANT_ALG_HKDF 1 +#define MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXTRACT 1 +#define PSA_WANT_ALG_HKDF_EXTRACT 1 +#define MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXPAND 1 +#define PSA_WANT_ALG_HKDF_EXPAND 1 #endif /* MBEDTLS_HKDF_...
[Chenyu Zhao] : Fix bugs
@@ -13,6 +13,15 @@ log: max_backups: 7 max_age: 67 +mysql: + host: "127.0.0.1" + port: 3306 + user: "root" + password: "123456" + dbname: "lmp" + max_open_conns: 200 + max_idle_conns: 50 + influxdb: host: "127.0.0.1" port: 8086
travis: Use multi-line text
@@ -37,8 +37,16 @@ addons: - cunit before_install: - $CC --version - - if [ "$TRAVIS_OS_NAME" == "linux" ]; then CMAKE_OPTS=" -DENABLE_ASAN=1" AUTOTOOLS_OPTS=" --enable-asan"; fi - - if [ "$TRAVIS_OS_NAME" == "linux" ]; then if [ "$CXX" = "g++" ]; then export CXX="g++-8" CC="gcc-8" EXTRA_LDFLAGS="-fuse-ld=gold"; else e...
Stop server from expecting Certificate message when not requested In a non client-auth renegotiation where the original handshake *was* client auth, then the server will expect the client to send a Certificate message anyway resulting in a connection failure.
@@ -347,6 +347,8 @@ static int state_machine(SSL *s, int server) */ s->ctx->stats.sess_accept_renegotiate++; } + + s->s3->tmp.cert_request = 0; } else { s->ctx->stats.sess_connect++; @@ -354,7 +356,6 @@ static int state_machine(SSL *s, int server) memset(s->s3->client_random, 0, sizeof(s->s3->client_random)); s->hit = ...
Remove useless extra parenthesis
@@ -122,7 +122,7 @@ void Recep_GetHeader(volatile uint8_t *data) } } - if ((ctx.rx.status.rx_framing_error == false)) + if (ctx.rx.status.rx_framing_error == false) { if (data_size) { @@ -359,7 +359,7 @@ ll_service_t *Recep_GetConcernedLLService(header_t *header) // Check all ll_service id for (i = 0; i < ctx.ll_servic...
CI: Disable cache Sometimes the cache breaks and the test fails. The test will continue to fail unless we update the cache key or get rid of the broken cache.. Disable the cache action because it looks unstable
@@ -18,13 +18,6 @@ jobs: uses: ruby/setup-ruby@master with: ruby-version: 2.3 - - name: Cache Ruby dependencies - uses: actions/cache@v1 - with: - path: ./vendor/bundle - key: v1-linux-2.3-${{ hashFiles('rmagick.gemspec') }} - restore-keys: | - v1-linux-2.3-${{ hashFiles('rmagick.gemspec') }} - name: Build and test wit...
Cleanup HAPI session as well
@@ -430,6 +430,22 @@ cleanupHAPI() return true; } +bool +cleanupSession() +{ + if ( !Util::theHAPISession.get() ) + { + return true; + } + + // If session is not initialize, then don't try to close it. + CHECK_HAPI_AND_RETURN( HAPI_IsSessionValid( Util::theHAPISession.get() ), true ); + + CHECK_HAPI_AND_RETURN( HAPI_Cl...
btc-provider: ping _only_ once every 30 seconds
?- -.comm %set-credentials :_ state(host-info [api-url.comm %.n network.comm 0 *(set ship)]) - :~ do-ping:hc - (start-ping-timer:hc ~s30) - == + ~[(start-ping-timer:hc ~s30)] :: %add-whitelist :- ~ ?. (is-whitelisted:hc src.bowl) ~|("btc-provider: blocked client {<src.bowl>}" !!) ~& > "btc-provider: accepted client {<s...
option/posix: Implement more socket operations
@@ -59,9 +59,19 @@ ssize_t recvfrom(int, void *__restrict, size_t, int, struct sockaddr *__restrict __builtin_unreachable(); } -ssize_t recvmsg(int, struct msghdr *, int) { - __ensure(!"Not implemented"); - __builtin_unreachable(); +ssize_t recvmsg(int fd, struct msghdr *msgh, int flags) { + __ensure(msgh->msg_iovlen);...
vm/page: prevent allocation of new kernel ptables
@@ -293,7 +293,7 @@ int _page_map(pmap_t *pmap, void *vaddr, addr_t pa, int attrs) page_t *ap = NULL; while (pmap_enter(pmap, pa, vaddr, attrs, ap) < 0) { - if ((ap = _page_alloc(SIZE_PAGE, PAGE_OWNER_KERNEL | PAGE_KERNEL_PTABLE)) == NULL) + if (vaddr > (void *)VADDR_KERNEL || (ap = _page_alloc(SIZE_PAGE, PAGE_OWNER_KE...
ixfr-out, fix compression domain in error case.
@@ -253,12 +253,12 @@ query_state_type query_ixfr(struct nsd *nsd, struct query *query) * serial, then serve a single SOA with our current serial */ current_serial = zone_get_current_serial(zone); if(compare_serial(qserial, current_serial) >= 0) { - query_add_compression_domain(query, zone->apex, - QHEADERSZ); if(!zone...
doc: update partition desc for up2 board modify partition desc table of up2 board to make it consistent with launch uos script.
[base] # The sequence matters, and the index starts from p1. # The fastboot ABL by default boots from the 2nd partition. -partitions = sos_rootfs sos_boot data_partition +partitions = data_partition sos_boot sos_rootfs device = auto +[partition.data_partition] +label = data_partition +len = 20000 +type = linux + [parti...
debugging comment free
@@ -662,23 +662,31 @@ static void comment_set(t_comment *x, t_symbol *s, int argc, t_atom * argv) canvas_dirty(x->x_glist, 1); */ } -static void comment_free(t_comment *x) -{ - if (x->x_active) - { - post("bug [comment]: comment_free"); + +static void comment_free(t_comment *x){ + if (x->x_active){ +// post("bug [comme...
add unicore client to list of other agent clients
@@ -170,3 +170,4 @@ Any application that needs an access token can use [```liboidc-agent2```](api.md oidc-agent. The following applications are already integrated with oidc-agent: - [wattson](https://github.com/indigo-dc/wattson) - [orchent](https://github.com/indigo-dc/orchent) +- [UNICORE command line client](https:/...
[core] change backtrace format to put addr first (better monospaced alignment of frame num, addr, offset, name)
@@ -361,8 +361,8 @@ ck_backtrace (FILE *fp) } } - fprintf(fp, "%u: %s (+0x%x) [%p]\n", - frame, name, (unsigned int)offset, (void *)(uintptr_t)ip); + fprintf(fp, "%.2u: [%.012lx] (+%04x) %s\n", + frame, (uintptr_t)ip, (unsigned int)offset, name); } if (0 == rc) return;
feat(util) Allow both $VAR and ${VAR} template variables
@@ -24,16 +24,21 @@ function util.set_file_contents(filename, contents) return true end --- Barebones string-based template function for generating C/Lua code. --- Replaces ${VAR} placeholders in the `code` template by the corresponding +-- Barebones string-based template function for generating C/Lua code. Replaces +-...
add missing local fix
function m.precompiledHeader(cfg, condition) - prjcfg, filecfg = p.config.normalize(cfg) + local prjcfg, filecfg = p.config.normalize(cfg) if filecfg then if prjcfg.pchsource == filecfg.abspath and not prjcfg.flags.NoPCH then m.element('PrecompiledHeader', condition, 'Create')
Fix vulkan driver version shown for Nvidia and Intel on Windows
@@ -2280,17 +2280,30 @@ static VkResult overlay_CreateSwapchainKHR( struct swapchain_data *swapchain_data = new_swapchain_data(*pSwapchain, device_data); setup_swapchain_data(swapchain_data, pCreateInfo, device_data->instance->params); - swapchain_data->sw_stats.version_vk.major = VK_VERSION_MAJOR(device_data->properti...
fixed typo for resource compilation (wrong copy/paste)
@@ -114,13 +114,11 @@ cmd_ : $(OBJ_LIB) %.o: %.s $(CC) -x assembler-with-cpp -MMD $(FLAGS_LIB) -c $< -o $@ -out/%.o: %.rs +%.o: %.rs $(CC) -x assembler-with-cpp $(FLAGS) -c $*.rs -o $@ - $(CP) $*.d out/$*.d - $(RM) $*.d %.rs: %.res - $(RESCOMP) $*.res $*.rs -dep out/$*.o + $(RESCOMP) $*.res $*.rs -dep $*.o %.o80: %.s80...
Coding: Update Markdown guides
@@ -184,7 +184,7 @@ Most notably use: - File Ending is `.md` or integrated within Doxygen comments - Only use `#` characters at the left side of headers/titles -- Use tabs or fences for code/examples +- Use fences for code/examples - Prefer fences which indicate the used language for better syntax highlighting - Fences...
API: Fix Coverity Warning CID 177944
@@ -3182,7 +3182,7 @@ static void *vl_api_sw_interface_set_lldp_t_print (vl_api_sw_interface_set_lldp_t * mp, void *handle) { u8 *s; - u8 null_data[128]; + u8 null_data[256]; memset (null_data, 0, sizeof (null_data));
`sock_flush_strong` should check errno within loop
@@ -1040,7 +1040,8 @@ error: after all the data was sent. This is a "busy" wait, polling isn't performed. */ void sock_flush_strong(intptr_t uuid) { - while (sock_flush(uuid) == 0) + errno = 0; + while (sock_flush(uuid) == 0 && errno == 0) ; } /**
mgmt/imgmgr: Return error if erase failed
@@ -340,6 +340,9 @@ imgr_erase(struct mgmt_cbuf *cb) } rc = flash_area_erase(imgr_state.upload.fa, 0, imgr_state.upload.fa->fa_size); + if (rc) { + return MGMT_ERR_EINVAL; + } flash_area_close(imgr_state.upload.fa); imgr_state.upload.fa = NULL; } else {
use user-provided log_level in bpf_prog_load For the case where user provided a log buffer, the user provided log_level is already been used. For the case where user provided a log_level and bcc needs to allocate buffer, the log_level is fixed to 1. Use user provided log level instead.
@@ -448,6 +448,7 @@ int bpf_prog_load(enum bpf_prog_type prog_type, const char *name, if (tmp_log_buf) free(tmp_log_buf); tmp_log_buf_size = LOG_BUF_SIZE; + if (attr.log_level == 0) attr.log_level = 1; for (;;) { tmp_log_buf = malloc(tmp_log_buf_size);
BugID:17860488: Improve channel lock
@@ -155,9 +155,16 @@ static void aws_switch_dst_chan(int channel); static int aws_amend_dst_chan = 0; void aws_switch_channel(void) { + os_mutex_lock(zc_mutex); if (aws_amend_dst_chan != 0) { aws_switch_dst_chan(aws_amend_dst_chan); aws_amend_dst_chan = 0; + os_mutex_unlock(zc_mutex); + return; + } + + if (aws_state ==...
[chainmaker][#436]modify global variable value
@@ -183,7 +183,8 @@ START_TEST(test_001Wallet_0005CreateLoadWalletFailureNoExist) ck_assert_int_eq(rtnVal, BOAT_ERROR_PERSISTER_READ_FAIL); /* 2-2. verify the global variables that be affected */ - ck_assert(g_boat_iot_sdk_context.wallet_list[0].is_used == false); + ck_assert(g_boat_iot_sdk_context.wallet_list[0].is_us...
Update nsd.conf.sample
@@ -325,6 +325,11 @@ remote-control: # The authentication domain name as defined in RFC8310. #auth-domain-name: "example.com" + # Client certificate and private key for Mutual TLS authentication + #client-cert: "path/to/clientcert.pem" + #client-key: "path/to/clientkey.key" + #client-key-pw: "password" + # Patterns hav...
move receive window forward...shutdown the underlying lwip tcp on close()
@@ -123,7 +123,6 @@ static void read_complete(sock s, thread t, void *dest, u64 length) set_syscall_return(t, -ENOTCONN); return; } - struct pbuf *p = queue_peek(s->incoming); u64 xfer = MIN(length, p->len); runtime_memcpy(dest, p->payload, xfer); @@ -134,7 +133,7 @@ static void read_complete(sock s, thread t, void *de...
Options for test coverage in platformio.ini
@@ -15,18 +15,25 @@ default_envs = native [env:native] platform = native test_transport = custom - test_build_project_src = true build_type = debug build_flags = -I inc -I test + -lgcov + --coverage + -fprofile-arcs + +extra_scripts = + ../test/unit_test_script.py + ; Uncomment this line to activate Unit Test Debug ; -...
Fix issue with CLR_RT_UnicodeHelper::ConvertFromUTF8
@@ -122,6 +122,13 @@ int CLR_RT_UnicodeHelper::CountNumberOfBytes( int max ) //--// +// dev note: need the pragma bellow because there are a couple of 'smart' hacks in +// the switch cases to improve the algorithm +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#e...
admin/prun: update version for prun
Summary: Convenience utility for parallel job launch Name: %{pname}%{PROJ_DELIM} -Version: 2.0 +Version: 2.1 Release: 1%{?dist} License: Apache-2.0 Group: %{PROJ_NAME}/admin
Documentation: Add link
@@ -177,7 +177,7 @@ in configuration files, but are "representatives", "proxies" or So that every tool has a consistent view to the key database it is vital that every application does a `ksLookup` for every key it uses. So even if your application iterates over keys, -always remember to do a cascading lookup for every...
stm32/usb: Don't nul pyb_hid_report_desc if MICROPY_HW_USB_HID disabled. So this code can be used if pyb_hid_report_desc is not included in the port's root pointer list.
@@ -221,7 +221,9 @@ void pyb_usb_init0(void) { for (int i = 0; i < MICROPY_HW_USB_CDC_NUM; ++i) { usb_device.usbd_cdc_itf[i].attached_to_repl = false; } + #if MICROPY_HW_USB_HID MP_STATE_PORT(pyb_hid_report_desc) = MP_OBJ_NULL; + #endif pyb_usb_vcp_init0(); }
fix warning of parent scope
@@ -16,8 +16,8 @@ else() set( ECCODES_LITTLE_ENDIAN 1 ) endif() -set( ECCODES_BIG_ENDIAN ${ECCODES_BIG_ENDIAN} PARENT_SCOPE ) -set( ECCODES_LITTLE_ENDIAN ${ECCODES_LITTLE_ENDIAN} PARENT_SCOPE ) +set( ECCODES_BIG_ENDIAN ${ECCODES_BIG_ENDIAN} ) +set( ECCODES_LITTLE_ENDIAN ${ECCODES_LITTLE_ENDIAN} ) if( NOT DEFINED IEEE_B...
[components/drivers] added function declaration
* Change Logs: * Date Author Notes * 2019-01-31 flybreak first version + * 2021-06-23 linpeng added function declaration */ +#ifndef __SENSOR_H__ +#define __SENSOR_H__ #include <rtthread.h> -#include <rtdevice.h> +#ifdef __cplusplus +extern "C" +{ +#endif + +int rt_hw_sensor_register(rt_sensor_t sensor, + const char *n...
Missing changes entry about OPENSSL_str[n]casecmp
@@ -120,6 +120,13 @@ breaking changes, and mappings for the large list of deprecated functions. ### Changes between 3.0.2 and 3.0.3 + * Case insensitive string comparison is reimplemented via new locale-agnostic + comparison functions OPENSSL_str[n]casecmp always using the POSIX locale for + comparison. The previous im...
hark-chat-hook: poke hark-store for watching channels
++ chat-update |= =update:chat-store ^- (quip card _state) - [~ state] + :_ state + ?+ -.update ~ + %message (process-envelope path.update envelope.update) + :: + %messages + %- zing + (turn envelopes.update (cury process-envelope path.update)) + == + :: + ++ process-envelope + |= [=path =envelope:chat-store] + ^- (lis...