message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Replace uint64_t with uintptr_t in lv_theme.c
This resolves | @@ -73,7 +73,7 @@ void lv_theme_set_current(lv_theme_t * th)
uint16_t i;
lv_style_t ** cur_th_style_p = (lv_style_t **) ¤t_theme;
for(i = 0; i < style_num; i++) {
- uint64_t adr = (uint64_t)&th_styles[i];
+ uintptr_t adr = (uintptr_t)&th_styles[i];
memcpy(&cur_th_style_p[i], &adr, sizeof(lv_style_t *));
}
inited ... |
GSettings Bindings: Format CMake code | @@ -13,7 +13,6 @@ if (NOT PKG_CONFIG_FOUND)
return ()
endif ()
-
pkg_check_modules (GLIB glib-2.0>=2.42 QUIET)
pkg_check_modules (GMODULE gmodule-2.0>=2.42 QUIET)
pkg_check_modules (GIO gio-2.0>=2.42 QUIET)
@@ -83,15 +82,13 @@ endif ()
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
if (NOT FORCE_IN_SOURCE_BUILD)
- mes... |
interop: Support zerortt | @@ -26,7 +26,7 @@ if [ "$ROLE" == "client" ]; then
if [ "$TESTCASE" == "versionnegotiation" ]; then
CLIENT_ARGS="$CLIENT_ARGS -v 0xaaaaaaaa"
fi
- if [ "$TESTCASE" == "resumption" ]; then
+ if [ "$TESTCASE" == "resumption" ] || [ "$TESTCASE" == "zerortt" ]; then
CLIENT_ARGS="$CLIENT_ARGS --session-file session.txt --tp-... |
doc: update copyright notices | @@ -50,7 +50,7 @@ master_doc = 'index'
# General information about the project.
project = u'skiboot'
-copyright = u'2016, Stewart Smith, IBM, others'
+copyright = u'2016-2017, IBM, others'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various othe... |
Dockerfile: replace building libyang from source with libyang/libyang-dev package installation | @@ -40,10 +40,11 @@ RUN echo "netconf:netconf" | chpasswd && adduser netconf sudo
# Clearing and setting authorized ssh keys
-RUN echo '' > /home/netconf/.ssh/authorized_keys
-RUN ssh-keygen -A
-RUN ssh-keygen -t dsa -P '' -f /home/netconf/.ssh/id_dsa
-RUN cat /home/netconf/.ssh/id_dsa.pub >> /home/netconf/.ssh/authori... |
[dpos] Add block BP ID verification | @@ -106,9 +106,13 @@ func (dpos *DPoS) IsBlockValid(block *types.Block) error {
return &consensus.ErrorConsensus{Msg: "bad public key in block", Err: err}
}
- if !dpos.bpc.Has(id) {
+ sec := block.GetHeader().GetTimestamp()
+
+ // Check whether the BP ID belongs to those of the current BP members and
+ // its correspon... |
chmod 755 for exported file | @@ -1695,7 +1695,7 @@ static void onNativeExportGet(const HttpGetData* data)
if(embedCart(console, buf, &size)
&& fsWriteFile(path, buf, size))
{
- chmod(path, 0777);
+ chmod(path, 0755);
printFront(console, filename);
printBack(console, " exported :)");
}
|
Add support for Samsung SmartThings plug (IM6001-OTP) | @@ -237,6 +237,7 @@ static const SupportedDevice supportedDevices[] = {
{ VENDOR_LEGRAND, "Remote switch", legrandMacPrefix }, // Legrand wireless switch
{ VENDOR_NETVOX, "Z809AE3R", netvoxMacPrefix }, // Netvox smartplug
{ VENDOR_LDS, "ZB-ONOFFPlug-D0005", silabs2MacPrefix }, // Samsung SmartPlug 2019 (7A-PL-Z-J3)
+ {... |
kernel: paging_copy_remap: add offset to dest addr for memcpy | @@ -574,7 +574,7 @@ errval_t paging_copy_remap(struct cte *dest_vnode_cte, cslot_t dest_slot,
errval_t err;
// clone existing pages
lvaddr_t toaddr;
- toaddr = local_phys_to_mem(gen_phys_to_local_phys(get_address(src_cap)));
+ toaddr = local_phys_to_mem(gen_phys_to_local_phys(get_address(src_cap))) + offset;
genpaddr_t... |
YAML CPP: Use explicit type conversion | @@ -254,7 +254,7 @@ std::pair<bool, unsigned long long> isArrayIndex (NameIterator const & nameItera
string const name = *nameIterator;
auto const offsetIndex = ckdb::elektraArrayValidateBaseNameString (name.c_str ());
auto const isArrayElement = offsetIndex >= 1;
- return { isArrayElement, isArrayElement ? stoull (nam... |
hw/mcu: Fix nRF5340 netcore build with synthesize LF clock
Network core doesn't have secure peripherals. | @@ -88,12 +88,12 @@ hal_system_clock_start(void)
#if MYNEWT_VAL_CHOICE(MCU_LFCLK_SOURCE, LFSYNTH)
/* Must turn on HFLCK for synthesized 32768 crystal */
- if ((NRF_CLOCK_S->HFCLKSTAT & CLOCK_HFCLKSTAT_STATE_Msk) !=
+ if ((NRF_CLOCK_NS->HFCLKSTAT & CLOCK_HFCLKSTAT_STATE_Msk) !=
(CLOCK_HFCLKSTAT_STATE_Running << CLOCK_HF... |
Add sceAvPlayerGetStreamInfo prototype and related struct/enum. | @@ -32,6 +32,12 @@ typedef enum SceAvPlayerTrickSpeeds {
SCE_AVPLAYER_TRICK_SPEED_FAST_FORWARD_32X = 3200 //!< Fast Forward 32x
} SceAvPlayerTrickSpeeds;
+typedef enum SceAvPlayerStreamType {
+ SCE_AVPLAYER_VIDEO, //!< Video stream type
+ SCE_AVPLAYER_AUDIO, //!< Audio stream type
+ SCE_AVPLAYER_TIMEDTEXT //!< Timed te... |
fix --version-script for good | @@ -325,7 +325,7 @@ if(JANSSON_BUILD_SHARED_LIBS)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--default-symver")
else()
# some linkers may only support --version-script
- file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/jansson.sym" "libjansson.so.${JANSSON_SOVERSION} {
+ file(WRITE "${CMAKE_CURRENT_BINARY_D... |
Update mac workflow versions | @@ -22,8 +22,8 @@ jobs:
- name: Build and Test
uses: reactivecircus/android-emulator-runner@v2
with:
- api-level: 29
- ndk: 21.0.6113669
+ api-level: 30
+ ndk: 21.0.6528147
cmake: 3.10.2.4988404
working-directory: ./lib/android_build
script: ./testandlog
|
Use normal unix `struct stat` for macos in `last_modified`. | #include <stdlib.h>
#include <errno.h>
#include "system/nth_alloc.h"
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__)
#include <sys/stat.h>
#include <sys/types.h>
#elif defined(_WIN32)
@@ -20,7 +20,7... |
disable sign mode | <Platform Condition="'$(Platform)' == ''">Win32</Platform>
<RootNamespace>ivshmem</RootNamespace>
<ProjectName>ivshmem</ProjectName>
+ <SignMode>Off</SignMode>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug|Win32'... |
TCPMv2: Fix typo
This fixes a typo in usb_pd_dpm.
BRANCH=none
TEST=buildall passes | @@ -671,7 +671,7 @@ void dpm_remove_source(int port)
/*
* Note: all ports receive the 1.5 A source offering until they are found to
- * match a criteria on the 3.0 A priority list (ex. though sink capability
+ * match a criteria on the 3.0 A priority list (ex. through sink capability
* probing), at which point they wil... |
Add sendbuf param to RPS client | @@ -36,6 +36,7 @@ PrintHelp(
" -response:<####> The length of request payloads. (def:%u)\n"
" -threads:<####> The number of threads to use. Defaults and capped to number of cores\n"
" -affinitize:<0/1> Affinitizes threads to a core. (def:0)\n"
+ " -sendbuf:<0/1> Whether to use send buffering. (def:0)\n"
"\n",
RPS_DEFAU... |
tree schema BUGFIX missing param
Fixes | @@ -1074,7 +1074,7 @@ search_file:
if (!(ctx->flags & LY_CTX_DISABLE_SEARCHDIRS)) {
/* submodule was not received from the callback or there is no callback set */
lys_parse_localfile(ctx, inc->name, inc->rev[0] ? inc->rev : NULL, pctx,
- pctx->parsed_mod->mod->name, 1, NULL, (void **)&submod);
+ pctx->parsed_mod->mod->... |
hoon: adds +swat: deferred +slap | %- ~(play ut p.vax)
[%wtgr [%wtts [%leaf %tas -.q.vax] [%& 2]~] [%$ 1]]
(~(fuse ut p.vax) [%cell %noun %noun])
+:: +swat: deferred +slap
+::
+++ swat
+ |= [tap=(trap vase) gen=hoon]
+ ^- (trap vase)
+ =/ gun (~(mint ut p:$:tap) %noun gen)
+ |. ~+
+ [p.gun .*(q:$:tap q.gun)]
::
:::: 5d: parser
::
|
build: enable NATS output plugin by default | @@ -86,7 +86,7 @@ option(FLB_OUT_ES "Enable Elasticsearch output plugin" Yes)
option(FLB_OUT_FORWARD "Enable Forward output plugin" Yes)
option(FLB_OUT_HTTP "Enable HTTP output plugin" Yes)
option(FLB_OUT_INFLUXDB "Enable InfluxDB output plugin" Yes)
-option(FLB_OUT_NATS "Enable NATS output plugin" No)
+option(FLB_OUT_... |
py/objint: Remove TODO about checking of int() arg types with 2 args.
The arguments are checked by mp_obj_str_get_data and mp_obj_get_int. | @@ -69,7 +69,6 @@ STATIC mp_obj_t mp_obj_int_make_new(const mp_obj_type_t *type_in, size_t n_args,
case 2:
default: {
// should be a string, parse it
- // TODO proper error checking of argument types
size_t l;
const char *s = mp_obj_str_get_data(args[0], &l);
return mp_parse_num_integer(s, l, mp_obj_get_int(args[1]), N... |
Add ability to use docstrings in estimators
Added ability to use docstrings in CatBoostClassifier and CatBoostRegressor. The functionality was lost earlier because there was code between the docstrings and the class name. | @@ -3618,9 +3618,6 @@ class CatBoost(_CatBoostBase):
self._object._convert_oblivious_to_asymmetric()
class CatBoostClassifier(CatBoost):
-
- _estimator_type = 'classifier'
-
"""
Implementation of the scikit-learn API for CatBoost classification.
@@ -4074,6 +4071,9 @@ class CatBoostClassifier(CatBoost):
text_processing ... |
Fix bug with SSL_read_early_data()
If read_ahead is set, or SSL_MODE_AUTO_RETRY is used then if
SSL_read_early_data() hits an EndOfEarlyData message then it will
immediately retry automatically, but this time read normal data instead
of early data!
Fixes | @@ -1496,6 +1496,8 @@ int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf,
*/
if ((s->rlayer.handshake_fragment_len >= 4)
&& !ossl_statem_get_in_handshake(s)) {
+ int ined = (s->early_data_state == SSL_EARLY_DATA_READING);
+
/* We found handshake data, so we're going back into init */
ossl_statem_... |
memif: memif buffer leaks during disconnect.
code added to release the mbuf's to main pool during memif disconnect.
Type: fix | @@ -70,6 +70,7 @@ memif_disconnect (memif_if_t * mif, clib_error_t * err)
{
memif_main_t *mm = &memif_main;
vnet_main_t *vnm = vnet_get_main ();
+ vlib_main_t *vm = vlib_get_main ();
memif_region_t *mr;
memif_queue_t *mq;
int i;
@@ -126,6 +127,18 @@ memif_disconnect (memif_if_t * mif, clib_error_t * err)
memif_log_warn... |
Fix ST demo config file | /* Default configuration for all demos. Individual demos can override these below */
#define democonfigDEMO_STACKSIZE ( configMINIMAL_STACK_SIZE * 8 )
#define democonfigDEMO_PRIORITY ( tskIDLE_PRIORITY + 5 )
+#define democonfigNETWORK_TYPES ( AWSIOT_NETWORK_TYPE_WIFI )
/* Some individual demos want to override these de... |
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
For MESH/NODE/CFG/HBS/BV-02-C | @@ -3214,7 +3214,6 @@ static void heartbeat_sub_set(struct bt_mesh_model *model,
cfg->hb_sub.dst = BLE_MESH_ADDR_UNASSIGNED;
cfg->hb_sub.min_hops = BLE_MESH_TTL_MAX;
cfg->hb_sub.max_hops = 0U;
- cfg->hb_sub.count = 0U;
}
period_ms = 0;
@@ -3240,6 +3239,11 @@ static void heartbeat_sub_set(struct bt_mesh_model *model,
hb... |
[kernel][Konfig]modify Kconfig file | @@ -284,7 +284,6 @@ menu "Memory Management"
endchoice
- if RT_USING_SMALL_MEM
config RT_USING_MEMTRACE
bool "Enable memory trace"
default n
@@ -298,7 +297,6 @@ menu "Memory Management"
And developer also can call memcheck() in each of scheduling
to check memory block to find which thread has wrongly modified
memory.
-... |
BugID:17918353: Optimize the tasklist cmd to show real stack size and free size (bytes) | @@ -157,8 +157,8 @@ uint32_t dumpsys_task_func(char *buf, uint32_t len, int32_t detail)
: task->task_state;
taskinfoeach->task_state = taskstate;
taskinfoeach->task_prio = task->prio;
- taskinfoeach->stack_size = task->stack_size;
- taskinfoeach->free_size = free_size;
+ taskinfoeach->stack_size = task->stack_size * si... |
Avoid adding a spurious dependency on the fortran runtime despite NOFORTRAN=1
for cases where a fortran compiler is present but not wanted (e.g. not fully functional) | @@ -267,9 +267,10 @@ OBJCOPY = $(CROSS_SUFFIX)objcopy
OBJCONV = $(CROSS_SUFFIX)objconv
-# For detect fortran failed, only build BLAS.
+# When fortran support was either not detected or actively deselected, only build BLAS.
ifeq ($(NOFORTRAN), 1)
NO_LAPACK = 1
+override FEXTRALIB =
endif
#
|
sse: added WASM implementation for mm_andnot_ps | @@ -326,6 +326,8 @@ simde_mm_andnot_ps (simde__m128 a, simde__m128 b) {
#if defined(SIMDE_SSE_NEON)
r_.neon_i32 = vbicq_s32(b_.neon_i32, a_.neon_i32);
+#elif defined(SIMDE_SSE_WASM_SIMD128)
+ r_.wasm_v128 = wasm_v128_andnot(b_.wasm_v128, a_.wasm_v128);
#elif defined(SIMDE_VECTOR_SUBSCRIPT_OPS)
r_.i32 = ~a_.i32 & b_.i32... |
ps8xxx: Remove resolved TODO
This removes a resolved TODO. Based on
there is no
preferred order for writing these registers.
BRANCH=none
TEST=buidlall passes | @@ -736,9 +736,6 @@ __maybe_unused static int ps8815_tcpc_fast_role_swap_enable(int port,
if (!tcpm_tcpc_has_frs_control(port))
return EC_SUCCESS;
- /*
- * TODO(b/183127346): Confirm register write order
- */
status = tcpc_update8(port,
PS8815_REG_RESERVED_F4,
PS8815_REG_RESERVED_F4_FRS_EN,
|
doc: improves in highlevel README
see | @@ -4,7 +4,7 @@ This folder contains an example on how to use the high-level API.
The example is provided for CMake and pkg-config build systems, but you can use any build system you like, as long as you setup
your include directories and linked libraries correctly. The high-level API uses the same include directory as... |
khan: redo error logic
No more retries. If something goes wrong, log it and close the channel.
If we receive an unknown message from the vane, crash the process. | @@ -70,7 +70,6 @@ u3_khan_io_init(u3_pier* pir_u)
typedef struct _u3_chan {
struct _u3_moor mor_u; // message handler
c3_l coq_l; // connection number
- c3_w red_w; // retry counter
struct _u3_shan* san_u; // server backpointer
struct _u3_cran* ran_u; // request list
} u3_chan;
@@ -304,28 +303,10 @@ _khan_moor_bail(voi... |
weird issue where flash only works when DRIVER_NUM set to 27, hardcoded somewhere? | #include "tock.h"
-#define DRIVER_NUM_NONVOLATILE_STORAGE 0x50001
-
#ifdef __cplusplus
extern "C" {
#endif
+#define DRIVER_NUM_NONVOLATILE_STORAGE 0x1b
+
int nonvolatile_storage_internal_read_done_subscribe(subscribe_cb cb, void *userdata);
int nonvolatile_storage_internal_write_done_subscribe(subscribe_cb cb, void *us... |
fix(discord-adapter.c): check 429 response's 'global' field | @@ -135,20 +135,23 @@ discord_adapter_run(
logconf_fatal(&adapter->conf, "METHOD_NOT_ALLOWED: The server couldn't recognize the received HTTP method");
break;
case HTTP_TOO_MANY_REQUESTS: {
+ bool is_global = false;
char message[256] = "";
double retry_after = -1; /* seconds */
struct sized_buffer body = ua_info_get_re... |
fixup! build/configs: Fix all configs after uheap and protected build removal
This file was missing from commit
Because of changing heap management, some configs are renamed.
This commit updates defconfig for that. | @@ -21,8 +21,7 @@ CONFIG_APPS_DIR="../apps"
CONFIG_FRAMEWORK_DIR="../framework"
CONFIG_TOOLS_DIR="../tools"
CONFIG_BUILD_FLAT=y
-# CONFIG_BUILD_PROTECTED is not set
-CONFIG_FLASH_START_ADDR=0x0
+# CONFIG_APP_BINARY_SEPARATION is not set
# CONFIG_BUILD_2PASS is not set
#
@@ -217,9 +216,9 @@ CONFIG_BOOT_RUNFROMFLASH=y
#
... |
Fix typo in UpnpGlobal.h MYLIB_LARGEFILE_SENSITIVE -> UPNP_... | * \brief Defines constants that for some reason are not defined on some systems.
*/
-#if defined MYLIB_LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 != 64
+#if defined UPNP_LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 != 64
#if defined __GNUC__
#warning libupnp requires largefile mode - use AC_SYS_LARGEFILE
#else
|
Fix warning in custom event description label | @@ -449,7 +449,7 @@ class ScriptEventBlock extends Component {
{
label: customEvent.description
.split("\n")
- .map(text => <div>{text || <div> </div>}</div>)
+ .map((text, index) => <div key={index}>{text || <div> </div>}</div>)
}
]
: [];
|
ASE: added null pointer checking for received message | @@ -517,14 +517,14 @@ int read_fd(int sock_fd)
}
cmsg = CMSG_FIRSTHDR(&msg);
+ if (cmsg == NULL) {
+ ASE_ERR("SIM-C : Null pointer from rcvmsg socket\n");
+ return 1;
+ }
int vector_id = 0;
fdptr = (int *)CMSG_DATA(cmsg);
- if (fdptr == NULL) {
- ASE_ERR("SIM-C : null pointer from rcvmsg socket\n");
- return 1;
- }
if ... |
improve test-stress to run multiple iterations | @@ -19,6 +19,7 @@ terms of the MIT license.
// argument defaults
static int THREADS = 32; // more repeatable if THREADS <= #processors
static int N = 20; // scaling factor
+static int ITER = 10; // N full iterations re-creating all threads
// static int THREADS = 8; // more repeatable if THREADS <= #processors
// stati... |
Pacify perlcritic.
Per buildfarm. | # (The required minimum versions are all quite ancient now,
# but specify them anyway for documentation's sake.)
#
+use strict;
+use warnings;
+
use IPC::Run 0.79;
# Test::More and Time::HiRes are supposed to be part of core Perl,
|
Fix TCOD_tileset_render_to_surface.
The strides were not aligned correctly. | static void render_tile(
const TCOD_Tileset* tileset,
const struct TCOD_ConsoleTile* tile,
- const TCOD_ColorRGBA* out_rgba,
+ struct TCOD_ColorRGBA* out_rgba,
int stride)
{
const TCOD_ColorRGBA* graphic = TCOD_tileset_get_tile(tileset, tile->ch);
@@ -125,8 +125,10 @@ TCOD_Error TCOD_tileset_render_to_surface(
) { cont... |
Test NotStandalone handlers | @@ -1058,6 +1058,56 @@ START_TEST(test_wfc_undeclared_entity_with_external_subset) {
}
END_TEST
+/* Test that an error is reported if our NotStandalone handler fails */
+static int XMLCALL
+reject_not_standalone_handler(void *UNUSED_P(userData))
+{
+ return XML_STATUS_ERROR;
+}
+
+START_TEST(test_not_standalone_handler... |
[numerics] remove unstable test fc3d__NSGS_ONECONTACT_NSN_GP_Tol_1e-5_Max_100000_inTol_0_inMax_0_BoxesStack1-i100000-32.hdf5__EXPECTED_TO_FAIL | @@ -613,10 +613,10 @@ if(WITH_${COMPONENT}_TESTING)
WILL_FAIL)
# BoxesStack1-i100000-32.hdf5.dat
- NEW_FC_3D_TEST(BoxesStack1-i100000-32.hdf5.dat
- SICONOS_FRICTION_3D_NSGS 1e-5 100000
- SICONOS_FRICTION_3D_ONECONTACT_NSN_GP 0 0
- WILL_FAIL)
+ # NEW_FC_3D_TEST(BoxesStack1-i100000-32.hdf5.dat
+ # SICONOS_FRICTION_3D_NSG... |
config: enable ACVP test case if FIPS is enabled. | @@ -532,7 +532,6 @@ my %deprecated_disablables = (
our %disabled = ( # "what" => "comment"
"fips" => "default",
- "acvp-tests" => "default",
"asan" => "default",
"buildtest-c++" => "default",
"crypto-mdebug" => "default",
@@ -638,7 +637,7 @@ my @disable_cascades = (
"cmp" => [ "crmf" ],
- "fips" => [ "fips-securitychec... |
tests CHANGE enhance test of features compilation | @@ -139,14 +139,15 @@ test_feature(void **state)
"feature f4 {if-feature \"f1 or f2\";}\n"
"feature f5 {if-feature \"f1 and f2\";}\n"
"feature f6 {if-feature \"not f1\";}\n"
- "feature f7 {if-feature \"(f2 and f3) or (not f1)\";}}";
+ "feature f7 {if-feature \"(f2 and f3) or (not f1)\";}\n"
+ "feature f8 {if-feature \"... |
ConnectionFX3: add handle check to send functions
also return true in wait functions if handle is invalid or not used
as there is nothing to wait for | @@ -496,7 +496,7 @@ int ConnectionFX3::BeginDataReading(char *buffer, uint32_t length, int ep)
@brief Waits for asynchronous data reception
@param contextHandle handle of which context data to wait
@param timeout_ms number of miliseconds to wait
- @return 1-data received, 0-data not received
+@return true - wait finish... |
Use C locale in Bash scripts.
Fixes openssl#17228. | # This is the most shell agnostic way to specify that POSIX rules.
POSIXLY_CORRECT=1
+# Force C locale because some commands (like date +%b) relies
+# on the current locale.
+export LC_ALL=C
+
usage () {
cat <<EOF
Usage: release.sh [ options ... ]
|
Initialize variable private | @@ -4660,7 +4660,7 @@ neat_write_to_lower_layer(struct neat_ctx *ctx, struct neat_flow *flow,
size_t len;
int atomic;
#ifdef NEAT_SCTP_DTLS
- struct security_data *private;
+ struct security_data *private = NULL;
#endif
int stream_id = 0;
|
Add ciphersuite_info check
return null if no valid ciphersuite info | @@ -188,6 +188,24 @@ static int ssl_tls13_offered_psks_check_binder_match( mbedtls_ssl_context *ssl,
return( SSL_TLS1_3_OFFERED_PSK_NOT_MATCH );
}
+static const mbedtls_ssl_ciphersuite_t *ssl_tls13_get_ciphersuite_info_by_id(
+ mbedtls_ssl_context *ssl,
+ uint16_t cipher_suite )
+{
+ const mbedtls_ssl_ciphersuite_t *ci... |
os/binfmt/libelf/libelf_cache.c: Add check for minimum blocks for caching
Minimum 2 blocks are needed for caching logic to work. | @@ -478,6 +478,11 @@ int elf_cache_init(int filfd, uint16_t offset, off_t filelen, uint8_t compressio
number_blocks_caching++;
}
+ /* Minimum 2 blocks needed for caching logic to work */
+ if (number_blocks_caching < 2) {
+ number_blocks_caching = 2;
+ }
+
/* Initialize max_accesed_count to 0 */
max_accessed_count = 0;... |
Adjusted alphabetical order | @@ -6009,10 +6009,10 @@ modules:
sceLsdbGetGameDataId: 0x2FFE0E3F
sceLsdbGetMetaContentsPath: 0x9117289F
sceLsdbGetName: 0xD02A8B85
+ sceLsdbGetOriginalPath: 0x92D14842
sceLsdbGetParentalLevel: 0x226B12F7
sceLsdbGetSelfPath: 0xD6B57313
sceLsdbGetSystemVersion: 0x9AE94B9F
sceLsdbGetStitle: 0x3B064DF5
sceLsdbGetTitle: 0x... |
[swig] Accept numpy integers for any integer argument | @@ -155,6 +155,48 @@ static inline void fillBasePyarray(PyObject* pyarray, SharedPointerKeeper* saved
$1 = (PyArrayObject*) $input;
}
+//////////////////////////////////////////////////////////////////////////////
+// allow integers to be numpy types
+%{
+static int
+Siconos_AsVal_int (PyObject *obj, int* val)
+{
+#if ... |
Minor fix to iOS build script, when pushing SPM, push all tags to remote | @@ -273,7 +273,7 @@ def buildIOSPackage(args, buildCocoapod, buildSwiftPackage):
print('pod trunk push\n')
if buildSwiftPackage:
spmPackageName = "mobile-sdk-ios-metal-swift-package" if args.metalangle else "mobile-sdk-ios-swift-package"
- print('rm -rf %s\ngit clone git@github.com:nutiteq/%s\ncp Package.swift %s\ncd %... |
[tools] allow users to set specific link scripts. | @@ -291,6 +291,7 @@ def HandleToolOption(tools, env, project, reset):
listOptionValue = option.find('listOptionValue')
if listOptionValue != None:
+ if reset is True or IsRttEclipsePathFormat(listOptionValue.get('value')):
listOptionValue.set('value', linker_script)
else:
SubElement(option, 'listOptionValue', {'builtIn... |
readme: update ci badges url | | CI Workflow | Status |
|-------------------|--------------------|
-| Unit Tests (master) |  |
-| Integration Tests (master) | 
{
- for (int i = 0; i < MAX_THREADS; i++)
+ int i;
+
+ for (i = 0; i < MAX_THREADS; i++)
magic_cookie[i] = NULL;
return ERROR_SUCCESS;
@@ -130,7 +132,9 @@ int module_initialize(
int module_finalize(
YR_MODULE* module)
{
- for (int i = 0; i ... |
Allow isolation2 to take additional pg_regress options. | @@ -56,7 +56,7 @@ clean distclean:
install: all gpdiff.pl gpstringsubs.pl
installcheck: install
- ./pg_isolation2_regress --init-file=$(top_builddir)/src/test/regress/init_file --init-file=./init_file_isolation2 --psqldir='$(PSQLDIR)' --inputdir=$(srcdir) --ao-dir=uao --schedule=$(srcdir)/isolation2_schedule
+ ./pg_iso... |
iommu: retype with the correct object size | @@ -261,21 +261,29 @@ static void retype_request(struct iommu_binding *ib, struct capref src,
err = invoke_frame_identify(src, &id);
if (err_is_fail(err)) {
+ err = err_push(err, LIB_ERR_CAP_INVOKE);
goto send_reply;
}
/* we should be the only one that has it */
err = cap_revoke(src);
if (err_is_fail(err)) {
+ err = er... |
temp: fix balance issue | @@ -37,13 +37,14 @@ export default class Balance extends Component {
CAD: 70000,
BTC: 1,
},
- denomination: "CAD",
+ denomination: "USD",
}
}
render() {
- const sats = this.props.state.wallet.balance || 0;
+ const sats = (this.props.state.wallet) ?
+ (this.props.state.wallet.balance || 0) : 0;
const value = currencyFor... |
imx6ull: fix indentation in memory test makefile
JIRA: | @@ -273,6 +273,7 @@ int test_ddrAll(void)
}
+#ifdef MEMTEST_SHORT
static void test_ddrShort(void)
{
int errors;
@@ -283,6 +284,7 @@ static void test_ddrShort(void)
test_ddrPrintUint(errors);
test_ddrPutch('\n');
}
+#endif
void test_ddr(void)
|
Remove duplicated qlog parameters_set | @@ -984,10 +984,6 @@ int ngtcp2_conn_client_new(ngtcp2_conn **pconn, const ngtcp2_cid *dcid,
return rv;
}
- ngtcp2_qlog_parameters_set_transport_params(
- &(*pconn)->qlog, &(*pconn)->local.settings.transport_params,
- (*pconn)->server, NGTCP2_QLOG_SIDE_LOCAL);
-
return 0;
}
|
set new version number | @@ -31,7 +31,7 @@ USE work.donut_types.all;
ENTITY mmio IS
GENERIC (
-- Version register content
- IMP_VERSION_DAT : std_ulogic_vector(63 DOWNTO 0) := x"0000_4650_1612_0600";
+ IMP_VERSION_DAT : std_ulogic_vector(63 DOWNTO 0) := x"0000_4650_1701_1000";
APP_VERSION_DAT : std_ulogic_vector(63 DOWNTO 0) := x"CAFE_0003_475... |
ARIA documentation titled itself AES | @@ -32,7 +32,7 @@ EVP_aria_256_ccm,
EVP_aria_128_gcm,
EVP_aria_192_gcm,
EVP_aria_256_gcm,
-- EVP AES cipher
+- EVP ARIA cipher
=head1 SYNOPSIS
@@ -106,7 +106,7 @@ L<EVP_CIPHER_meth_new(3)>
=head1 COPYRIGHT
-Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2017-2019 The OpenSSL Project Au... |
vere: v0.10.9-rc1 | set -e
-URBIT_VERSION="0.10.8"
+URBIT_VERSION="0.10.9-rc1"
deps=" \
curl gmp sigsegv argon2 ed25519 ent h2o scrypt uv murmur3 secp256k1 \
|
added informations about hcxdudmptool and mac80211_hwsim | +08.01.2019
+==========
+hcxdudmptool and mac80211_hwsim
+mac80211_hwsim is a Linux kernel module that can be used to simulate
+arbitrary number of IEEE 802.11 radios for mac80211. It can be used to
+test hcxdumptool:
+load module:
+$ sudo modprobe mac80211_hwsim
+
+run hcxdumptool to retrieve informations about the in... |
[io, vview] fix unhashable type error, dynamic_actors.keys() to list | @@ -1479,7 +1479,7 @@ class VView(object):
actor.VisibilityOff()
def set_dynamic_actors_visibility(self, time):
- self.set_visibility_v(self.dynamic_actors.keys(), time)
+ self.set_visibility_v(list(self.dynamic_actors.keys()), time)
# callback maker for scale manipulation
def make_scale_observer(self, glyphs):
|
plugins ext UPDATE print message on failed ext callback | @@ -664,10 +664,15 @@ lyplg_ext_parsed_get_storage(const struct lysc_ext_instance *ext, int stmt, uint
LIBYANG_API_DEF LY_ERR
lyplg_ext_get_data(const struct ly_ctx *ctx, const struct lysc_ext_instance *ext, void **ext_data, ly_bool *ext_data_free)
{
+ LY_ERR rc;
+
if (!ctx->ext_clb) {
lyplg_ext_compile_log(NULL, ext, ... |
Update test_dictionary to include check for ion_open_dictionary functionality | @@ -251,11 +251,14 @@ test_dictionary_master_table(
PLANCK_UNIT_ASSERT_INT_ARE_EQUAL(tc, err_ok, err);
/* Test open dictionary */
+
ion_dictionary_handler_t test_handler;
- err = ion_open_dictionary(&handler, &dictionary2, 2);
+ err = ion_open_dictionary(&test_handler, &dictionary2, 2);
PLANCK_UNIT_ASSERT_INT_ARE_EQUAL... |
Stylecheck for plgo/cmd/ | @@ -521,7 +521,6 @@ migrations:
- a.yandex-team.ru/strm/gorshok/pkg/content/parsers_test
- a.yandex-team.ru/strm/gorshok/pkg/sandbox
- a.yandex-team.ru/strm/gorshok/pkg/server
- - a.yandex-team.ru/strm/plgo/cmd/strm-playlist
- a.yandex-team.ru/strm/plgo/pkg/algorithm
- a.yandex-team.ru/strm/plgo/pkg/algorithm_test
- a.... |
fix error in yml script | @@ -102,12 +102,6 @@ docker-build:archlinux-oce:
IMAGE_NAME: archlinux-oce
extends: .docker-build
-docker-clean:
- stage: docker-clean
- script: "sh ci_gitlab/docker-clean-images.sh"
-
-
-
# ---- Siconos build jobs -----
# Siconos build and install, default config
|
Update RP2 build instructions to use upstream | @@ -275,21 +275,18 @@ make erase && make deploy
```
### RP2-based boards
-Building `micropython` with `ulab` currently requires Pimoroni's [micropython fork](https://github.com/pimoroni/micropython/tree/continuous-integration).
+RP2 firmware can be compiled either by downloading and running the single [build script](ht... |
One more change for papplSystemLoadState bug - strip trailing ">" from
"<something value(s)>". Easiest fix was to provide a local implementation of
cupsFileGetConf that doesn't support comments (Issue | static void parse_contact(char *value, pappl_contact_t *contact);
static void parse_media_col(char *value, pappl_media_col_t *media);
+static char *read_line(cups_file_t *fp, char *line, size_t linesize, char **value, int *linenum);
static void write_contact(cups_file_t *fp, pappl_contact_t *contact);
static void write... |
Set other define for SCTP | @@ -4564,7 +4564,7 @@ neat_connect(struct neat_he_candidate *candidate, uv_poll_cb callback_fx)
address_name = strtok_r(NULL, ",", &ptr);
}
free (tmp);
-#if defined(IPPROTO_SCTP) && !defined (USRSCTP_SUPPORT)
+#if defined(HAVE_NETINET_SCTP_H) && !defined (USRSCTP_SUPPORT)
if (sctp_bindx(candidate->pollable_socket->fd, ... |
Fix unused variable in QUIC send stream test | @@ -210,7 +210,7 @@ static int test_bulk(int idx)
QUIC_SSTREAM *sstream = NULL;
OSSL_QUIC_FRAME_STREAM hdr;
OSSL_QTX_IOVEC iov[2];
- size_t i, num_iov = 0, init_size = 8192, total_written = 0, l;
+ size_t i, num_iov = 0, init_size = 8192, l;
size_t consumed = 0, rd, expected = 0;
unsigned char *src_buf = NULL, *dst_buf... |
build CHANGE force out-of-source build
Avoid possibility to mix generated (config) files with source files
and force user to always build libyang out of its source codes. | cmake_minimum_required(VERSION 2.8.12)
+
+# force out-of-source build
+if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
+ message(FATAL_ERROR "In-source build is not allowed. Please make a standalone build directory and run CMake from there. You may need to remove CMakeCache.txt.")
+endif()
+
project(libyang C)
inc... |
ci: create csv-formatted bandit log artifact | @@ -32,6 +32,9 @@ jobs:
bandit -r $(find ${{ github.workspace }} -name "*.py") \
--format txt \
| tee ${{ github.workspace }}/bandit.log
+ bandit -r $(find ${{ github.workspace }} -name "*.py") \
+ --format csv \
+ | tee ${{ github.workspace }}/bandit.log.csv
- name: Archive results
uses: actions/upload-artifact@v2
wit... |
Remove unused /describe REST endpoint | @@ -1025,9 +1025,6 @@ parse_request(int sd, struct stats_cmd *st_cmd)
} else if (strcmp(reqline[1], "/ping") == 0) {
st_cmd->cmd = CMD_PING;
return;
- } else if (strcmp(reqline[1], "/describe") == 0) {
- st_cmd->cmd = CMD_DESCRIBE;
- return;
} else if (strncmp(reqline[1], "/setloglevel", dn_strlen("/setloglevel")) == 0... |
docs/esp8266: Add note about simultaneous use of STA_IF and AP_IF.
See also | @@ -125,6 +125,16 @@ will overflow every 7:45h. If a long-term working RTC time is required then
``time()`` or ``localtime()`` must be called at least once within 7 hours.
MicroPython will then handle the overflow.
+Simultaneous operation of STA_IF and AP_IF
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Simultaneous o... |
Clean redis-benchmark Throughput output.
some leftovers from print are visible when the new line is printed. | @@ -1649,6 +1649,7 @@ int showThroughput(struct aeEventLoop *eventLoop, long long id, void *clientData
const float instantaneous_rps = (float)(requests_finished-previous_requests_finished)/instantaneous_dt;
config.previous_tick = current_tick;
atomicSet(config.previous_requests_finished,requests_finished);
+ printf("%*... |
Switched changelogs to packaging alias instead of personal emails. | unit-jsc14 unit-jsc15 unit-jsc16 unit-jsc17 unit-jsc18"
ver="1.28.0" rev="1"
date="" time=""
- packager="Konstantin Pavlov <thresh@nginx.com>">
+ packager="Nginx Packaging <nginx-packaging@f5.com>">
<change>
<para>
@@ -29,7 +29,7 @@ NGINX Unit updated to 1.28.0.
<changes apply="unit" ver="1.28.0" rev="1"
da... |
CC1200: disable debug by default | @@ -60,7 +60,7 @@ static rtimer_clock_t sfd_timestamp = 0;
* - 2: Print errors + warnings (recoverable errors)
* - 3: Print errors + warnings + information (what's going on...)
*/
-#define DEBUG_LEVEL 2
+#define DEBUG_LEVEL 0
/*
* RF test mode. Blocks inside "configure()".
* - Set this parameter to 1 in order to produc... |
MicroPython: Update GU to MP_DEFINE_CONST_OBJ_TYPE. | @@ -94,6 +94,25 @@ STATIC MP_DEFINE_CONST_DICT(Channel_locals_dict, Channel_locals_dict_table);
STATIC MP_DEFINE_CONST_DICT(GalacticUnicorn_locals_dict, GalacticUnicorn_locals_dict_table);
/***** Class Definition *****/
+#ifdef MP_DEFINE_CONST_OBJ_TYPE
+MP_DEFINE_CONST_OBJ_TYPE(
+ Channel_type,
+ MP_QSTR_Channel,
+ MP_... |
If parameter pErrorlogs is NULL return error. | @@ -7603,7 +7603,7 @@ GetErrorLog(
NVDIMM_ENTRY();
- if (pThis == NULL || pCommandStatus == NULL || pErrorLogCount == NULL ||
+ if (pThis == NULL || pCommandStatus == NULL || pErrorLogCount == NULL || pErrorLogs == NULL ||
(pDimmIds == NULL && DimmsCount > 0)) {
ResetCmdStatus(pCommandStatus, NVM_ERR_INVALID_PARAMETER)... |
kdb merge man: Fix return value syntax | @@ -42,11 +42,14 @@ Strategies have their own [man page](/doc/help/elektra-cmerge-strategy.md) which
## RETURN VALUE
-0 on success.
+- 0:
+ Successful.
-1 if an error happened.
+- 1:
+ An error happened.
-2 if a merge conflict occurred and merge strategy abort was set.
+- 2:
+ A merge conflict occurred and merge strate... |
pg: bugfix for pg paylod hdr-size
it was specified to 0 after
causes unformat_pg_ip4_header to wrongly set ip header len.
do more check when assigning e->lsb_bit_offset to avoid
negative value | @@ -167,13 +167,13 @@ unformat_pg_payload (unformat_input_t * input, va_list * args)
for (i = 0; i < len; i++)
v[i] = i % ilen;
- e = pg_create_edit_group (s, sizeof (e[0]), 0, 0);
+ e = pg_create_edit_group (s, sizeof (e[0]), len, 0);
e->type = PG_EDIT_FIXED;
- e->n_bits = vec_len (v) * BITS (v[0]);
+ e->n_bits = len ... |
esp32s2: remove bt references from esp32s2 ld script | @@ -190,14 +190,6 @@ SECTIONS
.dram0.data :
{
_data_start = ABSOLUTE(.);
- _bt_data_start = ABSOLUTE(.);
- *libbt.a:(.data .data.*)
- . = ALIGN (4);
- _bt_data_end = ABSOLUTE(.);
- _btdm_data_start = ABSOLUTE(.);
- *libbtdm_app.a:(.data .data.*)
- . = ALIGN (4);
- _btdm_data_end = ABSOLUTE(.);
*(.gnu.linkonce.d.*)
*(.d... |
tests: runtime: filter_lua: add test code for 'code' | @@ -511,6 +511,79 @@ void flb_test_array_contains_null(void)
flb_destroy(ctx);
}
+void flb_test_code(void)
+{
+ int ret;
+ flb_ctx_t *ctx;
+ int in_ffd;
+ int out_ffd;
+ int filter_ffd;
+ char *output = NULL;
+ char *input = "[0, {\"key\":\"val\"}]";
+ char *result;
+ struct flb_lib_out_cb cb_data;
+
+ char *script_bod... |
Add boostrap debugging in test for node loader. | @@ -6,6 +6,7 @@ const trampoline = require('./trampoline.node');
const Module = require('module');
const path = require('path');
+const util = require('util');
const cherow = require('./node_modules/cherow');
@@ -197,8 +198,12 @@ function node_loader_trampoline_discover(handle) {
return discover;
}
-function node_loade... |
Fixed error in POP AF instruction reference
The "imaginary" equivalent instructions put the instructions in the wrong order (inc sp first). | @@ -1142,10 +1142,10 @@ This is roughly equivalent to the following
.Em imaginary
instructions:
.Bd -literal -offset indent
+ld f, [sp] ; See below for individual flags
inc sp
ld a, [sp]
inc sp
-ld f, [sp] ; See below for individual flags
.Ed
.Pp
Cycles: 3
|
Add copies-default, finishings[-col]-default, and number-up-default. | @@ -136,6 +136,36 @@ serverTransformJob(
if (format && asprintf(myenvp + myenvc, "OUTPUT_TYPE=%s", format) > 0)
myenvc ++;
+ if ((attr = ippFindAttribute(job->printer->dev_attrs, "copies-default", IPP_TAG_INTEGER)) == NULL)
+ attr = ippFindAttribute(job->printer->pinfo.attrs, "copies-default", IPP_TAG_INTEGER);
+ if (a... |
Fix "--list" callback for mainloop. | static char *copy_stdin(const char *base_name, char *name, size_t namesize);
static void device_error_cb(const char *message, void *err_data);
-static bool device_list_cb(const char *device_uri, const char *device_id, void *data);
+static bool device_list_cb(const char *device_info, const char *device_uri, const char *... |
esp32_qencoder: Fix small issues and typos reported by Tiago Medicci | @@ -188,7 +188,7 @@ static struct esp32_lowerhalf_s *esp32_pcnt2lower(int pcnt);
/* Interrupt handling */
-#if 0 /* FIXME: To be implement */
+#if 0 /* FIXME: To be implemented */
static int esp32_interrupt(int irq, void *context, void *arg);
#endif
@@ -525,7 +525,7 @@ static struct esp32_lowerhalf_s *esp32_pcnt2lower(... |
Examples: remove warning | @@ -84,7 +84,7 @@ int main(int argc, char* argv[])
sprintf(key_name, "/verticalSoundingSignificance=4/pressure");
CODES_CHECK(codes_get_size(h, key_name, &sigt_len), 0);
- printf("Number of T significant levels: %lu\n", sigt_len);
+ printf("Number of T significant levels: %lu\n", (unsigned long)sigt_len);
/* Allocate m... |
Update CHANGES.md and NEWS.md for new release
Release: yes | @@ -30,7 +30,13 @@ OpenSSL 3.1
OpenSSL 3.0
-----------
-### Major changes between OpenSSL 3.0.2 and OpenSSL 3.0.3
+### Major changes between OpenSSL 3.0.3 and OpenSSL 3.0.4 [21 Jun 2022]
+
+ * Fixed additional bugs in the c_rehash script which was not properly
+ sanitising shell metacharacters to prevent command inject... |
fix(layout): "left: auto" is calculated as "left: 0" | @@ -848,18 +848,18 @@ void Widget_UpdatePosition(LCUI_Widget w)
switch (position) {
case SV_ABSOLUTE:
w->x = w->y = 0;
- if (Widget_CheckStyleValid(w, key_left)) {
+ if (!Widget_HasAutoStyle(w, key_left)) {
w->x = w->computed_style.left;
- } else if (Widget_CheckStyleValid(w, key_right)) {
+ } else if (!Widget_HasAutoS... |
build: only exclude debug symbols on m1 | @@ -14,6 +14,12 @@ let
version = builtins.readFile "${src}/version";
+ # See https://github.com/urbit/urbit/issues/5561
+ oFlags =
+ if stdenv.hostPlatform.system == "aarch64-darwin"
+ then (if enableDebug then [ "-O0" "-g" ] else [ "-O3" ])
+ else [ (if enableDebug then "-O0" else "-O3") "-g" ];
+
in stdenv.mkDerivati... |
BugID:24843276:Updated halapp_dac demo to support two ADCs if possible | */
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <aos/kernel.h>
#include "aos/init.h"
#include "aos/hal/adc.h"
/**
* Convert Analog to Digital, and print out the result
*/
-void hal_adc_app_out(void)
+
+static void adc_app_out(uint8_t port)
{
- uint16_t val;
+ uint32_t val[2];
adc_dev_t adc_dev;
... |
Suppress over-eager compiler warnings in test code | #include <stdint.h>
+#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunreachable-code"
+#endif
/* END_HEADER */
/* BEGIN_CASE */
@@ -109,7 +111,7 @@ void mbedtls_byteswap( unsigned int input_h, unsigned int input_l, int size,
uint64_t expected = ( ((uint64_t)expected_h) << 32 ) | ( (uint64_t)expected_l );
/*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.