message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
do log errors in the error log when on invalid request to redirect URI | @@ -2842,6 +2842,10 @@ int oidc_handle_redirect_uri_request(request_rec *r, oidc_cfg *c,
oidc_handle_redirect_authorization_response(r, c, session);
}
+ oidc_error(r,
+ "The OpenID Connect callback URL received an invalid request: %s; returning HTTP_INTERNAL_SERVER_ERROR",
+ r->args);
+
/* something went wrong */
retur... |
misc: 19.04.2 Release Notes
Type: docs | # Release Notes {#release_notes}
* @subpage release_notes_1908
+* @subpage release_notes_19042
* @subpage release_notes_19041
* @subpage release_notes_1904
* @subpage release_notes_19013
TBD
+@page release_notes_19042 Release notes for VPP 19.04.2
+
+This is bug fix release.
+
+For the full list of fixed issues please ... |
Enable debug tests only in windows ci. | @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
- buildtype: [debug, release]
+ buildtype: [debug] # [debug, release] # TODO: Enable release when all debug tests pass
env:
LTTNG_UST_REGISTER_TIMEOUT: 0
|
Now using ++circle-peer for the creation of /circle peer moves,
to ensure consistency. | ::> or if we haven't gotten any yet, messages
::> from up to a day ago.
=+ num=(~(get by sequence) pan)
- =+ old=(sub now.bol ~d1) :: XX full backlog
- =+ ini=?^(num (scot %ud u.num) (scot %da old))
+ =+ old=(sub now.bol ~d1) ::TODO? full backlog
+ =+ ini=?^(num [%ud u.num] [%da old])
?- -.pan
$| !! ::< passport partne... |
Fix missing new-line in automatic tag description. | @@ -106,7 +106,7 @@ def main():
)
subprocess.check_call(
['git', 'tag', args.tag, '-a', '-m',
- '%s\n%s' % (args.tag, changes)] + edit,
+ '%s\n\n%s' % (args.tag, changes)] + edit,
)
subprocess.check_call(
['git', 'push', '--follow-tags'],
|
new benchmarks (zfill, zsmul) | @@ -537,6 +537,45 @@ static double bench_fftmod(long scale)
+static double bench_generic_expand(int typ, long scale)
+{
+ long dims[DIMS] = { 1, 256 * scale, 256 * scale, 1, 1, 16, 1, 16 };
+
+ complex float* x = md_alloc(DIMS, dims, CFL_SIZE);
+
+ double tic = timestamp();
+
+ switch (typ) {
+
+ case 0:
+ md_zfill(DIM... |
Tests: TestControl refactored. | @@ -2,47 +2,56 @@ import json
from unit.http import TestHTTP
+def args_handler(conf_func):
+ def args_wrapper(self, *args):
+ argcount = conf_func.__code__.co_argcount
+ url_default = '/config'
+ conf = None
+
+ if argcount == 2:
+ url = args[0] if len(args) == 1 else url_default
+
+ elif argcount == 3:
+ conf = args[0... |
Transform:getMatrix accepts target table; | @@ -33,15 +33,20 @@ int luax_readtransform(lua_State* L, int index, mat4 m, int scaleComponents) {
int l_lovrTransformGetMatrix(lua_State* L) {
Transform* transform = luax_checktype(L, 1, Transform);
+ bool table = lua_istable(L, 2);
+ lua_settop(L, 2);
float matrix[16];
lovrTransformGetMatrix(transform, matrix);
for (... |
esp_modem: Ensure uart_param_config and uart pins are set before uart_driver_install
Fixes Guru Meditation Error: Core 0 panic'ed (LoadProhibited) when config with
CONFIG_PM_ENABLE=y && CONFIG_PM_DFS_INIT_AUTO=y.
Merges | @@ -390,11 +390,6 @@ modem_dte_t *esp_modem_dte_init(const esp_modem_dte_config_t *config)
.source_clk = UART_SCLK_REF_TICK,
.flow_ctrl = (config->flow_control == MODEM_FLOW_CONTROL_HW) ? UART_HW_FLOWCTRL_CTS_RTS : UART_HW_FLOWCTRL_DISABLE
};
- /* Install UART driver and get event queue used inside driver */
- res = ua... |
Fix Windows builds, which were getting "possible loss of data"
"bignum_new.c(61,52): warning C4244: 'function': conversion from 'mbedtls_mpi_uint' to 'unsigned int', possible loss of data" | @@ -49,12 +49,11 @@ void mbedtls_mpi_core_montmul( mbedtls_mpi_uint *X,
(void) mbedtls_mpi_core_mla( T, n + 2, N, n, u1 );
}
- mbedtls_mpi_uint carry, borrow, fixup;
+ mbedtls_mpi_uint carry, borrow;
carry = T[n];
borrow = mbedtls_mpi_core_sub( X, T, N, n );
- fixup = carry < borrow;
- (void) mbedtls_mpi_core_add_if( X... |
iokernel: bug fix | @@ -391,9 +391,11 @@ static struct thread *pick_thread_for_core(int core)
/* try to allocate to the process running on the hyperthread pair core */
buddy_core = cpu_to_sibling_cpu(core);
+ if (core_history[buddy_core].current) {
p = core_history[buddy_core].current->p;
if (!p->removed && proc_is_overloaded(p))
goto cho... |
[fpga] Add debug capabilities | @@ -52,10 +52,10 @@ module mempool_system #(
External
} axi_slave_target;
- axi_tile_req_t [NumAXIMasters - 1:0] axi_mst_req;
- axi_tile_resp_t [NumAXIMasters - 1:0] axi_mst_resp;
- axi_system_req_t [NumAXISlaves - 1:0] axi_mem_req;
- axi_system_resp_t [NumAXISlaves - 1:0] axi_mem_resp;
+ (* mark_debug = "true" *) axi_... |
in_cpu: validate sscanf() return value (CID 161076) | @@ -124,6 +124,9 @@ static inline double proc_cpu_load(int cpus, struct cpu_stats *cstats)
&s->v_system,
&s->v_idle,
&s->v_iowait);
+ if (ret < 5) {
+ return -1;
+ }
}
else {
fmt = " %s %lu %lu %lu %lu %lu";
|
clarify h2olog requirements (esp. cmake version) | @@ -19,8 +19,8 @@ EOT
<h3>For building h2olog</h3>
<ul>
-<li>LLVM and clang (>= 3.7.1)</li>
-<li>CMake for generating the build files</li>
+<li>C++11 compiler</li>
+<li>CMake (>= 3.8) for generating the build files</li>
<li>pkg-config for detecting dependencies</li>
<li>Python 3 for the code generator</li>
<li><a... |
Remove unnecessary pstrdup in fetch_table_list.
The result of TextDatumGetCString is already palloc'ed so we don't need to
allocate memory for it again. We decide not to backpatch it as there
doesn't seem to be any case where it can create a meaningful leak.
Author: Zhijie Hou
Discussion: | @@ -1267,7 +1267,7 @@ fetch_table_list(WalReceiverConn *wrconn, List *publications)
relname = TextDatumGetCString(slot_getattr(slot, 2, &isnull));
Assert(!isnull);
- rv = makeRangeVar(pstrdup(nspname), pstrdup(relname), -1);
+ rv = makeRangeVar(nspname, relname, -1);
tablelist = lappend(tablelist, rv);
ExecClearTuple(s... |
Refactor Insta switch modelId detection, set proper Etag | @@ -2080,13 +2080,16 @@ void DeRestPluginPrivate::checkSensorButtonEvent(Sensor *sensor, const deCONZ::A
if (!sensor->modelId().endsWith(QLatin1String("_1")))
{ // extract model identifier from mac address 6th byte
const quint64 model = (sensor->address().ext() >> 16) & 0xff;
- if (model == 0x01) { sensor->setModelId(Q... |
Rename write supported_versions ext | @@ -760,13 +760,14 @@ static int ssl_tls13_prepare_server_hello( mbedtls_ssl_context *ssl )
}
/*
- * ssl_tls13_write_selected_version_ext():
+ * ssl_tls13_write_server_hello_supported_versions_ext ():
*
* struct {
* ProtocolVersion selected_version;
* } SupportedVersions;
*/
-static int ssl_tls13_write_selected_version... |
BugID: add LS Config for uno-91h | @@ -44,6 +44,12 @@ GLOBAL_DEFINES += $$(if $$(NO_CRLF_STDIO_REPLACEMENT),,CRLF_STDIO_REPLACEMENT)
GLOBAL_CFLAGS += -DRDA5981X -mcpu=cortex-m4 -mthumb -mfloat-abi=soft
GLOBAL_CFLAGS += -DRDA5981A
+# Link Security Config
+CONFIG_LS_DEBUG := n
+CONFIG_LS_ID2_OTP := y
+CONFIG_LS_KM_SE := n
+CONFIG_LS_KM_TEE := n
+
GLOBAL_L... |
Update DnsQuery flags | @@ -356,7 +356,7 @@ PPH_STRING PhpGetIp4ReverseNameFromAddress(
)
{
return PhFormatString(
- L"%u.%u.%u.%u.%s",
+ L"%hhu.%hhu.%hhu.%hhu.%s",
Address.s_impno,
Address.s_lh,
Address.s_host,
@@ -377,7 +377,7 @@ PPH_STRING PhpGetIp6ReverseNameFromAddress(
{
PhAppendFormatStringBuilder(
&stringBuilder,
- L"%x.%x.",
+ L"%hhx... |
autotest/psd: increasing default minimum FFT size for analysis | @@ -268,7 +268,7 @@ int liquid_autotest_validate_psd_signal(float complex * _buf, unsigned int _buf_
autotest_psd_s * _regions, unsigned int num_regions, const char * debug_filename)
{
// compute signal's power spectral density
- unsigned int nfft = 4 << liquid_nextpow2(_buf_len < 8 ? 8 : _buf_len);
+ unsigned int nfft... |
Remove superfluous EVP_KDF_CTRL_ defines.
These defines were never used and not needed. | @@ -56,31 +56,6 @@ void EVP_KDF_names_do_all(const EVP_KDF *kdf,
void (*fn)(const char *name, void *data),
void *data);
-# define EVP_KDF_CTRL_SET_PASS 0x01 /* unsigned char *, size_t */
-# define EVP_KDF_CTRL_SET_SALT 0x02 /* unsigned char *, size_t */
-# define EVP_KDF_CTRL_SET_ITER 0x03 /* int */
-# define EVP_KDF_C... |
[GB] Implement LD HL, SP+i8 instruction | @@ -360,10 +360,12 @@ impl Display for AddressingMode {
}
}
-// OpInfo { OpName, Op, DerefMode }
-
impl CpuState {
pub fn new(mmu: Rc<Mmu>) -> Self {
+ // TODO(PT): Provide an 'operation' flag to instruction decoding
+ // If the operation is 'decode', print the decoded instruction without running it
+ // If the operati... |
Fix Buffer copy range calculation; | @@ -278,8 +278,8 @@ static int l_lovrPassCopy(lua_State* L) {
const BufferInfo* info = lovrBufferGetInfo(buffer);
uint32_t limit = MIN(blob->size - srcOffset, info->length * info->stride - dstOffset);
uint32_t extent = luax_optu32(L, 6, limit);
- lovrCheck(extent < blob->size - srcOffset, "Buffer copy range exceeds Blo... |
OpenCoreKernel: Return on arch mismatch error | @@ -1008,7 +1008,7 @@ OcKernelFileOpen (
if (mUse32BitKernel != IsKernel32Bit) {
DEBUG ((DEBUG_WARN, "OC: %a kernel architecture is not available, aborting.\n", mUse32BitKernel ? "32-bit" : "64-bit"));
FreePool (Kernel);
- Status = EFI_INVALID_PARAMETER;
+ return EFI_INVALID_PARAMETER;
}
}
}
|
Update GBench for test suite. | if(NOT GBENCH_FOUND OR USE_BUNDLED_GBENCH)
if(NOT GBENCH_VERSION OR USE_BUNDLED_GBENCH)
- set(GBENCH_VERSION 1.4.1)
- set(GBENCH_URL_MD5 482dddb22bec43f5507a000456d6bb88)
+ set(GBENCH_VERSION 1.6.1)
+ set(GBENCH_URL_MD5 8c33c51f9b7154e6c290df3750081c87)
endif()
ExternalProject_Add(google-bench-depends
|
Added initial support for Sercomm open/close sensor SZ-DWS04 | @@ -293,6 +293,7 @@ static const SupportedDevice supportedDevices[] = {
{ VENDOR_SERCOMM, "SZ-ESW01", emberMacPrefix }, // Sercomm / Telstra smart plug
{ VENDOR_SERCOMM, "SZ-SRN12N", emberMacPrefix }, // Sercomm siren
{ VENDOR_SERCOMM, "SZ-SRN12N", energyMiMacPrefix }, // Sercomm siren
+ { VENDOR_SERCOMM, "SZ-DWS04", e... |
BugID:18679699: fix 8266 2boot watchdog error | #define WDT_OP_DATA_LSB 0
#define WDT_OP_DATA_MASK 0xf
+#define WDT_OP_ND_ADDRESS 0x8
+
#define WDT_RST_ADDRESS 0x14
#define PERIPHS_DPORT_BASEADDR 0x3ff00000
#define WDT_EDGE_INT_ENABLE() SET_PERI_REG_MASK(EDGE_INT_ENABLE_REG, BIT0)
#define WDT_EDGE_INT_DISABLE() CLEAR_PERI_REG_MASK(EDGE_INT_ENABLE_REG, BIT0)
-extern ... |
posix env: print call stack in case of BUG() | /*
- * Copyright(c) 2019-2021 Intel Corporation
+ * Copyright(c) 2019-2022 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -67,11 +67,13 @@ typedef uint64_t sector_t;
#define ENV_MEM_ATOMIC 0
/* DEBUGING */
+void env_stack_trace(void);
+
#define ENV_WARN(cond, fmt...) printf(fmt)
#define ENV_WARN_ON(con... |
HV: Compiling in VCPI code for partition hypervisor
V3:
Compiling in VCPI code for partition hypervisor
Acked-by: Anthony Xu | @@ -95,7 +95,9 @@ INCLUDE_PATH += include/arch/x86
INCLUDE_PATH += include/arch/x86/guest
INCLUDE_PATH += include/debug
INCLUDE_PATH += include/public
-INCLUDE_PATH += include/common
+ifeq ($(CONFIG_PARTITION_MODE),y)
+INCLUDE_PATH += include/dm/vpci
+endif
INCLUDE_PATH += bsp/include
INCLUDE_PATH += bsp/$(CONFIG_PLATF... |
Invert #if check so that ZYAN_UNUSED() is 'called' correctly when ZYDIS_DISABLE_AVX512 and ZYDIS_DISABLE_KNC are both defined | @@ -550,7 +550,7 @@ ZyanStatus ZydisFormatterBasePrintDecorator(const ZydisFormatter* formatter,
ZYAN_ASSERT(buffer);
ZYAN_ASSERT(context);
-#if !defined(ZYDIS_DISABLE_AVX512) && !defined(ZYDIS_DISABLE_KNC)
+#if defined(ZYDIS_DISABLE_AVX512) && defined(ZYDIS_DISABLE_KNC)
ZYAN_UNUSED(formatter);
ZYAN_UNUSED(buffer);
ZYA... |
NRF53 UART open/close improvments | @@ -132,8 +132,23 @@ static void eventHandler(void *pParam, size_t paramLength)
static void uartClose(int32_t handle)
{
if ((handle >= 0) &&
- (handle < sizeof(gUartData) / sizeof(gUartData[0]))) {
+ (handle < sizeof(gUartData) / sizeof(gUartData[0])) &&
+ (gUartData[handle].pBuffer != NULL)) {
+
+ k_free(gUartData[han... |
Fix std::min in VmaBlockVector::ProcessDefragmentations
Fixes - thanks | @@ -13776,7 +13776,7 @@ uint32_t VmaBlockVector::ProcessDefragmentations(
{
VmaMutexLockWrite lock(m_Mutex, m_hAllocator->m_UseMutex);
- const uint32_t moveCount = std::min(uint32_t(pCtx->defragmentationMoves.size()) - pCtx->defragmentationMovesProcessed, maxMoves);
+ const uint32_t moveCount = VMA_MIN(uint32_t(pCtx->d... |
remove boost and cppnet for swupdate application | @@ -403,7 +403,9 @@ smart_home_server_linux: libiotivity-lite-server.a $(ROOT_DIR)/apps/smart_home_s
smart_home_server_with_mock_swupdate: libiotivity-lite-server.a $(ROOT_DIR)/apps/smart_home_server_with_mock_swupdate.cpp
@mkdir -p $@_creds
- ${CXX} -o $@ ../../apps/smart_home_server_with_mock_swupdate.cpp libiotivity... |
bfd: allow IPv6 link-local address as local address
Type: fix | #include <vnet/ip/ip4.h>
#include <vnet/ip/ip6.h>
#include <vnet/ip/ip6_packet.h>
+#include <vnet/ip/ip6_neighbor.h>
#include <vnet/adj/adj.h>
#include <vnet/adj/adj_nbr.h>
#include <vnet/dpo/receive_dpo.h>
@@ -608,6 +609,19 @@ bfd_udp_validate_api_input (u32 sw_if_index,
"IP family mismatch (local is ipv6, peer is ipv... |
Added missing information to translation templates. | -# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+# This file is distributed under the same license as the GoAccess package.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version... |
Add a fallback definition for __NR_getrandom for ARM linux | @@ -254,6 +254,13 @@ static ssize_t sysctl_random(char *buf, size_t buflen)
# endif
# if defined(OPENSSL_RAND_SEED_GETRANDOM)
+
+# if defined(__linux) && !defined(__NR_getrandom)
+# if defined(__arm__) && defined(__NR_SYSCALL_BASE)
+# define __NR_getrandom (__NR_SYSCALL_BASE+384)
+# endif
+# endif
+
/*
* syscall_random... |
sockeye: call assert inside the init function of the decoding net | @@ -43,6 +43,7 @@ state_empty(S) :-
% initializes the state to be empty
init_state :-
+ assert(current_state(null)),
state_empty(S),
state_set(S).
@@ -53,7 +54,7 @@ state_set(S) :-
retract(current_state(_)), assert(current_state(S)).
% call the init
-:- assert(current_state(null)), init_state.
+:- init_state.
:- export... |
common: add flash error check. use it for mass erase.
only implement it for g0/g4 for now, but this is most probably a must for
all chips. | #define STM32Gx_FLASH_CR_LOCK (31) /* FLASH_CR Lock */
// G0/G4 FLASH status register
+#define STM32Gx_FLASH_SR_ERROR_MASK (0x3fa)
#define STM32Gx_FLASH_SR_BSY (16) /* FLASH_SR Busy */
+#define STM32Gx_FLASH_SR_EOP (0) /* FLASH_EOP End of Operation */
// G4 FLASH option register
#define STM32G4_FLASH_OPTR_DBANK (22) /*... |
Fix font encoding when using CLI to export data | import Path from "path";
+import { readJson } from "fs-extra";
import {
ImageIndexFunction,
IndexedImage,
@@ -15,6 +16,7 @@ export interface FontData {
data: Uint8Array;
isVariableWidth: boolean;
is1Bit: boolean;
+ mapping: Record<string, number>;
}
interface CharacterData {
@@ -46,6 +48,19 @@ export const readFileToFo... |
tests: wait a lot longer to connect to memcached
travis tests are absolutely glacial, causes this to be flaky. | @@ -314,7 +314,7 @@ sub new_memcached {
# try to connect / find open port, only if we're not using unix domain
# sockets
- for (1..20) {
+ for (1..80) {
my $conn;
if ($ssl_enabled) {
$conn = eval qq{ IO::Socket::SSL->new(PeerAddr => "127.0.0.1:$port",
|
manifest: Docblocks must be followed by a keyword. | @@ -5620,6 +5620,9 @@ enter_manifest_import:;
lily_raise_syn(parser->raiser,
"Invalid keyword %s for manifest.", lex->label);
}
+ else if (have_docblock)
+ lily_raise_syn(parser->raiser,
+ "Docblock must be followed by a keyword.");
else if (lex->token == tk_right_curly)
manifest_block_exit(parser);
else if (lex->token... |
Bugfix conn metatable method call
Here `conn` is net.socket instance, so it should be called as one.
Otherwise request is very likely to end up with crash and PANIC.
nwf edited in light of | @@ -89,7 +89,7 @@ do
local buf = ""
local method, url
local ondisconnect = function(connection)
- connection.on("sent", nil)
+ connection:on("sent", nil)
collectgarbage("collect")
end
-- header parser
|
make test: fix failure on centos | @@ -346,7 +346,7 @@ class TestIpIrb(VppTestCase):
all_rules = []
for old_acl in orig_acls:
for rule in old_acl.r:
- all_rules.append(dict(vars(rule)))
+ all_rules.append(dict(rule._asdict()))
# Add a few ACLs made from shuffled rules
shuffle(all_rules)
|
artik053: add how to factory reset guide
Introduces the factory reset mode entry method. | @@ -171,6 +171,39 @@ openocd -f artik053.cfg -c ' \
flash_write os ../build/output/bin/tinyara_head.bin; exit'
```
+### Factory Reset
+
+If you can not boot normally, you can change os to the initial version. This is possible if there is an initialization binary in memory.
+
+#### How to Download the Initialization Bin... |
[rtdbg] Add LOG_RAW and dbg_raw API to rtdbg.h . | rt_kprintf("\n"); \
}
+#define dbg_raw(...) rt_kprintf(__VA_ARGS__);
+
#else
#define dbg_log(level, fmt, ...)
#define dbg_here
#define dbg_enter
#define dbg_exit
#define dbg_log_line(level, ...)
+#define dbg_raw(...)
#endif
#define LOG_D(...) dbg_log_line(DBG_LOG , __VA_ARGS__)
#define LOG_I(...) dbg_log_line(DBG_INFO ... |
BUFR Test: change width using operator 201YYY | @@ -1479,10 +1479,8 @@ rm -f ${f}.log ${f}.log.ref ${f}.out ${f}.out.out $fLog $fRules
cat > $fRules <<EOF
set numberOfSubsets=2;
set unexpandedDescriptors={310008};
-
set #14#brightnessTemperature={266.53,266.53000000001};
set pack=1;
-
write;
EOF
@@ -1507,3 +1505,41 @@ EOF
diff ${f}.log.ref ${f}.log
rm -f ${f}.log ${... |
[numerics] add a function for computing eigenvalues of a 3x3 symmetrix matrix | @@ -874,4 +874,64 @@ static inline int solve_3x3_gepp(const double* restrict a, double* restrict b)
return info;
}
+/** Computation of the eigenvalues of a symmetric 3x3 real matrix
+ * \param a symmetric column-major matrix (not modified)
+ * \param b a 3x3 work matrix
+ * \param[in,out] eig eigenvalie in decreasing o... |
analysis workflow, fix. | @@ -48,7 +48,7 @@ jobs:
submodules: false
- name: install libevent
if: ${{ matrix.install_libevent == 'yes' }}
- run: apt-get install libevent-dev
+ run: sudo apt-get install libevent-dev
- name: install expat
if: ${{ matrix.install_expat == 'yes' }}
run: brew install expat
|
Use arrival_timestamp attribute position found in init_query_state | @@ -1500,8 +1500,8 @@ sync_combine(ContQueryCombinerState *state)
PhysicalTuple update = NULL;
HeapTuple tup = NULL;
HeapTuple os_tup;
- Datum os_values[3];
- bool os_nulls[3];
+ Datum os_values[4];
+ bool os_nulls[4];
int replaces = 0;
ExprContext *econtext = estate->es_per_tuple_exprcontext;
@@ -1589,8 +1589,7 @@ syn... |
Fix 2 byte overflow. | @@ -3736,7 +3736,7 @@ public:
else
{
size_t off = __right_->size();
- if (off > 0 && __size_ > 0)
+ if (__size_ > 0)
off += 2;
const_cast<long&>(__cached_size_) = __left_->size() + off;
}
|
Only process server preferred address if ready and if different than default. | @@ -1476,20 +1476,23 @@ int picoquic_prepare_server_address_migration(picoquic_cnx_t* cnx)
/* configure an IPv6 sockaddr */
struct sockaddr_in6 * d6 = (struct sockaddr_in6 *)&dest_addr;
d6->sin6_family = AF_INET;
- d6->sin6_port = cnx->remote_parameters.prefered_address.ipv6Port;
+ d6->sin6_port = htons(cnx->remote_par... |
net/ip; fix memory allocation for tcpip stack. | @@ -143,7 +143,7 @@ sys_thread_new(const char *name, void (*thread)(void *arg), void *arg,
task = (struct os_task *)os_malloc(sizeof(*task));
assert(task);
- stack = (os_stack_t *)os_malloc(stacksize);
+ stack = (os_stack_t *)os_malloc(stacksize * sizeof(os_stack_t));
assert(stack);
if (os_task_init(task, name, thread,... |
change a strategy set method to WithGuardian
In the case of chind actor, WithSupervisor is correct.
However if actor is root, then strategy must be set using WithSupervisor | @@ -49,7 +49,7 @@ func resumeDecider(_ interface{}) actor.Directive {
func (base *BaseComponent) Start(inheritant IComponent) {
skipResumeStrategy := actor.NewOneForOneStrategy(0, 0, resumeDecider)
- workerProps := actor.FromInstance(inheritant).WithSupervisor(skipResumeStrategy)
+ workerProps := actor.FromInstance(inh... |
Dockerfile: forward arguments to Cooja
Make the Cooja script forward its arguments
to ant. This makes it possible to quickstart
simulations through the cooja script. | @@ -11,6 +11,6 @@ function exit_cleanup() {
kill $PID
}
-ant -e -logger org.apache.tools.ant.listener.SimpleBigProjectLogger -f $HOME/contiki-ng/tools/cooja/build.xml run_bigmem
+ant -e -logger org.apache.tools.ant.listener.SimpleBigProjectLogger -f $HOME/contiki-ng/tools/cooja/build.xml run_bigmem "$@"
exit_cleanup
|
Fix OCF example build | @@ -126,7 +126,7 @@ int initialize_cache(ocf_ctx_t ctx, ocf_cache_t *cache)
return -ENOMEM;
/* Start cache */
- ret = ocf_mngt_cache_start(ctx, cache, &cache_cfg);
+ ret = ocf_mngt_cache_start(ctx, cache, &cache_cfg, NULL);
if (ret)
goto err_priv;
|
sidk_s5jt200: make wlan_init() static
wlan_init() is dereferenced by up_wlan_init() only. Let's make it
static. | @@ -45,7 +45,7 @@ struct wlanif {
* ERR_MEM if private data couldn't be allocated
* any other err_t on error
*/
-err_t wlan_init(struct netif *netif)
+static err_t wlan_init(struct netif *netif)
{
netif->name[0] = IFNAME0;
netif->name[1] = IFNAME1;
|
Added original uuid deinitialization without freeing
There is a risk that without uuid.data pointer denitialization it will
be freed during original volume deinit, zeroing uuid.data pointer
prevents that. | @@ -143,6 +143,7 @@ void ocf_volume_move(ocf_volume_t volume, ocf_volume_t from)
*/
from->opened = false;
from->priv = NULL;
+ from->uuid.data = NULL;
}
int ocf_volume_create(ocf_volume_t *volume, ocf_volume_type_t type,
|
Update epsdb passing list | aomp_mappings
+assertok_error
atomic
atomic_double
class
@@ -6,21 +7,30 @@ collapse
data_enter_issue01
data_issue_59
DeclareSharedMemory
+decl_targ
+devices
+extern_init
firstprivate
firstprivate2
flags 1
flags 2
flags 3
flags 4
+flags 5
flags 6
+flags 7
flags 8
+function
function_overload
function_template
gdb_teams
h... |
add: roundps instruction | @@ -515,6 +515,39 @@ void Run660F(x86emu_t *emu)
case 0x3A: // these are some SSE3 opcodes
opcode = F8;
switch(opcode) {
+ case 0x08: // roundps GX, EX, u8
+ nextop = F8;
+ GET_EX;
+ tmp8u = F8;
+ switch((tmp8u & 4) ? ((emu->mxcsr >> 13) & 3) : (tmp8u & 3))
+ {
+ case ROUND_Nearest:
+ GX.f[0] = nearbyint(EX->f[0]);
+ G... |
admin/test-suite: updating version for 2.1 | Summary: Integration test suite for OpenHPC
Name: test-suite%{PROJ_DELIM}
-Version: 2.0.0
+Version: 2.1.0
Release: 1
License: Apache-2.0
Group: %{PROJ_NAME}/admin
|
crsf: moved rx_lqi_update_fps out of conditional statement | @@ -184,8 +184,9 @@ static void rx_serial_crsf_process_frame() {
state.aux[AUX_CHANNEL_10] = (channels[14] > 1100) ? 1 : 0;
state.aux[AUX_CHANNEL_11] = (channels[15] > 1100) ? 1 : 0;
- if (profile.channel.lqi_source == RX_LQI_SOURCE_PACKET_RATE) {
rx_lqi_update_fps(0);
+
+ if (profile.channel.lqi_source == RX_LQI_SOURC... |
Fix typo in statem_clnt.c
CLA: trivial | @@ -1761,7 +1761,7 @@ static MSG_PROCESS_RETURN tls_process_as_hello_retry_request(SSL *s,
return MSG_PROCESS_ERROR;
}
-/* prepare server cert verificaton by setting s->session->peer_chain from pkt */
+/* prepare server cert verification by setting s->session->peer_chain from pkt */
MSG_PROCESS_RETURN tls_process_serve... |
Generate transitions text file for all parsers | import os
import re
-parser = hlir.parsers[0]
-
+for parser in hlir.parsers:
def fmt_key(key):
if key.node_type == 'DefaultExpression':
return '_'
@@ -96,6 +95,6 @@ def simplify_infos(txts):
short_infos = [simplify_infos(info) for info in infos if info != []]
if short_infos != []:
- with open(os.path.join(targetdir, '.... |
Fix: Comment - xTaskIncrementTick loop - to adhere to demo requirement | @@ -366,12 +366,15 @@ uint64_t xExpectedTicks;
/* Tick Increment, accounting for any lost signals or drift in
* the timer. */
- xExpectedTicks = (prvGetTimeNs() - prvStartTimeNs)
- / (portTICK_RATE_MICROSECONDS * 1000);
- do {
+/*
+ * Comment code to adjust timing according to full demo requirements
+ * xExpectedTicks ... |
Check fd value before close call | @@ -535,10 +535,11 @@ nt_free_candidate(struct neat_ctx *ctx, struct neat_he_candidate *candidate)
free(candidate->pollable_socket->dst_address);
free(candidate->pollable_socket->src_address);
+ if (candidate->pollable_socket->fd) {
close(candidate->pollable_socket->fd);
+ }
if (!TAILQ_EMPTY(&(candidate->sock_opts))) {... |
Add information on lockfiles to the man page. | @@ -175,6 +175,18 @@ jpm will attempt to include the dependencies into the generated executable.
Load the current project.janet file and start a repl in it's environment. This lets a user better
debug the project file, as well as run rules manually.
+.TP
+.BR make-lockfile\ [\fBfilename\fR]
+Create a lockfile. A lockfi... |
No longer make extra object files. | @@ -124,14 +124,10 @@ build/webinit.gen.c: src/webclient/webinit.janet build/xxd
###################
TEST_SOURCES=$(wildcard ctest/*.c)
-TEST_OBJECTS=$(patsubst ctest/%.c,build/%.o,$(TEST_SOURCES))
TEST_PROGRAMS=$(patsubst ctest/%.c,build/%.out,$(TEST_SOURCES))
TEST_SCRIPTS=$(wildcard test/suite*.janet)
-build/%.o: cte... |
Mac updates vfs size without filename field | @@ -609,8 +609,8 @@ static void transfer_update_file_info(vfs_file_t file, uint32_t start_sector, ui
}
// Check - stream must be the same
- if (stream != file_transfer_state.stream) {
- vfs_mngr_printf(" error: changed types during transfer from %i to %i\r\n", stream, file_transfer_state.stream);
+ if ((stream != STREA... |
update mcpha/server/Makefile | @@ -3,7 +3,7 @@ CFLAGS = -O3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-
all: mcpha-server pha-server
mcpha-server: mcpha-server.c
- gcc $(CFLAGS) -o $@ $^
+ gcc $(CFLAGS) -o $@ $^ -lm -lpthread
pha-server: pha-server.c
gcc $(CFLAGS) -o $@ $^ -lpthread
|
Fix memory leaks in archivePushDrop().
A string was leaked for every file processed.
Since the list can be quite large it also makes sense to reset the context occasionally. | @@ -66,6 +66,8 @@ archivePushDrop(const String *walPath, const StringList *const processList)
uint64_t queueSize = 0;
bool result = false;
+ MEM_CONTEXT_TEMP_RESET_BEGIN()
+ {
for (unsigned int processIdx = 0; processIdx < strLstSize(processList); processIdx++)
{
queueSize += storageInfoP(
@@ -76,7 +78,12 @@ archivePus... |
CCode: Simplify function `setDefaultConfig` | @@ -61,27 +61,18 @@ extern "C" {
*/
void setDefaultConfig (CCodeData * mapping)
{
- mapping->encode['\b'_uc] = 'b'_uc;
- mapping->encode['\t'_uc] = 't'_uc;
- mapping->encode['\n'_uc] = 'n'_uc;
- mapping->encode['\v'_uc] = 'v'_uc;
- mapping->encode['\f'_uc] = 'f'_uc;
- mapping->encode['\r'_uc] = 'r'_uc;
- mapping->encod... |
[Kernel] New tasks get fresh/empty address spaces | @@ -184,8 +184,8 @@ static task_small_t* _task_spawn__entry_point_with_args(const char* task_name, v
new_task->is_thread = false;
// By definition, a task is identical to a thread except it has its own VAS
- // The new task's address space is a clone of the task that spawned it
- vas_state_t* new_vas = vas_clone(vas_ge... |
weather: fix api call | @@ -23,7 +23,7 @@ export default class WeatherTile extends React.Component {
}, (err) => {
console.log(err);
}, { maximumAge: Infinity, timeout: 10000 });
- this.props.api.weather(latlng);
+ this.props.api.launch.weather(latlng);
this.setState({ manualEntry: !this.state.manualEntry });
});
}
|
Update PACKAGE and PACK documentation | @@ -1946,8 +1946,11 @@ PACKED_PACKAGE_ARGS=
PACKED_PACKAGE_EXT=
### @usage: PACK(archive_type)
###
-### When placed inside the PACKAGE module, packs the build results tree to the archive with specified extension.
-### Is not allowed in other module types.
+### When placed inside the PACKAGE module, packs the build resu... |
move numactl to compute node install group | @@ -16,5 +16,5 @@ PKGLIST="basesystem bash chkconfig coreutils e2fsprogs ethtool
shadow-utils rsyslog tcp_wrappers tzdata util-linux words
zlib tar less gzip which util-linux openssh-clients
openssh-server dhclient pciutils vim-minimal shadow-utils
- strace cronie crontabs cpio wget centos-release numactl"
+ strace cro... |
Document struct API and anonymous struct handling | @@ -131,6 +131,21 @@ glm_mul(T, R, modelMat);
glm_inv_tr(modelMat);
```
+### Struct API
+
+The struct API works as follows, note the `s` suffix on types, the `glms_` prefix on functions and the `GLMS_` prefix on constants:
+
+```C
+#include <cglm/struct.h>
+
+mat4s mat = GLMS_MAT4_IDENTITY_INIT;
+mat4s inv = glms_mat4_... |
misc: update obs url | @@ -39,9 +39,11 @@ if [[ ${USE_FACTORY} -eq 1 ]]; then
fi
for os in ${oses}; do
- repobase="http://build.openhpc.community/OpenHPC:/${minor_ver}${colon}/${factory}${os}"
+ repobase="http://obs.openhpc.community:82/OpenHPC:/%{minor_ver}${colon}/${factory}${os}"
+# repobase="http://build.openhpc.community/OpenHPC:/${mino... |
style: fix documentation consistency for describing clipspace | @@ -68,8 +68,7 @@ glm_ortho_lh_zo(float left, float right,
/*!
* @brief set up orthographic projection matrix using bounding box
- * with a left-hand coordinate system and a clip-space with depth
- * values from zero to one.
+ * with a left-hand coordinate system and a clip-space of [0, 1].
*
* bounding box (AABB) must... |
Test allocation failure handling in DTD elements | @@ -2055,6 +2055,71 @@ START_TEST(test_alloc_internal_entity)
}
END_TEST
+
+/* Test the robustness against allocation failure of element handling
+ * Based on test_dtd_default_handling().
+ */
+START_TEST(test_alloc_dtd_default_handling)
+{
+ XML_Memory_Handling_Suite memsuite = { duff_allocator, realloc, free };
+ con... |
clear uipbuf including its attributes before creating a packet | @@ -1787,6 +1787,9 @@ input(void)
return;
}
+ /* Clear uipbuf and set default attributes */
+ uipbuf_clear();
+
/* This is default uip_buf since we assume that this is not fragmented */
buffer = (uint8_t *)UIP_IP_BUF;
@@ -1821,7 +1824,6 @@ input(void)
}
buffer = frag_info[frag_context].first_frag;
-
break;
case SICSLOW... |
Look for icons with dots in filenames (issue | @@ -356,7 +356,8 @@ IconNode *LoadNamedIconHelper(const char *name, const char *path,
image = NULL;
if(hasExtension) {
image = LoadImage(temp, 0, 0, 1);
- } else {
+ }
+ if(!image) {
for(i = 0; i < EXTENSION_COUNT; i++) {
const unsigned len = strlen(ICON_EXTENSIONS[i]);
memcpy(&temp[pathLength + nameLength], ICON_EXTEN... |
Update sort documentation. | (sort-help a 0 (- (length a) 1) (or by <)))
(defn sort-by
- `Returns a new sorted array that compares elements by invoking
- a function on each element and comparing the result with <.`
+ ``Returns `ind` sorted by calling
+ a function `f` on each element and comparing the result with <.``
[f ind]
(sort ind (fn [x y] (<... |
Update install instructions; add Raspbian Stretch | @@ -7,17 +7,16 @@ As hardware the [RaspBee](https://www.dresden-elektronik.de/raspbee?L=1&ref=gh)
To learn more about the REST API itself please visit the [REST API Documentation](http://dresden-elektronik.github.io/deconz-rest-doc/) page.
-License
-=======
-The plugin is available as open source and licensed under the... |
Report tuple address in data-corruption error message
Most data-corruption reports mention the location of the problem, but
this one failed to. Add it.
Backpatch all the way back. In 12 and older, also assign the
ERRCODE_DATA_CORRUPTED error code as was done in commit for
13 and later.
Discussion: | @@ -426,7 +426,13 @@ tuple_lock_retry:
/* otherwise xmin should not be dirty... */
if (TransactionIdIsValid(SnapshotDirty.xmin))
- elog(ERROR, "t_xmin is uncommitted in tuple to be updated");
+ ereport(ERROR,
+ (errcode(ERRCODE_DATA_CORRUPTED),
+ errmsg_internal("t_xmin %u is uncommitted in tuple (%u,%u) to be updated ... |
example/module: update SYMTAB_SRC dependency to fix FSROOT not populated
In parallel build, for example maix-bit:module config, it reports:
nm: 'a.out': No such file
This is caused by FSROOT not populated with chardev when symtab.c
generated. So update SYMTAB_SRC dependency to fix it. | @@ -122,14 +122,14 @@ endif
# Create the exported symbol table
-$(SYMTAB_SRC): build
+$(SYMTAB_SRC): populate
$(Q) $(DRIVER_DIR)/mksymtab.sh $(FSROOT_DIR) >$@
else
# Create the exported symbol table
-$(SYMTAB_SRC): build populate
+$(SYMTAB_SRC): populate
$(Q) $(DRIVER_DIR)/mksymtab.sh $(FSROOT_DIR) >$@
endif
|
mskmodem/sandbox: removing unused variables, cleaning help() | @@ -45,17 +45,16 @@ void usage()
{
printf("mskmodem_test -- minimum-shift keying modem example\n");
printf("options:\n");
- printf(" h : print help\n");
- printf(" t : filter type: [square], rcos-full, rcos-half, gmsk\n");
- printf(" k : samples/symbol, default: 8\n");
- printf(" b : bits/symbol, default: 1\n");
- prin... |
hv: remove unnecessary ASSERT in vlapic_write
vlapic_write handle 'offset' that is valid and ignore
all other invalid 'offset'. so ASSERT on this 'offset'
input is unnecessary.
This patch removes above ASSERT to avoid potential
hypervisor crash by guest malicious input when debug
build is used. | @@ -1469,9 +1469,6 @@ static int32_t vlapic_write(struct acrn_vlapic *vlapic, uint32_t offset, uint64_
uint32_t data32 = (uint32_t)data;
int32_t ret = 0;
- ASSERT(((offset & 0xfU) == 0U) && (offset < PAGE_SIZE),
- "%s: invalid offset %#x", __func__, offset);
-
dev_dbg(DBG_LEVEL_VLAPIC, "vlapic write offset %#x, data %#... |
Small documentation addition on bringup | @@ -47,8 +47,13 @@ After the harness is created, the ``BundleBridgeSource``'s must be connected to
This is done with harness binders and io binders (see ``fpga/src/main/scala/vcu118/HarnessBinders.scala`` and ``fpga/src/main/scala/vcu118/IOBinders.scala``).
For more information on harness binders and io binders, refer ... |
fix dh_test.
The issues were introduced by commit | @@ -45,7 +45,7 @@ static int dh_test(void)
unsigned char *abuf = NULL;
unsigned char *bbuf = NULL;
int i, alen, blen, aout, bout;
- int ret = 1;
+ int ret = 0;
RAND_seed(rnd_seed, sizeof rnd_seed);
@@ -59,12 +59,14 @@ static int dh_test(void)
if (!DH_check(a, &i))
goto err;
- if (TEST_false(i & DH_CHECK_P_NOT_PRIME)
- ... |
Timing of when the periodic thread starts was commented out in doReset(), affecting child procs. | @@ -1836,7 +1836,7 @@ doReset()
{
g_cfg.pid = getpid();
g_thread.once = 0;
- g_thread.startTime = time(NULL); // + g_thread.interval;
+ g_thread.startTime = time(NULL) + g_thread.interval;
memset(&g_ctrs, 0, sizeof(struct metric_counters_t));
ctlDestroy(&g_ctl);
g_ctl = initCtl(g_staticfg);
|
Fix missing HID mouse destructor call
The destructor unregisters the HID mouse, so it was not reported as a
leak, but it must still be called. | @@ -598,6 +598,9 @@ end:
if (hid_keyboard_initialized) {
sc_hid_keyboard_destroy(&s->keyboard_hid);
}
+ if (hid_mouse_initialized) {
+ sc_hid_mouse_destroy(&s->mouse_hid);
+ }
sc_aoa_stop(&s->aoa);
}
if (acksync) {
|
dpdk: support passing log-level
Since DPDK 17.05, DPDK logging supports per subsystem dynamic logging.
Allow passing this as log-level on EAL command line.
dpdk {
log-level pmd.net.virtio.*:debug
...
} | @@ -49,7 +49,8 @@ _(force-ranks, r)
_(huge-dir) \
_(proc-type) \
_(file-prefix) \
-_(vdev)
+_(vdev) \
+_(log-level)
typedef struct
{
|
Build system: Do not explicitly check for libpoppler-cpp
The cups-filters does not contain any code using libpoppler-cpp,
therefore we let ./configure not check for it. This makes building
distribution packages easier. | @@ -173,9 +173,6 @@ AM_CONDITIONAL([ENABLE_IMAGEFILTERS], [test "x$enable_imagefilters" != "xno"])
AC_ARG_ENABLE(poppler, AS_HELP_STRING([--enable-poppler],[enable Poppler-based filters]),
enable_poppler=$enableval,enable_poppler=yes)
AM_CONDITIONAL(ENABLE_POPPLER, test x$enable_poppler = xyes)
-if test x$enable_popple... |
BugID:17646749:[example]fix productSecret setting absence | @@ -291,9 +291,7 @@ int linkkit_main(void *paras)
HAL_SetProductKey(PRODUCT_KEY);
HAL_SetDeviceName(DEVICE_NAME);
HAL_SetDeviceSecret(DEVICE_SECRET);
-#if defined(SUPPORT_ITLS)
HAL_SetProductSecret(PRODUCT_SECRET);
-#endif
/* Choose Login Server */
int domain_type = IOTX_CLOUD_REGION_SHANGHAI;
IOT_Ioctl(IOTX_IOCTL_SET_... |
[CLI] Add feature to generate wallet address
command keygen generate wallet address to file prefix.addr, if --addr flag is set. | @@ -4,6 +4,7 @@ import (
b64 "encoding/base64"
"encoding/json"
"fmt"
+ "github.com/aergoio/aergo/p2p/p2putil"
"os"
"github.com/aergoio/aergo/account/key"
@@ -24,6 +25,7 @@ var (
genPubkey bool
genID bool
genJSON bool
+ genAddress bool
password string
)
@@ -32,6 +34,7 @@ func init() {
//keygenCmd.Flags().BoolVar(&genPub... |
Set default item value only on ResourceItem creation | @@ -397,15 +397,16 @@ static bool DEV_InitDeviceFromDescription(Device *device, const DeviceDescriptio
{
DBG_Printf(DBG_INFO, "sub-device: %s, create item: %s\n", qPrintable(uniqueId), i.descriptor.suffix);
item = rsub->addItem(i.descriptor.type, i.descriptor.suffix);
- }
- DBG_Assert(item);
- if (item)
- {
if (i.defau... |
session: add handle to disconnect_session_reply api msg. | @@ -520,7 +520,7 @@ vl_api_disconnect_session_t_handler (vl_api_disconnect_session_t * mp)
}
done:
- REPLY_MACRO (VL_API_DISCONNECT_SESSION_REPLY);
+ REPLY_MACRO2 (VL_API_DISCONNECT_SESSION_REPLY, rmp->handle = mp->handle);
}
static void
|
remove macos code that requires xcode | @@ -56,35 +56,36 @@ struct MHD_Daemon** startHttpServer(const char* redirect_uri,
struct MHD_Daemon** oidc_mhd_daemon_ptr = NULL;
#ifdef __APPLE__
-void noteProcDeath(CFFileDescriptorRef fdref, CFOptionFlags callBackTypes,
- void* info) {
- struct kevent kev;
- int fd = CFFileDescriptorGetNativeDescriptor(fdref);
- kev... |
BugID:21247578: [WhiteScan] Fix observe null pointer issue | @@ -611,7 +611,7 @@ void observe_step(lwm2m_context_t * contextP,
break;
}
}
- if ((watcherP->parameters->toSet & LWM2M_ATTR_FLAG_STEP) != 0)
+ if (((watcherP->parameters->toSet & LWM2M_ATTR_FLAG_STEP) != 0) && (dataP != NULL))
{
lwm2m_log(LOG_DEBUG, "Checking step\n");
|
Resolve some GPDB_84_MERGE_FIXMEs in bitmap as well as a minor
possible memory leak.
Author: Xiaoran Wang | @@ -363,26 +363,15 @@ bmendscan(PG_FUNCTION_ARGS)
* release the buffers that have been stored for each related
* bitmap vector.
*/
- if (so->bm_currPos->nvec > 1)
- {
- /* GPDB_84_MERGE_FIXME: does ->bm_batchWords need to be pfree'd? */
- _bitmap_cleanup_batchwords(so->bm_currPos->bm_batchWords);
- }
- _bitmap_cleanup_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.