message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
[kernel] format scheduler log. | @@ -445,8 +445,8 @@ void rt_schedule(void)
/* switch to new thread */
RT_DEBUG_LOG(RT_DEBUG_SCHEDULER,
("[%d]switch to priority#%d "
- "thread:%.*s(sp:0x%p), "
- "from thread:%.*s(sp: 0x%p)\n",
+ "thread:%.*s(sp:0x%08x), "
+ "from thread:%.*s(sp: 0x%08x)\n",
rt_interrupt_nest, highest_ready_priority,
RT_NAME_MAX, to_th... |
error: synchronized naming from documentations | @@ -88,9 +88,9 @@ is the abbreviation for "Code".
- Memory Allocation C01110
- Installation C01200
- Logical C01300
- - Assertion C01310
+ - Internal C01310
- Interface C01320
- - Plugin is Broken C01330
+ - Plugin Misbehavior C01330
- Conflicting State C02000
- Validation C03000
- Syntactic C03100
|
examples/esp_http_client: `output_buffer` isn't necessarily NUL-terminated
Closes
Closes | @@ -603,7 +603,7 @@ static void http_native_request(void)
ESP_LOGI(TAG, "HTTP GET Status = %d, content_length = %d",
esp_http_client_get_status_code(client),
esp_http_client_get_content_length(client));
- ESP_LOG_BUFFER_HEX(TAG, output_buffer, strlen(output_buffer));
+ ESP_LOG_BUFFER_HEX(TAG, output_buffer, data_read);... |
gnutls: Ignore non-fatal errors from gnutls_handshake_write
Ignore non-fatal errors from gnutls_handshake_write. Send alert on
fatal error. | @@ -452,9 +452,14 @@ int ngtcp2_crypto_read_write_crypto_data(ngtcp2_conn *conn,
int rv;
if (datalen > 0) {
- if (gnutls_handshake_write(
+ rv = gnutls_handshake_write(
session, ngtcp2_crypto_gnutls_from_ngtcp2_level(crypto_level), data,
- datalen) != 0) {
+ datalen);
+ if (rv != 0) {
+ if (!gnutls_error_is_fatal(rv)) ... |
TEST: Add missing initialization
Compiler complained. | @@ -303,7 +303,7 @@ static int test_rsa_sslv23(int idx)
static int test_rsa_oaep(int idx)
{
int ret = 0;
- RSA *key;
+ RSA *key = NULL;
unsigned char ptext[256];
unsigned char ctext[256];
static unsigned char ptext_ex[] = "\x54\x85\x9b\x34\x2c\x49\xea\x2a";
|
framework/task_manager: Fix missing deallocation in task_manager_reply_unicast
for fail case, allocated for data and msg should be freed. | @@ -142,6 +142,8 @@ int task_manager_reply_unicast(tm_msg_t *reply_msg)
reply_mqfd = mq_open(TM_UNICAST_MQ, O_WRONLY | O_CREAT, 0666, &attr);
if (reply_mqfd == (mqd_t)ERROR) {
+ TM_FREE(data->msg);
+ TM_FREE(data);
tmdbg("mq_open failed!\n");
return TM_COMMUCATION_FAIL;
}
@@ -149,6 +151,8 @@ int task_manager_reply_unic... |
Remove OPENSSL_assert() from crypto/hmac | @@ -37,7 +37,8 @@ int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
if (key != NULL) {
reset = 1;
j = EVP_MD_block_size(md);
- OPENSSL_assert(j <= (int)sizeof(ctx->key));
+ if (!ossl_assert(j <= (int)sizeof(ctx->key)))
+ goto err;
if (j < len) {
if (!EVP_DigestInit_ex(ctx->md_ctx, md, impl))
goto err;
|
test: expect a HTTPError like we throw now | @@ -48,7 +48,7 @@ class OnlineFetchTest < Rugged::OnlineTestCase
def test_fetch_over_https_with_certificate_callback_fail
@repo.remotes.create("origin", "https://github.com/libgit2/TestGitRepository.git")
- exception = assert_raises Rugged::NetworkError do
+ exception = assert_raises Rugged::HTTPError do
@repo.fetch("o... |
emit an error if the server cannot provide the ELF files | @@ -3725,10 +3725,12 @@ protoop_arg_t process_plugin_validate_frame(picoquic_cnx_t* cnx)
if (strcmp(frame->pid, cnx->quic->plugins_to_inject.elems[i].plugin_name) == 0) {
uint8_t plugin_buffer[MAX_PLUGIN_DATA_LEN];
size_t size_used = 0;
- plugin_prepare_plugin_data_exchange(cnx, cnx->quic->plugins_to_inject.elems[i].pl... |
better to use volatile for asm | #define _ASM_H_
-#define VAR2REG_B(var, reg) asm ("move.b %0, %/"reg"" :: "r" (var) : ""reg"")
-#define VAR2REG_W(var, reg) asm ("move.w %0, %/"reg"" :: "r" (var) : ""reg"")
-#define VAR2REG_L(var, reg) asm ("move.l %0, %/"reg"" :: "r" (var) : ""reg"")
+#define VAR2REG_B(var, reg) asm volatile ("move.b %0, %/"reg"" :: ... |
Fix the checks of X509_REVOKED_add1_ext_i2d | @@ -2479,18 +2479,18 @@ static int make_revoked(X509_REVOKED *rev, const char *str)
rtmp = ASN1_ENUMERATED_new();
if (rtmp == NULL || !ASN1_ENUMERATED_set(rtmp, reason_code))
goto end;
- if (!X509_REVOKED_add1_ext_i2d(rev, NID_crl_reason, rtmp, 0, 0))
+ if (X509_REVOKED_add1_ext_i2d(rev, NID_crl_reason, rtmp, 0, 0) <= ... |
Orchestra: optimize channel offsets of unicast slotframes | #define ORCHESTRA_DEFAULT_COMMON_CHANNEL_OFFSET 1
#endif
-/* Min channel offset for the unicast rules; the default min/max range is [2, 255] */
+/* Min channel offset for the unicast rules; the default min/max range is [2, sizeof(HS)-2].
+ If the HS has less then 3 channels [1, 1] is used instead.
+*/
#ifdef ORCHESTRA_... |
julian date: floor on seconds>=59.5 | @@ -344,8 +344,10 @@ static int select_datetime(grib_accessor* a)
}
for (i=0;i<numberOfSubsets;i++) {
- sprintf( datetime_str, "%04ld/%02ld/%02ld %02ld:%02ld:%02ld",year[i],month[i],day[i],hour[i],minute[i], (long)round(second[i]) );
- julianDT = date_to_julian( year[i],month[i],day[i],hour[i],minute[i],(long)round(sec... |
[apps] Define barrier_init with sleep/wake up functionality | @@ -37,6 +37,21 @@ void mempool_barrier_init(uint32_t core_id, uint32_t num_cores) {
}
}
+
+void mempool_barrier_init_sleep(uint32_t core_id, uint32_t num_cores) {
+ if (core_id == 0) {
+ // Give other cores time to go to sleep
+ mempool_wait(4 * num_cores);
+ barrier = 0;
+ barrier_iteration = 0;
+ barrier_init = 1;
+... |
Add missing LV_GC_INCLUDE | #include "../lv_core/lv_debug.h"
#include "../lv_misc/lv_gc.h"
+#if defined(LV_GC_INCLUDE)
+ #include LV_GC_INCLUDE
+#endif /* LV_ENABLE_GC */
+
/*********************
* DEFINES
*********************/
|
increased eyre hackiness level
more rickety /$ stub to allow ren/collections to build at all
diasable cross-ship builds for requests with extensions, e.g. foo.css | %^ exec-live ay+(dray p+uv+~ q.p.kyz p.u.mez) -.q.u.mez
::
=/ ext %urb-elem ::XX in message?
- =/ fig/coin many+~ ::STUB fcgi params for /$
+ =/ fig/coin (fcgi ~ *cred) ::STUB fcgi params for /$
[%bake ext fig q.u.mez]
::
$got-inner
=+ bem=?-(-.hem $beam p.hem, $spur [-.top (weld p.hem s.top)])
~| bad-beam+q.bem
?< =([... |
Promote --data-checksums to the common set of options in initdb --help
This was previously part of the section dedicated to less common
options, but it is an option commonly used these days.
Author: Michael Banck
Discussion: | @@ -2275,6 +2275,7 @@ usage(const char *progname)
printf(_(" [-D, --pgdata=]DATADIR location for this database cluster\n"));
printf(_(" -E, --encoding=ENCODING set default encoding for new databases\n"));
printf(_(" -g, --allow-group-access allow group read/execute on data directory\n"));
+ printf(_(" -k, --data-checks... |
OcAppleBootCompatLib: Fix null pointer dereference | @@ -537,12 +537,14 @@ OcExitBootServices (
//
// Handle events in case we have any.
//
+ if (BootCompat->Settings.ExitBootServicesHandlers != NULL) {
for (Index = 0; BootCompat->Settings.ExitBootServicesHandlers[Index] != NULL; ++Index) {
BootCompat->Settings.ExitBootServicesHandlers[Index] (
NULL,
BootCompat->Settings... |
tcp_transport: Implement connect timeout
Merges
Closes | @@ -81,15 +81,61 @@ static int tcp_connect(esp_transport_handle_t t, const char *host, int port, int
setsockopt(tcp->sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));
setsockopt(tcp->sock, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv));
- ESP_LOGD(TAG, "[sock=%d],connecting to server IP:%s,Port:%d...",
+ // Set socket to non... |
chat: added ability to blur chat editor | @@ -116,6 +116,9 @@ export default class ChatEditor extends Component {
extraKeys: {
'Enter': () => {
this.submit();
+ },
+ 'Esc': () => {
+ this.editor?.getInputField().blur();
}
}
};
|
arch/arm/src/common : Change user heap definition from USR_HEAP to BASE_HEAP
BASE_HEAP, not USR_HEAP is used for user heap definition in mm.h | @@ -221,11 +221,11 @@ void up_addregion(void)
for (region_cnt = 1; region_cnt < CONFIG_MM_REGIONS; region_cnt++) {
if (heapx_is_init[regionx_heap_idx[region_cnt]] != true) {
- mm_initialize(&USR_HEAP[regionx_heap_idx[region_cnt]], regionx_start[region_cnt], regionx_size[region_cnt]);
+ mm_initialize(&BASE_HEAP[regionx_... |
[viostor] introduce pnp data helpers | @@ -85,6 +85,7 @@ SrbGetPnpInfo(_In_ PVOID Srb, ULONG* PnPFlags, ULONG* PnPAction) {
#define SRB_DATA_TRANSFER_LENGTH(Srb) SrbGetDataTransferLength(Srb)
#define SRB_LENGTH(Srb) SrbGetSrbLength(Srb)
#define SRB_WMI_DATA(Srb) (PSRBEX_DATA_WMI)SrbGetSrbExDataByType((PSTORAGE_REQUEST_BLOCK)Srb, SrbExDataTypeWmi)
+#define S... |
prov: update provider util to be less agressive about changing things unnecessarily | @@ -72,6 +72,9 @@ int ossl_prov_cipher_load_from_params(PROV_CIPHER *pc,
const OSSL_PARAM *p;
const char *propquery;
+ if (params == NULL)
+ return 1;
+
if (!load_common(params, &propquery, &pc->engine))
return 0;
@@ -140,10 +143,12 @@ int ossl_prov_digest_load_from_params(PROV_DIGEST *pd,
const OSSL_PARAM *p;
const ch... |
Try flake8 fix | @@ -16,7 +16,7 @@ except ImportError:
try:
import isitgr
except ImportError:
- pass # If this is required, an error message will be emitted below, but this is necessary to avoid weird nan issues from isitgr functions
+ pass #prevent nans from isitgr
from . import ccllib as lib
from .pyutils import check
|
Apply Hudson's corrections. | @@ -91,17 +91,20 @@ int putnstr_async(const char *str, size_t len, subscribe_cb cb, void* userdata)
}
syscall_return_t com = command2(DRIVER_NUM_CONSOLE, 1, len, 0);
- if (com.type >= TOCK_SYSCALL_SUCCESS) {
+ if (com.type == TOCK_SYSCALL_SUCCESS) {
return TOCK_SUCCESS;
+ } else if (com.type > TOCK_SYSCALL_SUCCESS) {
+... |
sys/log: Add doxygen to new functions | @@ -568,9 +568,33 @@ log_level_set(uint8_t module, uint8_t level)
#endif
#if MYNEWT_VAL(LOG_STORAGE_INFO)
+/**
+ * Return information about log storage
+ *
+ * This return information about size and usage of storage on top of which log
+ * instance is created.
+ *
+ * @param log The log to query.
+ * @param info The de... |
tests: internal: hashtable: check single insert | @@ -83,6 +83,29 @@ void test_create_zero()
TEST_CHECK(ht == NULL);
}
+/* bug 355 */
+void test_single()
+{
+ int ret;
+ char *out_buf;
+ size_t out_size;
+ struct flb_hash *ht;
+
+ ht = flb_hash_create(1);
+ TEST_CHECK(ht != NULL);
+
+ ret = ht_add(ht, "key", "value");
+ TEST_CHECK(ret != -1);
+
+ ret = flb_hash_get(ht... |
More info in serialization exception [cuda/methods/serialization_helper.cpp] | @@ -49,7 +49,8 @@ ui32 NCatboostCuda::UpdateFeatureId(TBinarizedFeaturesManager& featuresManager,
auto& floatInfo = map.FloatFeatures.at(featureId);
const ui32 featureManagerId = featuresManager.GetFeatureManagerIdForFloatFeature(floatInfo.DataProviderId);
CB_ENSURE(floatInfo.Borders == featuresManager.GetBorders(featu... |
Enable invalid param test in sha256 | @@ -18,7 +18,7 @@ void mbedtls_sha1( data_t * src_str, data_t * hash )
}
/* END_CASE */
-/* BEGIN_CASE depends_on:MBEDTLS_SHA256_C:NOT_DEFINED */
+/* BEGIN_CASE depends_on:MBEDTLS_SHA256_C */
void sha256_invalid_param( )
{
mbedtls_sha256_context ctx;
|
Add gif-multiple-loop-counts comments | # Feed this file to script/make-artificial.go
+# This GIF image contains multiple "loop count" entries.
+#
+# The GIF89a specification doesn't discuss loop counts: it is an extension to
+# the format. Neither the official spec nor unofficial documents (e.g.
+# http://www.vurdalakov.net/misc/gif/netscape-looping-applica... |
Using 'armasm' as an assembler for armclang | @@ -29,7 +29,7 @@ toolchain("armclang")
set_toolset("cxx", "armclang")
set_toolset("ld", "armlink")
set_toolset("ar", "armar")
- set_toolset("as", "armclang")
+ set_toolset("as", "armasm")
on_check(function (toolchain)
import("lib.detect.find_tool")
@@ -59,7 +59,7 @@ toolchain("armclang")
toolchain:add("cxflags", "-tar... |
RP2: Don't build sensor.c if it's disabled. | *
* Sensor abstraction layer for nRF port.
*/
+#if MICROPY_PY_SENSOR
#include <stdio.h>
#include <string.h>
#include <stdint.h>
@@ -1075,3 +1076,4 @@ int sensor_snapshot(sensor_t *sensor, image_t *image, uint32_t flags)
return 0;
}
+#endif
|
iOS: modify Podfile for app template | @@ -26,7 +26,7 @@ post_install do |installer|
# modify OTHER_LDFLAGS
config_line = build_settings['OTHER_LDFLAGS']
if (config_line != nil)
- config_line = config_line.gsub("$(inherited) -ObjC ","")
+ config_line = config_line.gsub("$(inherited) ","")
build_settings['OTHER_LDFLAGS'] = config_line
puts "updated OTHER_LDF... |
platforms: disabling sshd | @@ -174,8 +174,8 @@ let bin_rcce_lu = [ "/sbin/" ++ f | f <- [
-- List of modules that are arch-independent and always built
modules_generic = [
"/eclipseclp_ramfs.cpio.gz",
- "/skb_ramfs.cpio.gz",
- "/sshd_ramfs.cpio.gz" ]
+ "/skb_ramfs.cpio.gz" ]
+-- "/sshd_ramfs.cpio.gz" ]
-- x86_64-specific modules to build by defa... |
updates for 4.4 | @@ -50,7 +50,7 @@ function bv_nektarpp_info
export NEKTAR_PLUS_PLUS_FILE=${NEKTAR_PLUS_PLUS_FILE:-"nektar-${NEKTAR_PLUS_PLUS_VERSION}.tar.gz"}
export NEKTAR_PLUS_PLUS_COMPATIBILITY_VERSION=${NEKTAR_PLUS_PLUS_COMPATIBILITY_VERSION:-"4.4"}
export NEKTAR_PLUS_PLUS_BUILD_DIR=${NEKTAR_PLUS_PLUS_BUILD_DIR:-"nektar++-${NEKTAR... |
Sync sig handler naming. | @@ -181,7 +181,7 @@ static int open_handlers(void)
return num_good;
}
-static gboolean sighandler(gpointer user_data)
+static gboolean handle_sig(gpointer user_data)
{
tcmu_dbg("Have received signal!\n");
@@ -1120,8 +1120,8 @@ int main(int argc, char **argv)
}
loop = g_main_loop_new(NULL, FALSE);
- if (g_unix_signal_ad... |
fix double communication when not all required scopes could be eregistered, leading to strange effects | @@ -565,9 +565,10 @@ void oidcd_handleRegister(struct ipcPipe pipes, const char* account_json,
// did not get all scopes necessary for oidc-agent
oidc_errno = OIDC_EUNSCOPE;
ipc_writeToPipe(pipes, RESPONSE_ERROR_CLIENT, oidc_serror(), res);
+ } else {
+ ipc_writeToPipe(pipes, RESPONSE_SUCCESS_CLIENT, res);
}
secFree(sc... |
Allow Tuya devices to poll onOff attribute
This should generally be allowed for Tuya devices as well. The code handles any non-existance, so no polling will occur if the on/off cluster doesn't exist. | @@ -276,19 +276,10 @@ void PollManager::pollTimerFired()
}
if (suffix == RStateOn && lightNode)
- {
- item = r->item(RAttrModelId);
-
- if (UseTuyaCluster(lightNode->manufacturer()))
- {
- //Thoses devices haven't cluster 0006, and use Cluster specific
- }
- else
{
clusterId = ONOFF_CLUSTER_ID;
attributes.push_back(0x0... |
logger: control: use hudelements | @@ -202,7 +202,7 @@ void Logger::stop_logging() {
#endif
}
clear_log_data();
- control_client_check(m_params->control, global_control_client, gpu.c_str());
+ control_client_check(HUDElements.params->control, global_control_client, gpu.c_str());
const char * cmd = "LoggingFinished";
control_send(global_control_client, c... |
Update spell checker exclusion. | @@ -1711,6 +1711,7 @@ pxtask
pxtaskbuffer
pxtaskcode
pxtaskdefinition
+pxtaskin
pxtaskstatus
pxtaskstatusarray
pxtasktag
@@ -2310,6 +2311,8 @@ ullporttaskhasfpucontext
ulmair
ulmask
ulmatchvalueforonetick
+ulnumberofheapallocations
+ulnumberofheapfrees
ulong
ulparameter
ulparameters
@@ -2342,6 +2345,8 @@ ultasknotifyva... |
Prevent selecting tiles outside of sprite tileset | @@ -48,8 +48,11 @@ const SpriteTilePalette = ({ id }: SpriteTilePaletteProps) => {
const currentTargetRect = e.currentTarget.getBoundingClientRect();
const offsetX =
Math.floor((e.pageX - currentTargetRect.left) / 8 / zoom) * 8;
- const offsetY =
- Math.floor((e.pageY - currentTargetRect.top) / 8 / zoom) * 8;
+ const o... |
Load vector form of ewb->error_weights | @@ -155,8 +155,7 @@ static bool realign_weights(
vfloat4 color = color_base + color_offset * plane_weight;
vfloat4 origcolor = blk->texel(texel);
- vfloat4 error_weight = vfloat4(ewb->texel_weight_r[texel], ewb->texel_weight_g[texel],
- ewb->texel_weight_b[texel], ewb->texel_weight_a[texel]);
+ vfloat4 error_weight = e... |
Travis: Truncate list of plugins for Haskell job | @@ -144,7 +144,7 @@ before_script:
- |
if [[ $HASKELL == ON ]]; then
bindings="haskell"
- plugins="resolver_fm_hpu_b;dump;ini;dini;sync;error;hosts;list;glob;profile;spec;network;tracer;timeofday;base64;haskell"
+ plugins="resolver_fm_hpu_b;dump;sync;error;list;spec"
tools="kdb"
fi
- |
|
vtx: ensure transfer flag is only cleared on TC | @@ -82,7 +82,6 @@ void vtx_uart_isr() {
if (vtx_frame_offset < vtx_frame_length) {
LL_USART_TransmitData8(USART.channel, vtx_frame[vtx_frame_offset]);
vtx_frame_offset++;
- vtx_transfer_done = 0;
}
if (vtx_frame_offset == vtx_frame_length) {
LL_USART_DisableIT_TXE(USART.channel);
|
hw/bus: Fix typo | @@ -221,7 +221,7 @@ bus_node_unlock(struct os_dev *node);
/**
* Get node configured lock timeout
*
- * Returns lock timeout as configured for node. If not timeout is configured for
+ * Returns lock timeout as configured for node. If no timeout is configured for
* give node or no node is specified, default timeout is re... |
Add WASIENV option | @@ -23,6 +23,14 @@ if(EMSCRIPTEN)
set(APP_DIR "platforms/emscripten")
endif()
+if(WASIENV)
+ set(CMAKE_C_COMPILER "wasicc")
+ set(CMAKE_CXX_COMPILER "wasic++")
+
+ set(OUT_FILE "wasm3.wasm")
+ set(APP_DIR "platforms/emscripten")
+endif()
+
if(M EQUAL 32)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
endif()
|
fix : esp_partition_find missing `` `` | @@ -121,7 +121,7 @@ and perform operations on them. These functions are declared in ``esp_partition.
- :cpp:func:`esp_partition_next` advances iterator to the next partition found
- :cpp:func:`esp_partition_iterator_release` releases iterator returned by ``esp_partition_find``
- :cpp:func:`esp_partition_find_first` is ... |
Add proximity to Subpaths; | @@ -32,6 +32,7 @@ const char* Subpaths[] = {
[PATH_HANDS] = "hands",
[PATH_LEFT] = "left",
[PATH_RIGHT] = "right",
+ [PATH_PROXIMITY] = "proximity",
[PATH_TRIGGER] = "trigger",
[PATH_TRACKPAD] = "trackpad",
[PATH_MENU] = "menu",
|
hatch: Enable extpwrlimit option in ectool
BRANCH=hatch
TEST=ectool extpwrlimit 3000 5000
Tested-by: Shelley Chen | /* Common charger defines */
#define CONFIG_CHARGE_MANAGER
+#define CONFIG_CHARGE_MANAGER_EXTERNAL_POWER_LIMIT
#define CONFIG_CHARGER
#define CONFIG_CHARGER_BQ25710
#define CONFIG_CHARGER_DISCHARGE_ON_AC
|
* vscode settings cleanup | "astyle.astylerc": "${workspaceRoot}/.astylerc",
"astyle.c.enable": true,
"astyle.cpp.enable": true,
- "clang.cflags": [
- "-D_GNU_SOURCE",
- "-D_LARGEFILE_SOURCE",
- "-D_FILE_OFFSET_BITS=64",
- "-DIW_64",
- "-std=gnu11",
- "-Wc99-compat",
- "-Wall",
- "-Wcast-qual",
- "-Wunused",
- "-Wnonportable-system-include-path",... |
Directory Value: Remove unused code | @@ -157,50 +157,6 @@ CppKey convertToDirectChild (CppKey const & parent, CppKey const & child)
return directChild;
}
-/**
- * @brief This function checks if `element` is an array element of `parent`.
- *
- * @pre The key `child` must be below `parent`.
- *
- * @param parent This parameter specifies a parent key.
- * @p... |
breakwater: update README (support NIC hardware timestamp) | @@ -30,7 +30,7 @@ client, or agent machines.
0. Install dependencies
```
$ sudo apt-get update
-$ sudo apt-get install -y libnuma-dev libaio1 libaio-dev uuid-dev libcunit1 libcunit1-doc libcunit1-dev libmnl-dev cmake python3 python3-pip
+$ sudo apt-get install -y libnuma-dev libaio1 libaio-dev uuid-dev libcunit1 libcun... |
SOVERSION bump to version 4.3.0 | @@ -38,8 +38,8 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# Major version is changed with every backward non-compatible API/ABI change, minor version changes
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJ... |
Yan LR: Fix incorrect reference test data | #define PREFIX "user/tests/yanlr/"
ksNew (10,
- keyNew (PREFIX, KEY_VALUE, "@CONFIG_FILEPATH@", KEY_META, "array", "#0", KEY_END),
+ keyNew (PREFIX, KEY_VALUE, "@CONFIG_FILEPATH@", KEY_META, "array", "#1", KEY_END),
keyNew (PREFIX "#0/bla", KEY_VALUE, "blubb", KEY_END),
keyNew (PREFIX "#1", KEY_META, "array", "#0", KEY... |
Change scan to 10000 blocks | @@ -741,7 +741,7 @@ bool IsNameFeeEnough(const CTransaction& tx, const NameTxInfo& nti, const CBlock
//LogPrintf("IsNameFeeEnough(): pindexBlock->nHeight = %d, op = %s, nameSize = %lu, valueSize = %lu, nRentalDays = %d, txFee = %"PRI64d"\n",
// lastPoW->nHeight, nameFromOp(nti.op), nti.name.size(), nti.value.size(), nt... |
graph-push-hook: find group associated with app resource | /+ store=graph-store
+/+ met=metadata
/+ res=resource
/+ graph
/+ group
==
::
+$ agent (push-hook:push-hook config)
+::
+++ is-member
+ |= [=resource:res =bowl:gall]
+ ^- ?
+ =/ grp ~(. group bowl)
+ =/ group-paths (groups-from-resource:met [%graph (en-path:res resource)])
+ ?~ group-paths %.n
+ (is-member:grp src.bowl... |
hark-graph-hook: use %mention type for +is-mention | ^- ?
?. mentions %.n
?~ contents %.n
- ?. ?=(%text -.i.contents)
+ ?. ?=(%mention -.i.contents)
$(contents t.contents)
- =/ res
- (find (scow %p our.bowl) (trip text.i.contents))
- ?^ res
+ ?: =(our.bowl ship.i.contents)
%.y
$(contents t.contents)
::
|
fixed rules files for LDS | ATTRS{idVendor}=="0483" ATTRS{idProduct}=="5740", ENV{ID_MM_DEVICE_IGNORE}="1", MODE:="0666"
ATTRS{idVendor}=="0483" ATTRS{idProduct}=="df11", MODE:="0666"
-ATTRS{idVendor}=="FFF1" ATTRS{idProduct}=="FF48", ENV{ID_MM_DEVICE_IGNORE}="1", MODE:="0666"
-ATTRS{idVendor}=="10C4" ATTRS{idProduct}=="EA60", ENV{ID_MM_DEVICE_IG... |
virtio: fix the NULL deference
Type: fix | @@ -1219,6 +1219,7 @@ virtio_pci_delete_if (vlib_main_t * vm, virtio_if_t * vif)
if (vif->features & VIRTIO_FEATURE (VIRTIO_NET_F_CTRL_VQ))
vif->virtio_pci_func->del_queue (vm, vif, vif->max_queue_pairs * 2);
+ if (vif->virtio_pci_func)
vif->virtio_pci_func->device_reset (vm, vif);
if (vif->hw_if_index)
|
board/panqueque/board.c: Format with clang-format
BRANCH=none
TEST=none | @@ -135,8 +135,7 @@ struct ppc_config_t ppc_chips[] = {
* PS8802 set mux board tuning.
* Adds in board specific gain and DP lane count configuration
*/
-static int board_ps8822_mux_set(const struct usb_mux *me,
- mux_state_t mux_state)
+static int board_ps8822_mux_set(const struct usb_mux *me, mux_state_t mux_state)
{
... |
Added LCD Touch Int pin to ioconfig. During testing GT911 would not come out of reset because INT pin could not be driven low or high. | @@ -449,6 +449,9 @@ static void imxrt_lcd_pins_init(void)
IOMUXC_SetPinMux(
IOMUXC_GPIO_AD_B0_02_GPIO1_IO02, /* GPIO_AD_B0_02 is configured as GPIO1_IO02 */
0U); /* Software Input On Field: Input Path is determined by functionality */
+ IOMUXC_SetPinMux(
+ IOMUXC_GPIO_AD_B0_11_GPIO1_IO11, /* GPIO_AD_B0_11 is configured... |
Update networks.json
This is a merge from 3.1RC | {
"name": "host_llnl_closed_agate.xml"
},
- {
- "name": "host_llnl_closed_cmax.xml"
- },
{
"name": "host_llnl_closed_jade.xml"
},
{
"name": "host_llnl_closed_sierra.xml"
},
+ {
+ "name": "host_llnl_closed_tron.xml"
+ },
{
"name": "host_llnl_closed_zin.xml"
},
|
Fix obsolete comments referencing JoinPathExtraData.extra_lateral_rels.
That field went away in commit but it seems that
commit re-introduced some comments mentioning it.
Noted by James Coleman, though this isn't exactly his
proposed new wording. Also thanks to Justin Pryzby for
software archaeology.
Discussion: | @@ -670,8 +670,8 @@ try_partial_nestloop_path(PlannerInfo *root,
/*
* If the inner path is parameterized, the parameterization must be fully
* satisfied by the proposed outer path. Parameterized partial paths are
- * not supported. The caller should already have verified that no
- * extra_lateral_rels are required here... |
Fix lv_label_set_text() crash
This routine tried to optimize a special case of setting the label text to the same address as previously set, but it did not consider whether the prior set was static and tried to realloc non-allocated memory. | @@ -188,7 +188,7 @@ void lv_label_set_text(lv_obj_t * label, const char * text)
LV_ASSERT_STR(text);
- if(ext->text == text) {
+ if(ext->text == text && ext->static_txt == 0) {
/*If set its own text then reallocate it (maybe its size changed)*/
ext->text = lv_mem_realloc(ext->text, strlen(ext->text) + 1);
LV_ASSERT_MEM... |
deps: Check helm chart version in install doc. | @@ -168,3 +168,9 @@ dependencies:
refPaths:
- path: hack/ci/install-cri-o.sh
match: BOM_VERSION
+
+ - name: spo-current-release
+ version: v0.4.3
+ refPaths:
+ - path: installation-usage.md
+ match: ^helm install security-profiles-operator
|
[tools] Fix eclipse configuration for libs. | @@ -181,6 +181,7 @@ def HandleToolOption(tools, env, project, reset):
if tool.get('id').find('c.linker') != -1:
options = tool.findall('option')
for option in options:
+ # update linker script config
if option.get('id').find('c.linker.scriptfile') != -1:
linker_script = 'link.lds'
items = env['LINKFLAGS'].split(' ')
@@... |
DatafariUI upgraded to 1.0
remove developers section | <cassandra.sha512>2890c054666afa93fe2978c46da5db15ed7d11d60f4890574dc642bd81f7b3af40b41d3e5b8245e6c1453a165eddebeb28bcf3fef1a2b2fc6fb3b82058d7ceb0</cassandra.sha512>
<cassandra.driver.version>4.13.0</cassandra.driver.version>
<datafari.version>6.0-dev-Community</datafari.version>
- <datafariui.version>1.0.0-beta-0.7.0<... |
hw/bsp/dialog: Update default path for flash loader
Recent versions of newt include repository name in generated files path. | @@ -46,7 +46,7 @@ JLINK_LOG_FILE=.jlink_log
# flash_loader build for this BSP
if [ -z $FLASH_LOADER ]; then
FL_TGT=da1469x_flash_loader
- FLASH_LOADER=$BIN_ROOT/targets/$FL_TGT/app/apps/flash_loader/flash_loader.elf
+ FLASH_LOADER=$BIN_ROOT/targets/$FL_TGT/app/@apache-mynewt-core/apps/flash_loader/flash_loader.elf
fi
i... |
use static buffer when resetting state | @@ -160,6 +160,11 @@ static inline task_s pop_task(void) {
to_free = deferred.reader;
deferred.reader = deferred.reader->next;
} else {
+ if (deferred.reader != &static_queue && static_queue.state == 2) {
+ to_free = deferred.reader;
+ deferred.writer = &static_queue;
+ deferred.reader = &static_queue;
+ }
deferred.rea... |
try bootstrapping libgcc_s1 on sles | @@ -98,7 +98,7 @@ cp /etc/zypp/zypp.conf $SINGULARITY_ROOTFS/$ZYPP_CONF
echo 'cachedir=/var/cache/zypp-bootstrap' >> "$SINGULARITY_ROOTFS/$ZYPP_CONF"
cp /etc/zypp/repos.d/* $SINGULARITY_ROOTFS/$ZYPP_CONF_DIRNAME/repos.d/.
-if ! eval "$INSTALL_CMD -c $SINGULARITY_ROOTFS/$ZYPP_CONF --root $SINGULARITY_ROOTFS --gpg-auto-i... |
Try adding west update. | @@ -4,6 +4,7 @@ build:
before_script:
- west init -m https://github.com/petejohanson/zephyr --mr driver-kscan-gpio-matrix-first-pass
+ - west update .
script:
- west build -b nucelo_wb55rg -- -DSHIELD=petejohanson_handwire
|
Add documentation for SSL_SESSION_set_cipher() | =head1 NAME
-SSL_SESSION_get0_cipher - retrieve the SSL cipher associated with a session
+SSL_SESSION_get0_cipher,
+SSL_SESSION_set_cipher
+- set and retrieve the SSL cipher associated with a session
=head1 SYNOPSIS
#include <openssl/ssl.h>
const SSL_CIPHER *SSL_SESSION_get0_cipher(const SSL_SESSION *s);
+ int SSL_SESS... |
Correct package name in Debian changelog | -box86 (0.1.6) unstable; urgency=low
+box64 (0.1.6) unstable; urgency=low
* Introduce "HotPage", to temporarily disable Dynarec on a page were writing is also occuring (can help speed up C# code)
* Some work on Dynarec to limit the number of mutex use, and also allow smaller block to be built (for JIT'd programs)
|
VOM: missing GBP symbol | @@ -31,7 +31,8 @@ const gbp_subnet::type_t gbp_subnet::type_t::STITCHED_INTERNAL(
const gbp_subnet::type_t gbp_subnet::type_t::STITCHED_EXTERNAL(
1,
"stitched-external");
-const gbp_subnet::type_t gbp_subnet::type_t::TRANSPORT(1, "transport");
+const gbp_subnet::type_t gbp_subnet::type_t::TRANSPORT(2, "transport");
+co... |
fix(docs): Improve powershell command for setup script for failure cases | @@ -82,7 +82,7 @@ bash -c "$(wget https://zmk.dev/setup.sh -O -)" '' --wget
<TabItem value="PowerShell">
```
-iex ((New-Object System.Net.WebClient).DownloadString('https://zmk.dev/setup.ps1'))
+powershell -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://zmk.dev/setup.ps1'))"
```
</TabItem>
|
Look for parallelism preserving fusion only when a there is no parallel hyperplane for an SCC | @@ -1763,7 +1763,7 @@ bool colour_scc_cluster (int scc_id, int *colour, int current_colour, PlutoProg*
}
printf("Colouring Scc %d with colour %d \n", scc_id, current_colour);
- if (options->fuse == TYPED_FUSE && sccs[scc_id].is_parallel) {
+ if (options->fuse == TYPED_FUSE && sccs[scc_id].is_parallel && !sccs[scc_id].h... |
BugID:17401890: fix the problem of IMCOMPATIBLE_CAST | @@ -120,10 +120,15 @@ SysTime_t SysTimeGet( void )
SysTime_t calendarTime = { .Seconds = 0, .SubSeconds = 0 };
SysTime_t sysTime = { .Seconds = 0, .SubSeconds = 0 };
SysTime_t deltaTime;
+ uint32_t deltaSeconds;
+ uint32_t deltaSubSeconds;
calendarTime.Seconds = RtcGetCalendarTime( ( uint16_t* )&calendarTime.SubSeconds... |
add actual rate defaults | #define BF_EXPO_PITCH 0.40
#define BF_EXPO_YAW 0.40
+// ******************** ACTUAL_RATES ********************
+#define ACTUAL_CENTER_SENS_ROLL 250
+#define ACTUAL_CENTER_SENS_PITCH 250
+#define ACTUAL_CENTER_SENS_YAW 250
+
+#define ACTUAL_MAX_RATE_ROLL 860.0
+#define ACTUAL_MAX_RATE_PITCH 860.0
+#define ACTUAL_MAX_RAT... |
Add description of AOMP_CHECK_GIT_BRANCH to build previous versions of AOMP without incorrect branch build errors. | @@ -111,6 +111,7 @@ The development version is the next version to be released. It is possible that
```
git checkout rel_11.5-0
git pull
+ export AOMP_CHECK_GIT_BRANCH=0 //Tags will be used to checkout various repos. This will ignore the detached head state to avoid build errors.
```
<b>Clone and Build:</b>
```
|
ssl_tls13_parse_certificate_verify(): optimize the code | @@ -257,13 +257,8 @@ static int ssl_tls13_parse_certificate_verify( mbedtls_ssl_context *ssl,
if( sig_alg == MBEDTLS_PK_RSASSA_PSS )
{
rsassa_pss_options.mgf1_hash_id = md_alg;
- psa_algorithm_t psa_alg = mbedtls_psa_translate_md( md_alg );
- if( psa_alg == 0 )
- {
- return( MBEDTLS_ERR_SSL_INTERNAL_ERROR );
- }
- rsas... |
CI: CMake build for Pico W and Pico. | @@ -10,17 +10,15 @@ env:
jobs:
build:
- name: ${{matrix.name}}
+ name: ${{matrix.name}} (C++)
+ runs-on: ubuntu-20.04
strategy:
matrix:
include:
- - os: ubuntu-20.04
- name: Linux
- cache-key: linux
- cmake-args: '-DPICO_SDK_PATH=$GITHUB_WORKSPACE/pico-sdk -DPICO_SDK_POST_LIST_DIRS=$GITHUB_WORKSPACE/pico-extras'
- apt-... |
Test attribute value of a predefined entity with a duff allocator | @@ -7413,6 +7413,39 @@ START_TEST(test_alloc_attribute_whitespace)
#undef MAX_ALLOC_COUNT
END_TEST
+START_TEST(test_alloc_attribute_predefined_entity)
+{
+ const char *text = "<doc a='&'></doc>";
+ int i;
+#define MAX_ALLOC_COUNT 10
+ int repeat = 0;
+
+ for (i = 0; i < MAX_ALLOC_COUNT; i++) {
+ /* Repeat some coun... |
Stop matching on a pattern, thus avoid MonadFail
This no longer works in GHC 8.6, and was bad practice anyway.
Fixes: | @@ -37,6 +37,7 @@ module Foreign.Lua.CoreTests (tests) where
import Prelude hiding (compare)
import Control.Monad (forM_)
+import Data.Maybe (fromMaybe)
import Data.Monoid ((<>))
import Foreign.Lua as Lua
import Test.HsLua.Arbitrary ()
@@ -225,7 +226,8 @@ tests = testGroup "Core module"
getglobal "coroutine"
getfield s... |
Ensure netlib will not be broken when setip will not bring the network up anymore | @@ -159,6 +159,11 @@ static void netest_initialize(void)
netlib_set_ipv6netmask("eth0",
(FAR const struct in6_addr *)g_ipv6_netmask);
+ /* New versions of netlib_set_ipv6addr will not bring the network up,
+ * So ensure the network is really up at this point. */
+
+ netlib_ifup("eth0");
+
#endif /* CONFIG_NET_ICMPv6_AU... |
Debugging: cosmetics | @@ -48,7 +48,9 @@ void grib_dependency_add(grib_accessor* observer, grib_accessor* observed)
grib_dependency* d = h->dependencies;
grib_dependency* last = 0;
- /*printf("observe %p %p %s %s\n",(void*)observed,(void*)observer, observed?observed->name:"NULL",
+ /*printf("grib_dependency_add: observe %p %p observed=%s obs... |
tests: python3 changes for load balancer test
Type: fix | @@ -200,7 +200,7 @@ class TestLB(VppTestCase):
# This is just to roughly check that the balancing algorithm
# is not completely biased.
for asid in self.ass:
- if load[asid] < len(self.packets) / (len(self.ass) * 2):
+ if load[asid] < int(len(self.packets) / (len(self.ass) * 2)):
self.logger.error(
"ASS is not balanced... |
zephyr: 96b_carbon: use flash defines from DTS | #define FLASH_DRIVER_NAME CONFIG_SOC_FLASH_STM32_DEV_NAME
#endif
#define FLASH_ALIGN 1
-#define FLASH_AREA_IMAGE_0_OFFSET 0x20000
-#define FLASH_AREA_IMAGE_0_SIZE 0x20000
-#define FLASH_AREA_IMAGE_1_OFFSET 0x40000
-#define FLASH_AREA_IMAGE_1_SIZE 0x20000
-#define FLASH_AREA_IMAGE_SCRATCH_OFFSET 0x60000
-#define FLASH_A... |
Avoid mentioning ctrl_str in the MAC documentation.
Change to mentioning params instead. | @@ -49,7 +49,7 @@ Output the MAC in binary form. Uses hexadecimal text format if not specified.
Passes options to the MAC algorithm.
A comprehensive list of controls can be found in the EVP_MAC implementation
documentation.
-Common control strings used by EVP_MAC_ctrl_str() are:
+Common parameter names used by EVP_MAC_... |
refactor(common/third-party/curl-websocket-utils.c): replace sha1 encrypting logic with sha1.c d297e | #include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
-
-#ifdef BEARSSL
-#include <bearssl_hash.h>
-
-static void
-_cws_sha1(const void *input, const size_t input_len, void *output)
-{
- br_sha1_context cxt;
- br_sha1_init(&cxt);
- br_sha1_update(&cxt, input, input_len);
- br_sha1_out(&cxt, output);
-}
-#elif de... |
env: Ensure that env_strncpy() always produces NULL-terminated string | @@ -618,7 +618,8 @@ static inline void env_sort(void *base, size_t num, size_t size,
#define env_strnlen(s, smax) strnlen(s, smax)
#define env_strncmp strncmp
#define env_strncpy(dest, dmax, src, slen) ({ \
- strncpy(dest, src, min(dmax, slen)); \
+ strncpy(dest, src, min(dmax - 1, slen)); \
+ dest[dmax - 1] = '\0'; \
... |
removed warning about out of sequence packets until we find a solution to detect them correct | @@ -230,7 +230,6 @@ static long int usernamecount;
static uint64_t rcgapmax;
static long int taglenerrorcount;
-static long int sequenceerrorcount;
static long int essidcount;
static long int essiderrorcount;
static long int essiddupemax;
@@ -240,7 +239,6 @@ static long int malformedcount;
static uint64_t timestampstar... |
extmod/modmotor: error check run_until_stalled
Settings setters may return errors, which must be raised. | @@ -368,7 +368,7 @@ STATIC mp_obj_t motor_Motor_run_until_stalled(size_t n_args, const mp_obj_t *pos
user_limit = user_limit > 100 ? 100 : user_limit;
// Apply the user limit
- pbio_control_settings_set_limits(&self->srv->control.settings, _speed, _acceleration, user_limit);
+ pb_assert(pbio_control_settings_set_limits... |
validation BUGFIX appending to empty data tree | @@ -1101,7 +1101,7 @@ _lyd_validate(struct lyd_node **tree, const struct lys_module **modules, int mod
if (!mod) {
break;
}
- if (first == *tree) {
+ if (!first || (first == *tree)) {
/* make sure first2 changes are carried to tree */
first2 = tree;
} else {
|
Fix link in README.md
Fix wiki link to Session Management page | @@ -39,7 +39,7 @@ of claims provided in the `id_token`/ `userinfo` claims.
- [OAuth 2.0 Multiple Response Type Encoding Practices 1.0](http://openid.net/specs/oauth-v2-multiple-response-types-1_0.html)
- [OAuth 2.0 Form Post Response Mode 1.0](http://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html)
- [RFC7 7... |
doc: Expand/simplify libelektra config section | @@ -173,13 +173,12 @@ This section describes how to replicate the current Jenkins configuration.
The `libelektra` build job is a multibranch pipeline job.
It is easiest to add via the BlueOcean interface.
-The newly added job can afterwards configured.
-All options have a helptext next to them explaining what the setti... |
[MQTT5] Doxygen | @@ -623,6 +623,7 @@ mqtt_status_t mqtt_register(struct mqtt_connection *conn,
* from the client. Shall be min 1.5 x report interval.
* \param clean_session Request a new session and discard pending messages with
* QoS > 0, as well as client subscriptions
+ * \param prop_list Output properties (MQTTv5-only).
* \return M... |
nimble/ll: Send number of events in case of advertising timeout
We shall send number of advertising events in case max number of events
was specified and timeout due to duration was reached. Since events
counter is only increased if max number of events was specified, we do
not need extra checks here. | @@ -3041,7 +3041,8 @@ ble_ll_adv_done(struct ble_ll_adv_sm *advsm)
if ((advsm->props & BLE_HCI_LE_SET_EXT_ADV_PROP_LEGACY) &&
(advsm->flags & BLE_LL_ADV_SM_FLAG_ADV_TERMINATE_EVT)) {
ble_ll_hci_ev_send_adv_set_terminated(BLE_ERR_DIR_ADV_TMO,
- advsm->adv_instance, 0, 0);
+ advsm->adv_instance, 0,
+ advsm->events);
/*
*... |
fix overlay behaviour with fullscreen apps | @@ -411,11 +411,21 @@ showoverlay() {
if (!overlayexists() || selmon->overlaystatus)
return;
+ int yoffset = selmon->showbar ? bh : 0;
+
+ Client *c;
+ for (c = selmon->clients; c; c = c->next) {
+ if (c->tags & (1 << (selmon->pertag->curtag - 1)) && c->isfullscreen) {
+ yoffset = 0;
+ break;
+ }
+ }
+
for (m = mons; m... |
docs: Remove references to jenkinsfile job and and add new | @@ -145,14 +145,7 @@ phrases:
* jenkins build [multiconfig-gcc47-cmake-options](https://build.libelektra.org/job/elektra-multiconfig-gcc47-cmake-options/) please
* jenkins build [source-package-test](https://build.libelektra.org/job/elektra-source-package-test/) please
* jenkins build [homepage](https://build.libelektr... |
Fix a possible integer overflow in long_c2i
Credit to OSS-Fuzz for finding this. | @@ -149,6 +149,10 @@ static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
utmp |= cont[i];
}
ltmp = (long)utmp;
+ if (ltmp < 0) {
+ ASN1err(ASN1_F_LONG_C2I, ASN1_R_INTEGER_TOO_LARGE_FOR_LONG);
+ return 0;
+ }
if (neg) {
ltmp = -ltmp;
ltmp--;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.