message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
DotNetTools: Fix assembly menu ignoring FileBrowseExecutable settings | @@ -524,7 +524,13 @@ VOID DotNetAsmShowContextMenu(
{
if (!PhIsNullOrEmptyString(node->PathText) && PhDoesFileExistsWin32(PhGetString(node->PathText)))
{
- PhShellExploreFile(Context->WindowHandle, node->PathText->Buffer);
+ PhShellExecuteUserString(
+ Context->WindowHandle,
+ L"FileBrowseExecutable",
+ node->PathText-... |
correct error reporting on python text compilation
The exception raised in the BPF class constructor assumed
that the "src_file" argument was used to pass eBPF code -
this is not the case for many of the tools scripts, which
tend to use "text". | @@ -287,6 +287,8 @@ class BPF(object):
if text:
self.module = lib.bpf_module_create_c_from_string(text.encode("ascii"),
self.debug, cflags_array, len(cflags_array))
+ if not self.module:
+ raise Exception("Failed to compile BPF text:\n%s" % text)
else:
src_file = BPF._find_file(src_file)
hdr_file = BPF._find_file(hdr_f... |
Attempt to fix travis gcc build error | @@ -208,7 +208,7 @@ static void log_printf(ngtcp2_log *log, const char *fmt, ...) {
return;
}
- write(log->fd, buf, (size_t)n);
+ (void)write(log->fd, buf, (size_t)n);
}
static void log_fr_stream(ngtcp2_log *log, const ngtcp2_pkt_hd *hd,
|
Refine test to account for negative memory pool values. | @@ -589,16 +589,20 @@ void fio_malloc_test(void) {
#endif
++count;
} while (arena_last_used->block == b);
+ {
+ intptr_t old_memory_pool_count = memory.count;
fio_free(mem);
- fprintf(stderr,
+ fprintf(
+ stderr,
"* Performed %zu allocations out of expected %zu allocations per "
"block.\n",
count,
(size_t)((FIO_MEMORY_... |
OSX: Install octave via brew. | @@ -31,7 +31,8 @@ pushd "$DEPS_DIR"
python
brew install \
lua \
- mono
+ mono \
+ octave
fi
if [ "$CIRCLECI" == "true" ]; then
sudo apt-get -qq update
|
Use stdint version of veci16_t instead of creating a new typedef | #include <stdint.h>
-typedef int _veci16_t __attribute__((__vector_size__(16 * sizeof(int))));
-
void* memset(void *_dest, int value, unsigned int length)
{
char *dest = (char*) _dest;
@@ -28,11 +26,11 @@ void* memset(void *_dest, int value, unsigned int length)
if ((((unsigned int) dest) & 63) == 0)
{
// Write 64 byte... |
improvement on handling PMKIDs calculated using zeroed PMK | @@ -1020,6 +1020,8 @@ static void addpmkid(uint8_t *macclient, uint8_t *macap, uint8_t *pmkid)
static pmkidlist_t *pmkidlistnew;
pmkidcount++;
+if(testzeroedpmkid(macclient, macap, pmkid) == false)
+ {
if(pmkidlistptr >= pmkidlist +pmkidlistmax)
{
pmkidlistnew = realloc(pmkidlist, (pmkidlistmax +PMKIDLIST_MAX) *PMKIDLI... |
ci: copy in tests prior to urbit-tests
Tests were moved out of pkg/arvo and into root,
but we still want them in for CI tests. | @@ -157,7 +157,10 @@ jobs:
exit $exitcode
- if: ${{ matrix.os == 'ubuntu-latest' }}
- run: nix-build -A urbit-tests
+ name: run urbit-tests
+ run: |
+ cp -RL tests pkg/arvo/tests
+ nix-build -A urbit-tests
- if: ${{ matrix.os == 'ubuntu-latest' }}
run: nix-build -A docker-image
|
corrected AddressSpaceId | @@ -1024,7 +1024,7 @@ AcpiFadtEnableReset (
//
// Resetting through port 0xCF9 is universal on Intel and AMD.
//
- Context->Fadt->ResetReg.AddressSpaceId = EFI_ACPI_6_2_SYSTEM_MEMORY;
+ Context->Fadt->ResetReg.AddressSpaceId = EFI_ACPI_6_2_SYSTEM_IO;
Context->Fadt->ResetReg.RegisterBitWidth = 8;
Context->Fadt->ResetReg... |
[bsp][stm32l476-nucleo] change default RTT_DIR to ../.. | @@ -8,7 +8,7 @@ config $BSP_DIR
config $RTT_DIR
string
option env="RTT_ROOT"
- default: "rt-thread"
+ default: "../.."
# you can change the RTT_ROOT default: "rt-thread"
# example : default "F:/git_repositories/rt-thread"
|
fs/vfs: Remove the redundancy file name comparison in mountptrename | @@ -310,7 +310,17 @@ static int mountptrename(FAR const char *oldpath, FAR struct inode *oldinode,
goto errout_with_newinode;
}
- /* Does a directory entry already exist at the 'rewrelpath'? And is it
+ /* If oldrelpath and newrelpath are the same, then this is an attempt
+ * to move the directory entry onto itself. Le... |
regex: fix pattern length | @@ -63,7 +63,7 @@ static int str_to_regex(unsigned char *pattern, OnigRegex *reg)
int len;
OnigErrorInfo einfo;
- len = strlen((char *) pattern) - 1;
+ len = strlen((char *) pattern);
ret = onig_new(reg, pattern, pattern + len,
ONIG_OPTION_DEFAULT,
ONIG_ENCODING_UTF8, ONIG_SYNTAX_RUBY, &einfo);
|
Updated AOMP nomenclature to be uniform - all caps | @@ -107,7 +107,7 @@ Build and install from sources is possible. However, the source build for AOMP
- It is a bootstrapped build. The built and installed LLVM compiler is used to build library components.
- Additional package dependencies are required that are not required when installing the AOMP package.
-Building aom... |
add ubuntu-20.04 to bcc-test.yml
resending | @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [ubuntu-18.04] # 18.04.3 release has 5.0.0 kernel
+ os: [ubuntu-18.04, ubuntu-20.04] # 18.04.3 release has 5.0.0 kernel
env:
- TYPE: Debug
PYTHON_TEST_LOGFILE: critical.log
|
Update ntrtl.h types | @@ -4562,6 +4562,12 @@ typedef struct _RTL_BITMAP
PULONG Buffer;
} RTL_BITMAP, *PRTL_BITMAP;
+typedef struct _RTL_BITMAP_EX
+{
+ ULONG64 SizeOfBitMap;
+ PULONG64 Buffer;
+} RTL_BITMAP_EX, *PRTL_BITMAP_EX;
+
NTSYSAPI
VOID
NTAPI
|
Aligned ocf_volume
Force cacheline alignment to avoid cacheline trashing on static fields | @@ -33,7 +33,7 @@ struct ocf_volume {
/* true if reading discarded pages returns 0 */
} features;
struct ocf_refcnt refcnt;
-};
+} __attribute__((aligned(64)));
int ocf_volume_type_init(struct ocf_volume_type **type,
const struct ocf_volume_properties *properties,
|
Fix migrating old projects containing scenes with mismatching width/height values to their images | @@ -27,6 +27,7 @@ const migrateProject = project => {
version = "1.2.0";
}
if (version === "1.2.0") {
+ data = migrateFrom120To200Scenes(data);
data = migrateFrom120To200Actors(data);
data = migrateFrom120To200Events(data);
version = "2.0.0";
@@ -253,6 +254,27 @@ const migrateFrom110To120Events = data => {
};
};
+/*
+ ... |
papi: fix typo in repr
Reported by Vratko's review.
(Thanks for the review)
Fixes:
Type: fix | @@ -272,7 +272,7 @@ class FixedList(Packer):
return result, total
def __repr__(self):
- return "FixedList_(name=%s, field_type=%s, num=%s)" % (
+ return "FixedList(name=%s, field_type=%s, num=%s)" % (
self.name, self.field_type, self.num)
|
Validate parser parameter to XML_SetUserData | @@ -1319,6 +1319,8 @@ XML_SetReturnNSTriplet(XML_Parser parser, int do_nst)
void XMLCALL
XML_SetUserData(XML_Parser parser, void *p)
{
+ if (parser == NULL)
+ return;
if (handlerArg == userData)
handlerArg = userData = p;
else
|
Trying to work around an issue with Azure and install of automake. | @@ -86,7 +86,8 @@ macOS_automake_exists() {
macOS_automake_install() {
echo "Installing automake."
brew install automake
- if [ $? = 0 ]; then
+ # if [ $? = 0 ]; then
+ if automake --version &>/dev/null; then
echo "Installation of automake successful."
else
echo "Installation of automake failed."
|
stats cachedump: always dump COLD LRU
was defaulting to HOT, but HOT can be empty pretty easily and this can be
confusing. | @@ -563,7 +563,6 @@ int do_item_replace(item *it, item *new_it, const uint32_t hv) {
* The data could possibly be overwritten, but this is only accessing the
* headers.
* It may not be the best idea to leave it like this, but for now it's safe.
- * FIXME: only dumps the hot LRU with the new LRU's.
*/
char *item_cachedu... |
enable NF_TABLES | @@ -266,10 +266,17 @@ CONFIG_USB_NET_HUAWEI_CDC_NCM=m
CONFIG_USB_NET_QMI_WWAN=m
CONFIG_NAMESPACES=y
CONFIG_NETFILTER=y
+CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_NETFILTER_XT_MATCH_STATE=m
CONFIG_NF_CONNTRACK=m
-CONFIG_NF_NAT_IPV4=m
+CONFIG_NF_TABLES=m
+CONFIG_NF_TABLES_IPV4=y
+CONFIG_NFT_... |
leap: fix ref regression | @@ -100,8 +100,10 @@ export function Omnibox(props: OmniboxProps): ReactElement {
}
Mousetrap.bind('escape', props.toggle);
const touchstart = new Event('touchstart');
- inputRef?.current?.dispatchEvent(touchstart);
- inputRef?.current?.focus();
+ // @ts-ignore
+ inputRef?.current?.input?.dispatchEvent(touchstart);
+ /... |
fix(hal): remove extra include of "../draw/sdl/lv_draw_sdl.h" | #include "../core/lv_theme.h"
#include "../draw/sdl/lv_draw_sdl.h"
#include "../draw/sw/lv_draw_sw.h"
-#include "../draw/sdl/lv_draw_sdl.h"
#if LV_USE_GPU_STM32_DMA2D
#include "../draw/stm32_dma2d/lv_gpu_stm32_dma2d.h"
#endif
@@ -574,7 +573,7 @@ lv_disp_rot_t lv_disp_get_rotation(lv_disp_t * disp)
{
if(disp == NULL) di... |
CI: Set `CTEST_OUTPUT_ON_FAILURE` environment variable. | @@ -7,6 +7,9 @@ jobs:
name: ${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.version }}
runs-on: ${{ matrix.config.os }}-latest
+ env:
+ CTEST_OUTPUT_ON_FAILURE: ON
+
strategy:
fail-fast: false
matrix:
|
README.md: Don't advertise meta-oe dependency
The dependencies to the meta-openembedded layers are handled through
dynamic layers so there is no need to advertise this in the
documentation. Especially that the layer configuration doesn't set that
either. | @@ -39,11 +39,6 @@ This layer depends on:
* branch: master
* revision: HEAD
-* URI: git://git.openembedded.org/meta-openembedded
- * layers: meta-oe, meta-multimedia, meta-networking, meta-python
- * branch: master
- * revision: HEAD
-
## Quick Start
1. source poky/oe-init-build-env rpi-build
|
Add warning about unsupported chacha and schannel | @@ -85,6 +85,8 @@ reg.exe add "HKLM\System\CurrentControlSet\Services\MsQuic\Parameters" /v Initia
## Windows
+> **Important** - ChaCha20-Poly1305 is not yet supported with MsQuic and Schannel, so this doesn't do anything yet.
+
By default, the new cipher suite `TLS_CHACHA20_POLY1305_SHA256` is disabled. It can be enab... |
IPv6 NS/RS; do not vec_validate global structs in the DP | @@ -1558,13 +1558,15 @@ icmp6_router_solicitation (vlib_main_t * vm,
sizeof (icmp6_neighbor_discovery_header_t));
/* look up the radv_t information for this interface */
- vec_validate_init_empty
- (nm->if_radv_pool_index_by_sw_if_index, sw_if_index0, ~0);
-
- ri = nm->if_radv_pool_index_by_sw_if_index[sw_if_index0];
+... |
Fix a windows build break | @@ -18,12 +18,12 @@ typedef enum {
UNICODE_LIMIT
} UNICODE_CONSTANTS;
-static ossl_unused inline int is_unicode_surrogate(unsigned long value)
+static ossl_unused ossl_inline int is_unicode_surrogate(unsigned long value)
{
return value >= SURROGATE_MIN && value <= SURROGATE_MAX;
}
-static ossl_unused inline int is_unic... |
Fix build when enabling mdebug options. | @@ -145,14 +145,6 @@ static int shouldfail(void)
len = strlen(buff);
if (write(md_tracefd, buff, len) != len)
perror("shouldfail write failed");
-# ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
- if (shoulditfail) {
- void *addrs[30];
- int num = backtrace(addrs, OSSL_NELEM(addrs));
-
- backtrace_symbols_fd(addrs, num, md_... |
get_prifix array size amended | @@ -128,7 +128,7 @@ uint32_t current_offset;
/*******************************************************************************
* ROS Parameter
*******************************************************************************/
-char get_prefix[10];
+char get_prefix[100];
char* get_tf_prefix = get_prefix;
char odom_header_f... |
test: remove obsolete test entry | @@ -281,9 +281,5 @@ TEST_LIST = {
"server_start_stop_force_fair_balancing",
test_server_start_stop_force_fair_balancing
},
- {
- "server_start_fail_bad_endpoint",
- test_server_start_fail_bad_endpoint
- },
{NULL, NULL}
};
|
libtcmu:fix valid field in sense data | @@ -184,7 +184,7 @@ size_t tcmu_iovec_length(struct iovec *iovec, size_t iov_cnt)
void __tcmu_set_sense_data(uint8_t *sense_buf, uint8_t key, uint16_t asc_ascq)
{
- sense_buf[0] = 0x70; /* fixed, current */
+ sense_buf[0] |= 0x70; /* fixed, current */
sense_buf[2] = key;
sense_buf[7] = 0xa;
sense_buf[12] = (asc_ascq >>... |
config.in: use portable hour specifier
`%l` is GNU specific. `%I` does the same thing but padded by zeros,
and is POSIX compliant. | @@ -205,7 +205,7 @@ bar {
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
- status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
+ status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
colors {
statusline #ffffff
|
graph-push-hook: parameterise desk | ^- (quip card (unit vase))
=/ transform
%. *indexed-post:store
- .^(post-transform (scry:hc %cf %home /[u.mark]/transform-add-nodes))
+ .^(post-transform (scry:hc %cf q.byk.bowl /[u.mark]/transform-add-nodes))
=/ [* result=(list [index:store node:store])]
%+ roll
(flatten-node-map ~(tap by nodes.q.update))
[[%no %no %n... |
Rename "ref" to "node", and update some comments
The NodeUpdate can be used for both ast.Exp and ast.Var nodes, so "ref" isn't a good name.
My editor also deleted a bunch of whitespace. | @@ -48,16 +48,13 @@ function converter.convert(prog_ast)
end
--- Encapsulates an update on an AST Node.
--- A Node update has two parts:
--- `ref`: An ast.Var that denotes the node that has to be updated.
--- `update_fn`: A `(ast.Var) -> ()` function that is used to update the node.
--- `ref`'s location is used to crea... |
fix type confusion in int_notifier.c | @@ -10,7 +10,7 @@ static int callback_num = 0;
static int_notify_callback_t callback_table[MAX_CALLBACKS] = {0};
static void clear_table() {
- memset(&callback_table, 0, sizeof(timer_callback_t) * callback_num);
+ memset(&callback_table, 0, sizeof(int_notify_callback_t) * callback_num);
callback_num = 0;
}
@@ -40,10 +4... |
TODO HACK DONT COMMIT: Log to stderr | @@ -39,7 +39,7 @@ withLogFileHandle act = do
runApp :: RIO App a -> IO a
runApp inner = do
withLogFileHandle $ \logFile -> do
- logOptions <- logOptionsHandle logFile True
+ logOptions <- logOptionsHandle stderr True
<&> setLogUseTime True
<&> setLogUseLoc False
@@ -78,7 +78,7 @@ instance HasNetworkConfig PierApp where... |
rpz-triggers, silence qname trigger explanation in rpz-log, this is
backwards compatible. | @@ -1399,9 +1399,11 @@ log_rpz_apply(char* trigger, uint8_t* dname, struct addr_tree_node* addrnode,
port = 0;
}
snprintf(portstr, sizeof(portstr), "@%u", (unsigned)port);
- snprintf(txt, sizeof(txt), "rpz: applied %s%s%s%s %s %s %s%s",
+ snprintf(txt, sizeof(txt), "rpz: applied %s%s%s%s%s%s %s %s%s",
(log_name?"[":"")... |
[kernel] initialize eventsManager | @@ -159,11 +159,6 @@ void Simulation::associate(SP::OneStepIntegrator osi, SP::DynamicalSystem ds)
}
-
-
-
-
-
SP::InteractionsGraph Simulation::indexSet(unsigned int i)
{
return _nsds->topology()->indexSet(i) ;
@@ -209,6 +204,8 @@ void Simulation::initialize_new()
{
DEBUG_BEGIN("Simulation::initialize(SP::Model m, boo... |
freertos: remove xSemaphoreAltTake/Give macros from upstream files
xSemaphoreAltTake and xSemaphoreAltGive are Espressif defined macros and
are not being used. The respective definitions, xQueueAltGenericReceive
and xQueueAltGenericSend are also not part of current FreeRTOS source
(v10.4.3). Hence, removed xSemaphoreAl... | @@ -410,23 +410,6 @@ typedef QueueHandle_t SemaphoreHandle_t;
*/
#define xSemaphoreTakeRecursive( xMutex, xBlockTime ) xQueueTakeMutexRecursive( ( xMutex ), ( xBlockTime ) )
-#ifdef ESP_PLATFORM // IDF-3814
-/** @cond */
-/*
- * xSemaphoreAltTake() is an alternative version of xSemaphoreTake().
- *
- * The source code ... |
arm/unwinder: set default unwinder type to arm exidx/extab | @@ -1245,8 +1245,7 @@ if SCHED_BACKTRACE
choice
prompt "Choose ARM unwinder"
- default UNWINDER_STACK_POINTER if ARM_THUMB
- default UNWINDER_FRAME_POINTER if !ARM_THUMB
+ default UNWINDER_ARM
---help---
This determines which method will be used for unwinding nuttx stack
traces for debug.
|
Correct Sunricher TERNCY-DC01 battery scale | "at": "0x0021",
"cl": "0x0001",
"ep": 1,
- "eval": "Item.val = Attr.val",
+ "eval": "Item.val = Attr.val / 2",
"fn": "zcl"
},
"default": 0
|
Check Bashisms: Exclude Zsh completion file | @@ -11,7 +11,7 @@ cd "@CMAKE_SOURCE_DIR@"
# this way we also check subdirectories
# The script `check-env-dep` uses process substitution which is **not** a standard `sh` feature!
# See also: https://unix.stackexchange.com/questions/151925
-scripts=$(find -E scripts/ -type f -not -regex '.+(check-env-dep|\.(cmake|fish|i... |
arrm, neon: impove hadd performance | @@ -47,8 +47,13 @@ glmm_abs(float32x4_t v) {
static inline
float32x4_t
glmm_vhadd(float32x4_t v) {
+ return vaddq_f32(vaddq_f32(glmm_splat_x(v), glmm_splat_y(v)),
+ vaddq_f32(glmm_splat_z(v), glmm_splat_w(v)));
+ /*
+ this seems slower:
v = vaddq_f32(v, vrev64q_f32(v));
return vaddq_f32(v, vcombine_f32(vget_high_f32(v)... |
Update port_bsp.rst | @@ -79,7 +79,7 @@ We create our targets with the following set of newt commands:
::
newt target create boot-myboard &&
- newt target set boot-myboard app=@apache-mynewt-core/apps/boot \
+ newt target set boot-myboard app=@mcuboot/boot/mynewt \
bsp=hw/bsp/myboard \
build_profile=optimized
@@ -93,7 +93,7 @@ Which generat... |
Improve the performance of CPUID by clearing EAX. | @@ -13,7 +13,8 @@ static inline void cpu_relax(void)
static inline void cpu_serialize(void)
{
- asm volatile("cpuid" : : : "%rax", "%rbx", "%rcx", "%rdx");
+ asm volatile("xorl %%eax, %%eax\n\t"
+ "cpuid" : : : "%rax", "%rbx", "%rcx", "%rdx");
}
static inline uint64_t rdtsc(void)
|
Add missing PostgreSQL 11 control/WAL versions in Perl tests.
These values don't seem to be used for testing but better to be tidy. | @@ -287,6 +287,7 @@ sub dbControlVersion
&PG_VERSION_95 => 942,
&PG_VERSION_96 => 960,
&PG_VERSION_10 => 1002,
+ &PG_VERSION_11 => 1100,
};
if (!defined($hControlVersion->{$strPgVersion}))
@@ -441,6 +442,7 @@ sub walGenerateContent
&PG_VERSION_95 => hex('0xD087'),
&PG_VERSION_96 => hex('0xD093'),
&PG_VERSION_10 => hex(... |
SetupTool: Fix regression from commit | @@ -985,7 +985,6 @@ VOID SetupCreateLink(
IPropertyStore_SetValue(propertyStorePtr, &PKEY_AppUserModel_ID, &propValue);
- PropVariantClear(&propValue);
//PropVariantInit(&propValue);
//propValue.vt = VT_CLSID;
//propValue.puuid = GUID;
@@ -1016,7 +1015,7 @@ VOID SetupCreateLink(
// Save the shortcut to the file system.... |
BugID:18236504:Fix yloop certificate fail for not allocating fd | #endif
#if (TEST_CONFIG_YLOOP_ENABLED)
#define TEST_CONFIG_YLOOP_EVENT_COUNT (1000)
-#define TEST_CONFIG_YLOOP_LOOP_COUNT (5)
+#define TEST_CONFIG_YLOOP_LOOP_COUNT (4)
#endif
static unsigned int g_var = 0;
|
Fix configuration for older CMake versions | @@ -99,10 +99,11 @@ if(CMAKE_COMPILER_IS_GNUCXX)
add_compile_options(-fvisibility=hidden)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
- #disable gcc caller-saves flag for O2-O3
+ #disable gcc caller-saves flag for O2-O3 optimizations
#workaround fix for gcc 9.3+
if(CMAKE_BUILD_TYPE STREQUAL "R... |
Stop using some fast approx when ISA_INVARIANCE=ON | @@ -433,8 +433,11 @@ ASTCENC_SIMD_INLINE vint4 operator*(vint4 a, vint4 b)
return vint4(_mm_mullo_epi32 (a.m, b.m));
#else
__m128i t1 = _mm_mul_epu32(a.m, b.m);
- __m128i t2 = _mm_mul_epu32(_mm_srli_si128(a.m, 4), _mm_srli_si128(b.m, 4));
- __m128i r = _mm_unpacklo_epi32(_mm_shuffle_epi32(t1, _MM_SHUFFLE (0, 0, 2, 0)),... |
Add hard pulse option with utests | @@ -213,6 +213,18 @@ static void sum_up_signal(struct sim_data* data, float *mxy, float *sa_r1, floa
/* ------------ RF-Pulse -------------- */
+// Single hard pulse without discrete sampling
+static void hard_pulse(struct sim_data* data, int N, int P, float xp[P][N])
+{
+ data->grad.gb[2] = (data->grad.mom_sl + data->... |
Remove remnant prototype. | @@ -18,8 +18,6 @@ opencoap_vars_t opencoap_vars;
uint8_t opencoap_options_parse(OpenQueueEntry_t* msg,
coap_option_iht* options,
uint8_t optionsLen);
-
-coap_option_iht* opencoap_find_object_security_option(coap_option_iht* array, uint8_t arrayLen);
//=========================== public =================================... |
[iot] Fix generate_certificate.cmd, affected by samples reorg
The documentation got modified previosly by | @REM Copyright (c) Microsoft Corporation. All rights reserved.
-@REM SPDX-License-Identifier MIT
+@REM SPDX-License-Identifier: MIT
@echo off
openssl ecparam -out device_ec_key.pem -name prime256v1 -genkey
IF %ERRORLEVEL% NEQ 0 (
- echo Failed generating certificate key
- exit b 1
+ echo "Failed generating certificate ... |
Fix man3 reference to CRYPTO_secure_used
CLA: trivial | @@ -6,7 +6,7 @@ CRYPTO_secure_malloc_init, CRYPTO_secure_malloc_initialized,
CRYPTO_secure_malloc_done, OPENSSL_secure_malloc, CRYPTO_secure_malloc,
OPENSSL_secure_zalloc, CRYPTO_secure_zalloc, OPENSSL_secure_free,
CRYPTO_secure_free, OPENSSL_secure_actual_size, OPENSSL_secure_allocated,
-CYRPTO_secure_used - secure he... |
Docs - updating bookb build dependencies | @@ -22,7 +22,7 @@ GEM
middleman-livereload
middleman-sprockets
middleman-syntax (= 2.1.0)
- nokogiri (= 1.8.5)
+ nokogiri (>= 1.10.8)
puma
rack-rewrite
redcarpet (~> 3.2.3)
@@ -156,8 +156,8 @@ GEM
minitest (5.11.3)
multi_json (1.13.1)
multipart-post (2.0.0)
- nokogiri (1.8.2)
- mini_portile2 (~> 2.3.0)
+ nokogiri (1.10... |
Removed unnecessary TC calls from parser.c. | @@ -731,10 +731,6 @@ static void
contains_usecs (void) {
if (conf.serve_usecs)
return;
-
-#ifdef TCB_BTREE
- ht_insert_genstats ("serve_usecs", 1);
-#endif
conf.serve_usecs = 1; /* flag */
}
@@ -1619,9 +1615,6 @@ uncount_processed (GLog * glog) {
glog->processed -= conf.num_tests;
else
glog->processed = 0;
-#ifdef TCB_... |
Generalize initial metadata error message | @@ -453,7 +453,7 @@ parse_overlay_config(struct overlay_params *params,
dbusmgr::dbus_mgr.init(params->media_player_name);
get_media_player_metadata(dbusmgr::dbus_mgr, params->media_player_name, main_metadata);
} catch (std::runtime_error& e) {
- std::cerr << "Failed to get initial Spotify metadata: " << e.what() << st... |
NANO: Disable WiFi debug flag which is not supported. | #define OMV_ENABLE_OV5640_AF (0)
// Enable WiFi debug
-#define OMV_ENABLE_WIFIDBG (1)
+#define OMV_ENABLE_WIFIDBG (0)
// Enable self-tests on first boot
#define OMV_ENABLE_SELFTEST (0)
|
[bsp/stm32/stm32g070-st-nucleo/board/Kconfig]: corret path. | @@ -186,7 +186,7 @@ menu "On-chip Peripheral Drivers"
bool "Enable Watchdog Timer"
select RT_USING_WDT
default n
- source "libraries/HAL_Drivers/Kconfig"
+ source "../libraries/HAL_Drivers/Kconfig"
endmenu
|
osiris: Update KYBL_EN output type
Set KYBL_EN(GPIOA7) to GPIO_OUT_LOW from GPIO_ODR_LOW.
BRANCH=none
TEST=build pass | @@ -74,7 +74,7 @@ GPIO(USB_C1_RT_RST_R_ODL, PIN(0, 2), GPIO_ODR_LOW)
GPIO(VCCST_PWRGD_OD, PIN(A, 4), GPIO_ODR_LOW)
GPIO(LED_1_L, PIN(C, 4), GPIO_OUT_HIGH)
GPIO(LED_2_L, PIN(C, 3), GPIO_OUT_HIGH)
-GPIO(KYBL_EN, PIN(A, 7), GPIO_ODR_LOW)
+GPIO(KYBL_EN, PIN(A, 7), GPIO_OUT_LOW)
GPIO(AMP_PWR_EN, PIN(5, 7), GPIO_ODR_LOW)
/* ... |
Change functions to static | #define DEBUG 0
/*---------------------------------------------------------------------------*/
-void
+static void
slipnet_init(void)
{
}
@@ -68,7 +68,7 @@ slip_send_packet(const uint8_t *ptr, int len)
slip_arch_writeb(SLIP_END);
}
/*---------------------------------------------------------------------------*/
-void
+s... |
Fixed redux on production build | import { createStore, applyMiddleware } from "redux";
import thunk from "redux-thunk";
import rootReducer from "../reducers/rootReducer";
-import { composeWithDevTools } from 'redux-devtools-extension';
-export default function configureStore() {
- // return createStore(
- // rootReducer,
- // window.__REDUX_DEVTOOLS_E... |
Add summary at end of test. | //
#include <pappl/base-private.h>
+#include <cups/dir.h>
#include "testpappl.h"
#include <stdlib.h>
#include <limits.h>
@@ -54,6 +55,7 @@ typedef struct _pappl_testdata_s // Test data
{
cups_array_t *names; // Tests to run
pappl_system_t *system; // System
+ const char *outdirname; // Output directory
} _pappl_testdat... |
Fix potential issue with PwmPin::GetChannel
Add code to remove warning about unused parameters | int Library_win_dev_pwm_native_Windows_Devices_Pwm_PwmPin::GetChannel (int pin, int timerId)
{
+ (void)pin;
+ (void)timerId;
+
int channel = 0;
#if defined(STM32F427xx) || defined(STM32F429xx)
switch (timerId)
|
Sync CHANGES.md and NEWS.md with 3.1 release | @@ -8,6 +8,7 @@ OpenSSL Releases
----------------
- [OpenSSL 3.2](#openssl-32)
+ - [OpenSSL 3.1](#openssl-31)
- [OpenSSL 3.0](#openssl-30)
- [OpenSSL 1.1.1](#openssl-111)
- [OpenSSL 1.1.0](#openssl-110)
@@ -19,7 +20,7 @@ OpenSSL Releases
OpenSSL 3.2
-----------
-### Major changes between OpenSSL 3.0 and OpenSSL 3.2 [un... |
Fix filtered handle highlighting | @@ -2398,6 +2398,41 @@ VOID PhProcessProviderUpdate(
}
}
+ if (processItem->QueryHandle && processItem->IsHandleValid)
+ {
+ OBJECT_BASIC_INFORMATION basicInfo;
+ BOOLEAN filteredHandle = FALSE;
+
+ if (NT_SUCCESS(PhGetHandleInformationEx(
+ NtCurrentProcess(),
+ processItem->QueryHandle,
+ ULONG_MAX,
+ 0,
+ NULL,
+ &b... |
Additional warnings in cipher.h | @@ -89,8 +89,8 @@ typedef enum {
/**
* \brief Supported {cipher type, cipher mode} pairs.
*
- * \warning DES is considered weak cipher and its use
- * constitutes a security risk. Arm recommends considering stronger
+ * \warning DES/3DES are considered weak ciphers and their use
+ * constitutes a security risk. We reco... |
upload pier on succesful build | @@ -10,3 +10,14 @@ before_install:
before_script: bash make-pill.sh
+deploy:
+ skip_cleanup: true
+ provider: gcs
+ access_key_id: GOOGW5WD4W7RF3TQ5EBM
+ secret_access_key:
+ secure: cbMrx/jloYtTiMc9b+gujrpdzmB05yHC7C2PN1dqHoe25JqwS1c8ne0jhzYOanSkJptPEjwpKeEYLyF87CStCglMJaHwsx1wAm94D8Vh6WL96pgxFbMdVRD+g2dAcSXYnSX5C0QpF... |
Possible edge case GC protection | @@ -403,8 +403,12 @@ static void *iodine_on_pubsub_call_block(void *msg_) {
fio_msg_s *msg = msg_;
VALUE args[2];
args[0] = rb_str_new(msg->channel.data, msg->channel.len);
+ IodineStore.add(args[0]);
args[1] = rb_str_new(msg->msg.data, msg->msg.len);
+ IodineStore.add(args[1]);
IodineCaller.call2((VALUE)msg->udata2, c... |
libcupsfilters: More manufacturer name fixes in ieee1284NormalizeMakeAndModel() | @@ -915,6 +915,15 @@ ieee1284NormalizeMakeAndModel(
snprintf(buffer, bufsize, "HP %s", make_and_model);
modelptr = buffer + 3;
}
+ else if (!strncasecmp(make_and_model, "ecosys", 6))
+ {
+ /*
+ * Kyocera...
+ */
+
+ snprintf(buffer, bufsize, "Kyocera %s", make_and_model);
+ modelptr = buffer + 8;
+ }
/*
* Known make na... |
tcmu:fix return data length of rtpg response data | @@ -374,7 +374,7 @@ int tcmu_emulate_report_tgt_port_grps(struct tcmu_device *dev,
int next_off = off + 8 + (group->num_tgt_ports * 4);
if (next_off > alloc_len) {
- ret_data_len += next_off;
+ ret_data_len += 8 + (group->num_tgt_ports * 4);
continue;
}
|
[timer] Fix the bug that the linked list is still mounted when the single timer is not modified | @@ -579,7 +579,7 @@ void rt_timer_check(void)
{
continue;
}
-
+ rt_list_remove(&(t->row[RT_TIMER_SKIP_LIST_LEVEL - 1]));
if ((t->parent.flag & RT_TIMER_FLAG_PERIODIC) &&
(t->parent.flag & RT_TIMER_FLAG_ACTIVATED))
{
@@ -667,7 +667,7 @@ void rt_soft_timer_check(void)
{
continue;
}
-
+ rt_list_remove(&(t->row[RT_TIMER_SK... |
Change library suffix for Ruby only on Windows | @@ -1224,8 +1224,8 @@ function(tinyspline_add_swig_library)
PROPERTY SUFFIX ".dylib"
)
endif()
- # Fix library suffix for Ruby.
- if(${ARGS_LANG} STREQUAL "ruby")
+ # Fix library suffix for Ruby on Windows.
+ if(${ARGS_LANG} STREQUAL "ruby" AND ${TINYSPLINE_PLATFORM_IS_WINDOWS})
set_property(
TARGET ${ARGS_TARGET}
APPE... |
cleanup and fix handling of dup'd fd
avoid fd leak, move ownership of fd to handling code | @@ -1528,8 +1528,7 @@ static void async_read_ready(h2o_socket_t *listener, const char *err)
// reset async
assert(adata->client.sock->async.enabled);
adata->client.sock->async.enabled = 0;
- do_close_socket(listener);
- do_dispose_socket(listener);
+ dispose_socket(listener, NULL);
if (err != NULL) {
return;
@@ -1544,1... |
Print scrcpy header first
Inconditionnally print the scrcpy version first, without using LOGI().
The log level is configured only after parsing the command line
parameters (it may be changed via -V), and command line parsing logs
should not appear before the scrcpy version. | @@ -47,6 +47,9 @@ main(int argc, char *argv[]) {
setbuf(stderr, NULL);
#endif
+ printf("scrcpy " SCRCPY_VERSION
+ " <https://github.com/Genymobile/scrcpy>\n");
+
struct scrcpy_cli_args args = {
.opts = scrcpy_options_default,
.help = false,
@@ -73,8 +76,6 @@ main(int argc, char *argv[]) {
return 0;
}
- LOGI("scrcpy " S... |
Fixed a small typo in the readme. | @@ -33,7 +33,7 @@ Notable aspects of the design include:
due to free list sharding) the memory is marked to the OS as unused ("reset" or "purged")
reducing (real) memory pressure and fragmentation, especially in long running
programs.
-- __secure__: _mimalloc_ can be build in secure mode, adding guard pages,
+- __secur... |
interop: Disable PMTUD for ecn test case
Disable PMTUD for ecn test case because ngtcp2 does not set ECN bit
for PMTUD packets. | @@ -44,6 +44,9 @@ if [ "$ROLE" == "client" ]; then
if [ "$TESTCASE" == "v2" ]; then
CLIENT_ARGS="$CLIENT_ARGS --other-versions v2draft,v1"
fi
+ if [ "$TESTCASE" == "ecn" ]; then
+ CLIENT_ARGS="$CLIENT_ARGS --no-pmtud"
+ fi
if [ "$TESTCASE" == "resumption" ] || [ "$TESTCASE" == "zerortt" ]; then
CLIENT_ARGS="$CLIENT_ARG... |
Add cookies write in client hello | @@ -688,6 +688,48 @@ static int ssl_tls13_parse_cookie_ext( mbedtls_ssl_context *ssl,
return( 0 );
}
+static int ssl_tls13_write_cookie_ext( mbedtls_ssl_context *ssl,
+ unsigned char* buf,
+ unsigned char* end,
+ size_t* olen )
+{
+ unsigned char *p = buf;
+
+ *olen = 0;
+
+ if( ssl->handshake->verify_cookie == NULL )
... |
Add message indicating that node.sleep() was disabled during build. | @@ -108,13 +108,18 @@ static int node_sleep( lua_State* L )
cfg.resume_cb_ptr = &node_sleep_resume_cb;
pmSleep_suspend(&cfg);
#else
- c_printf("\n The option \"timer_suspend_enable\" in \"app/include/user_config.h\" was disabled during FW build!\n");
- return luaL_error(L, "light sleep is unavailable");
+ dbg_printf("\... |
Update documentation in man pages | .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "ELEKTRA\-PLUGINS" "7" "October 2019" "" ""
+.TH "ELEKTRA\-PLUGINS" "7" "November 2019" "" ""
.
.SH "NAME"
\fBelektra\-plugins\fR \- plugins overview
@@ -125,6 +125,9 @@ augeas \fIaugeas/\fR reads/writes many different configuration fi... |
TLSv1.3 alert and handshake messages can never be 0 length
We abort if we read a message like this. | @@ -644,6 +644,15 @@ int ssl3_get_record(SSL *s)
&thisrr->data[end], 1, s, s->msg_callback_arg);
}
+ if (SSL_IS_TLS13(s)
+ && (thisrr->type == SSL3_RT_HANDSHAKE
+ || thisrr->type == SSL3_RT_ALERT)
+ && thisrr->length == 0) {
+ al = SSL_AD_UNEXPECTED_MESSAGE;
+ SSLerr(SSL_F_SSL3_GET_RECORD, SSL_R_BAD_LENGTH);
+ goto f_e... |
python handler: make writes blocking | @@ -38,6 +38,7 @@ class Handler(object):
self._receive_thread.daemon = True
self._sinks = [] # This is a list of weakrefs to upstream iterators
self._dead = False
+ self._write_lock = threading.Lock()
def _recv_thread(self):
"""
@@ -241,6 +242,7 @@ class Handler(object):
self.remove_callback(cb, msg_type)
def __call__(... |
Fix issue where unable to add new scenes | @@ -307,10 +307,10 @@ const addScene = (state, action) => {
const defaultActors = defaults.actors || [];
const defaultTriggers = defaults.triggers || [];
- const actorNewIdLookup = defaults.actors.reduce((memo, actor) => {
+ const actorNewIdLookup = defaultActors.reduce((memo, actor) => {
return { ...memo, [actor.id]: ... |
Add davemarchevsky to CODEOWNERS for everything
I can't figure out how to get emailed for all PRs, and I'm doing reviews for the whole repo, so add self to codeowners everywhere. | # see https://help.github.com/articles/about-codeowners/ for syntax
# Miscellaneous
-* @drzaeus77 @goldshtn @yonghong-song @4ast @brendangregg
+* @drzaeus77 @goldshtn @yonghong-song @4ast @brendangregg @davemarchevsky
# Documentation
-/docs/ @brendangregg @goldshtn
-/man/ @brendangregg @goldshtn
+/docs/ @brendangregg @... |
fix: mkdir creating a mkdir dir | @@ -141,7 +141,7 @@ test: common discord slack github reddit $(TEST_EXES)
mkdir :
mkdir -p $(ACTOR_OBJDIR)/common/third-party $(ACTOR_OBJDIR)/specs
mkdir -p $(OBJDIR)/common/third-party $(LIBDIR)
- $(foreach var, $(SPECS_SUBDIR), @mkdir -p $(SPECSDIR)/$(var) $(OBJDIR)/$(SPECSDIR)/$(var))
+ $(foreach var, $(SPECS_SUBDIR... |
BugID:19278468:Add config options for link params | #ifndef BLE_CONFIG_H
#define BLE_CONFIG_H
-/**
- * CONFIG_BT: Tx thread stack size
- */
-
-#ifndef CONFIG_BT_HCI_TX_STACK_SIZE
#define CONFIG_BT_HCI_TX_STACK_SIZE 512
-#endif
-#ifndef CONFIG_BT_HCI_CMD_COUNT
#define CONFIG_BT_HCI_CMD_COUNT 16
+
+#ifdef CONFIG_BLE_LINK_PARAMETERS
+#define CONFIG_SUP_TO_LIMIT 400
+#defin... |
[afl][fuzz] Add some checks | @@ -282,6 +282,9 @@ if(eapleap->leapversion != 1)
return false;
eaplen = htobe16(eapleap->eaplen);
+if((eaplen <= 8) || (eaplen > 258 +16))
+ return false;
+
if((eapleap->eapcode == EAP_CODE_REQ) && (eapleap->leapcount == 8))
{
memcpy(&hcleap.mac_ap1, mac_2, 6);
@@ -893,7 +896,7 @@ memcpy(neweapdbdata->mac_ap.addr, mac... |
Fix netlink constant in lukefile | @@ -78,7 +78,7 @@ modules = {
['posix.sys.socket'] = {
defines = {
HAVE_NET_IF_H = {checkheader='net/if.h', include='sys/socket.h'},
- HAVE_NETLINK_H = {checkheader='linux/netlink.h', include='sys/socket.h'},
+ HAVE_LINUX_NETLINK_H = {checkheader='linux/netlink.h', include='sys/socket.h'},
},
libraries = {
{checksymbol... |
symtab: Fix outdated comments on a function. | @@ -762,18 +762,14 @@ lily_class *lily_new_raw_class(const char *name, uint16_t line_num)
return new_class;
}
-/* This creates a new class entity. This entity is used for, well, more than it
- should be. The entity is going to be either an enum, a variant, or a
- user-defined class. The class is assumed to be refcounte... |
Shorten stack.yaml | -# This file was automatically generated by 'stack init'
-#
-# Some commonly used options have been documented as comments in this file.
-# For advanced use and comprehensive documentation of the format, please see:
-# https://docs.haskellstack.org/en/stable/yaml_configuration/
-
-# Resolver to choose a 'specific' stac... |
Flip cubemap x texture coordinate; | @@ -114,7 +114,7 @@ const char* lovrCubeVertexShader = ""
const char* lovrCubeFragmentShader = ""
"in vec3 texturePosition[2]; \n"
"vec4 color(vec4 graphicsColor, sampler2D image, vec2 uv) { \n"
-" return graphicsColor * texture(lovrEnvironmentTexture, texturePosition[lovrViewportIndex]); \n"
+" return graphicsColor * ... |
tools/version: generate dummy version without breakout | @@ -76,7 +76,7 @@ if [ -z ${VERSION} ] ; then
# If the VERSION does not match X.Y.Z, retrieve version from the tag
if [[ ! ${VERSION} =~ ([0-9]+)\.([0-9]+)\.([0-9]+) ]] ; then
- VERSION=`git -C ${WD} -c 'versionsort.suffix=-' tag --sort=v:refname | grep -E "nuttx-[0-9]+\.[0-9]+\.[0-9]+" | tail -1 | cut -d'-' -f2-`
+ VE... |
make the location more flexible | @@ -130,7 +130,7 @@ typedef struct clap_preset_location {
// name of this location
char name[CLAP_NAME_SIZE];
- // path to a directory on the file system in which preset can be found
+ // path to a directory or a file on the file system in which preset can be found
char path[CLAP_URI_SIZE];
} clap_preset_location_t;
|
revert some tries | :- module(decoding_net4).
:- lib(ic).
-:- lib(timeout_simple).
%%% Bottom layer is storing the following facts in the State
@@ -431,6 +430,9 @@ region_free_bound(S, Reg) :-
%RBase #>= 0 ;
RBase #>= CLimit ;
% In case that allocation doesnt work, just get me any.
+ Reg = region(Id, block(RBase, _)),
+ CReg = region(Id, ... |
Fix I2C driver for Write/Read operations | #include "Esp32_DeviceMapping.h"
+static const char* TAG = "I2C";
///////////////////////////////////////////////////////////////////////////////////////
// !!! KEEP IN SYNC WITH Windows.Devices.I2c.I2cSharingMode (in managed code) !!! //
@@ -186,17 +187,21 @@ HRESULT Library_win_dev_i2c_native_Windows_Devices_I2c_I2cD... |
yaviks: add 3S batteries support
Add batteries Cosmx si03058xl and SMP highpower_si03058xl
into yaviks EC.
BRANCH=none
TEST=verify battery can discharge, charge, cut-off. | default_battery: cosmx {
compatible = "cosmx,gh02047xl", "battery-smart";
};
+ cosmx_si03058xl {
+ compatible = "cosmx,si03058xl", "battery-smart";
+ };
dynapack_atl_gh02047xl {
compatible = "dynapack,atl_gh02047xl", "battery-smart";
};
smp_highpower_gh02047xl {
compatible = "smp,highpower_gh02047xl", "battery-smart";
... |
quic: support the streams_blocked_receive probe | @@ -405,6 +405,25 @@ int trace_streams_blocked_send(struct pt_regs *ctx) {
return 0;
}
+
+int trace_streams_blocked_receive(struct pt_regs *ctx) {
+ void *pos = NULL;
+ struct quic_event_t event = {};
+ struct st_quicly_conn_t conn = {};
+ sprintf(event.type, "streams_blocked_receive");
+
+ bpf_usdt_readarg(1, ctx, &po... |
Fix TWAMP send rate
Update timers in send/recv loop to allow for higher packet rates. | @@ -3454,6 +3454,32 @@ RECEIVE:
tvalclear(&wake.it_interval);
wake.it_value.tv_sec = timeout.tv_sec;
wake.it_value.tv_usec = timeout.tv_nsec / 1000;
+
+ /* How long do we have till the next send? */
+ if(i < ep->tsession->test_spec.npackets - 1){
+ node = get_node(ep, i+1);
+ OWPNum64ToTimespec(&nexttime,node->relative... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.