message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
odissey: drop server connection left in copy mode | @@ -321,6 +321,13 @@ int od_bereset(od_server_t *server)
od_serverpool_set(&route->server_pool, server,
OD_SRESET);
+ /* server left in copy mode */
+ if (server->is_copy) {
+ od_debug(&pooler->od->log, server->io,
+ "S (reset): copy is active, dropping");
+ goto drop;
+ }
+
/* support route rollback off */
if (! route... |
wsman-faults: add missing entries to faults translation table | @@ -126,9 +126,13 @@ WsmanFaultDetailTable fault_detail_table[] =
// WS-Trust
{WST_DETAIL_UNSUPPORTED_TOKENTYPE, "UnsupportedTokenType"},
+ // WS_Policy
+ {WSP_DETAIL_INVALID_EPR, "InvalidEPR"},
+
// OpenWSMAN
{ OWSMAN_DETAIL_ENDPOINT_ERROR, "Unknown" },
- { OWSMAN_NO_DETAILS, "Unknown" }
+ { OWSMAN_NO_DETAILS, "Unknow... |
Updated some comments. Still trying to figure out why the CI tests fail when they all pass locally... | @@ -349,6 +349,7 @@ TASK: if not already there, make a table of comoving distances and of E(a)
void ccl_cosmology_compute_distances(ccl_cosmology * cosmo, int *status)
{
+
//Do nothing if everything is computed already
if(cosmo->computed_distances)
return;
@@ -365,7 +366,7 @@ void ccl_cosmology_compute_distances(ccl_co... |
Tweak MQTT setup in Enviro+ example | @@ -80,7 +80,7 @@ pms5003 = PMS5003(
)
# sets up MQTT
-mqtt_client = umqtt.simple.MQTTClient(client_id=CLIENT_ID, server=SERVER_ADDRESS, user=MQTT_USERNAME, password=MQTT_PASSWORD)
+mqtt_client = umqtt.simple.MQTTClient(client_id=CLIENT_ID, server=SERVER_ADDRESS, user=MQTT_USERNAME, password=MQTT_PASSWORD, keepalive=30... |
security: remove cflag _FORTIFY_SOURCE in hypervisor
_FORTIFY_SOURCE is a Glibc feature which adds memory
and string function protection, this flag is only for
Glibc. The _FORTIFY_SOURCE is not used by hypervisor
because hypervisor is not include Glibc.
Acked-by: Anthony Xu | @@ -51,7 +51,6 @@ CFLAGS += -fsigned-char
CFLAGS += -m64 -mno-mmx -mno-sse -mno-sse2 -mno-80387 -mno-fp-ret-in-387
CFLAGS += -mno-red-zone
CFLAGS += -nostdinc -nostdlib -fno-common
-CFLAGS += -O2 -D_FORTIFY_SOURCE=2
CFLAGS += -Wformat -Wformat-security -Werror
ifeq (y, $(CONFIG_RELOC))
CFLAGS += -fpie
|
BugID:19347851: support windows cmd build mk3060 | ifeq ($(HOST_OS),Win32)
ENCRYPT := "$($(HOST_MCU_FAMILY)_LOCATION)/encrypt_win.exe"
-DD_CMD = dd if=/dev/zero of=$(TMP_BIN_OUTPUT_FILE) bs=28 count=1
-CAT_CMD= cat $(TMP_BIN_OUTPUT_FILE) $(BIN_OUTPUT_FILE) > $(PAD_BIN_OUTPUT_FILE)
+DD_CMD = $(TOOLS_ROOT)/cmd/win32/dd.exe if=/dev/zero of=$(TMP_BIN_OUTPUT_FILE) bs=28 cou... |
naive: l2 csv remove scag on logs for testing | =/ m (strand ,vase)
^- form:m
;< =events bind:m (scry events /gx/azimuth/logs/noun)
- =/ events (scag 50 events)
=/ [naive-contract=address chain-id=@]
[naive chain-id]:(get-network:dice net)
=/ snap=snap-state:dice snap
|
chat: toggle input out of code mode after sending
Closes Code input would stick after sending a code message, so we
now toggle out of it if we were in it, on enter. | @@ -319,8 +319,12 @@ export class ChatInput extends Component {
extraKeys: {
Tab: cm =>
this.patpAutocomplete(cm.getValue(), true),
- 'Enter': cm =>
- this.messageSubmit(),
+ 'Enter': () => {
+ this.messageSubmit();
+ if (this.state.code) {
+ this.toggleCode();
+ }
+ },
'Shift-3': cm =>
cm.getValue().length === 0
? thi... |
build MAINTENANCE rename callgrind header vars | @@ -239,7 +239,7 @@ if(ENABLE_TESTS)
endif()
if(ENABLE_PERF_TESTS)
- find_path(CALLGRIND_INCLUDE_DIR
+ find_path(VALGRIND_INCLUDE_DIR
NAMES
valgrind/callgrind.h
PATHS
@@ -249,10 +249,10 @@ if(ENABLE_PERF_TESTS)
/sw/include
${CMAKE_INCLUDE_PATH}
${CMAKE_INSTALL_PREFIX}/include)
- if(CALLGRIND_INCLUDE_DIR)
+ if(VALGRIND_... |
Fix SUSE dependencies to contemplate both python and python3 scripts. | @@ -110,7 +110,7 @@ endif
RPM_SUSE_DEPENDS = autoconf automake bison ccache chrpath distribution-release gcc6 glibc-devel-static
RPM_SUSE_DEPENDS += java-1_8_0-openjdk-devel libopenssl-devel libtool make openssl-devel
-RPM_SUSE_DEPENDS += python-devel python-pip python-rpm-macros shadow nasm libnuma-devel python3
+RPM_... |
github: Update changelog. | "on_property": "title"
},
{
- "pattern": "(^ports)\/(.+):",
+ "pattern": "(^ports)(.+):",
"method": "replace",
"target": "$1",
"on_property": "title"
|
Use symbolic constant | @@ -1166,11 +1166,11 @@ const float *get_2d_percentile_table(
unsigned int xdim,
unsigned int ydim
) {
- float* unpacked_table = new float[2048];
+ float* unpacked_table = new float[WEIGHTS_MAX_BLOCK_MODES];
const packed_percentile_table *apt = get_packed_table(xdim, ydim);
// Set the default percentile
- for (unsigned... |
[tvmknife] Version up: 1.1.1
Note: mandatory check (NEED_CHECK) was skipped | },
"tvmknife": {
"formula": {
- "sandbox_id": [440269656],
+ "sandbox_id": [453840958],
"match": "tvmknife"
},
"executable": {
|
apps/bttester: Fix min key size | @@ -187,7 +187,7 @@ static const struct ble_gatt_svc_def gatt_svr_svcs[] = {
BLE_GATT_CHR_F_READ |
BLE_GATT_CHR_F_WRITE |
BLE_GATT_CHR_F_WRITE_ENC,
- .min_key_size = 0x16,
+ .min_key_size = 16,
}, {
.uuid = PTS_UUID_DECLARE(PTS_LONG_CHR_READ_WRITE),
.access_cb = gatt_svr_read_write_long_test,
|
Set dirty shutdown status on standby init
Since part of the recovery is done during `standby init`, the correct shutdown
status has to be set | @@ -1997,6 +1997,22 @@ static void _ocf_mngt_load_unsafe_complete(void *priv, int error)
ocf_pipeline_next(context->pipeline);
}
+static void _ocf_mngt_standby_init_properties(ocf_pipeline_t pipeline,
+ void *priv, ocf_pipeline_arg_t arg)
+{
+ struct ocf_cache_attach_context *context = priv;
+ ocf_cache_t cache = conte... |
fix param passed to assert_valid_block, should be block not ptr | @@ -205,7 +205,7 @@ void multi_heap_free_impl(multi_heap_handle_t heap, void *p)
return;
}
- assert_valid_block(heap, p);
+ assert_valid_block(heap, block_from_ptr(p));
multi_heap_internal_lock(heap);
heap->free_bytes += tlsf_block_size(p);
@@ -221,7 +221,7 @@ void *multi_heap_realloc_impl(multi_heap_handle_t heap, voi... |
test: format output for CI | ++ on-peek on-peek:def
++ on-agent on-agent:def
++ on-arvo
+ => |%
+ ++ report
+ |* [=path ok=?]
+ =/ =tank leaf+"{?:(ok "built " "FAILED")} {(spud path)}"
+ ~>(%slog.[0 tank] same)
+ --
+ ::
|= [=wire =sign-arvo]
^- [(list card) _this]
- ?. ?=([%build *] wire)
- (on-arvo:def wire sign-arvo)
- ?. ?=(%writ +<.sign-arvo)... |
decisions: clarify "In Progress" | @@ -13,7 +13,7 @@ flowchart LR
Additionally, decision that are not yet "Decided" can be become "Rejected" or "Delayed" at any point.
-> The first PR for a decision must always create the decision in the "Draft" state.
+> The first PR for a decision must always create the decision in the "Drafts" state.
> If during the ... |
perf-tools/msr-safe: update kernel version to match CI | @@ -37,7 +37,7 @@ BuildRequires: kernel-default-devel
%endif
%if 0%{?centos_version} == 800
-%define centos_kernel 4.18.0-147.8.1.el8_1
+%define centos_kernel 4.18.0-147.5.1.el8_1
BuildRequires: kernel = %{centos_kernel}
BuildRequires: kernel-devel = %{centos_kernel}
BuildRequires: kernel-abi-whitelists kernel-rpm-macr... |
Disable missing-field-initializers warnings in unit testing.
This warning gives very unpredictable results between compiler versions and seems unrealistic since most of our structs are zeroed for initialization.
This warning has been disabled in the Makefile for a long time. | @@ -404,9 +404,8 @@ sub run
' -Wformat-signedness' : '') .
($self->{oTest}->{&TEST_VM} eq VM_U18 ?
' -Wduplicated-branches -Wduplicated-cond' : '') .
- # This warning appears to be broken on U12/CO6 even though the functionality is fine
- ($self->{oTest}->{&TEST_VM} eq VM_U12 || $self->{oTest}->{&TEST_VM} eq VM_CO6 ?
-... |
Limit keybind check to about 10hz | @@ -13,7 +13,12 @@ void check_keybinds(struct swapchain_stats& sw_stats, struct overlay_params& par
auto elapsedReloadCfg = now - reload_cfg_press;
auto elapsedUpload = now - last_upload_press;
- auto keyPressDelay = 500ms;
+ static Clock::time_point last_check;
+ if (now - last_check < 100ms)
+ return;
+ last_check = ... |
[Sensor] Support custom commands for rt_sensor_control | @@ -307,7 +307,7 @@ static rt_err_t rt_sensor_control(rt_device_t dev, int cmd, void *args)
case RT_SENSOR_CTRL_GET_ID:
if (args)
{
- sensor->ops->control(sensor, RT_SENSOR_CTRL_GET_ID, args);
+ result = sensor->ops->control(sensor, RT_SENSOR_CTRL_GET_ID, args);
}
break;
case RT_SENSOR_CTRL_GET_INFO:
@@ -352,7 +352,10 ... |
Increased the number of MAX_IGNORE_IPS to 1024 + 128. | #define MAX_LINE_CONF 512
#define MAX_EXTENSIONS 128
-#define MAX_IGNORE_IPS 64
+#define MAX_IGNORE_IPS 1024 + 128
#define MAX_IGNORE_REF 64
#define MAX_CUSTOM_COLORS 64
#define MAX_IGNORE_STATUS 64
|
CI: Increase stack size for efuse unit test
"Batch mode is thread-safe" case would occasionally cause a stackoverflow.
Increased stack size. | @@ -696,8 +696,8 @@ TEST_CASE("Batch mode is thread-safe", "[efuse]")
sema = xSemaphoreCreateBinary();
printf("\n");
- xTaskCreatePinnedToCore(task1, "task1", 2048, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 0);
- xTaskCreatePinnedToCore(task2, "task2", 2048, NULL, UNITY_FREERTOS_PRIORITY - 1, NULL, 1);
+ xTaskCreatePinn... |
[Kernel] To check object re-initialization in the list | @@ -240,6 +240,7 @@ void rt_object_init(struct rt_object *object,
const char *name)
{
register rt_base_t temp;
+ struct rt_list_node *node = RT_NULL;
struct rt_object_information *information;
#ifdef RT_USING_MODULE
struct rt_dlmodule *module = dlmodule_self();
@@ -249,14 +250,26 @@ void rt_object_init(struct rt_object... |
ivshmem: specify PnpLockDown=1 in INF
Fixes Warning 1324. | @@ -20,6 +20,7 @@ ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%VENDOR%
CatalogFile=ivshmem.cat
DriverVer=01/01/2008,0.0.0.1 ; this line will be replaced with stampinf
+PnpLockDown=1
[DestinationDirs]
DefaultDestDir = 12
|
Documentation adjustment | /// In such case, they shall be filled with 0 (or whatever is the neutral value in your context)
/// and the constant_mask shall be set.
///
-/// Audio ports are initially in the active state.
-/// Audio ports state should not be saved in the plugin state, so the host must restore the
+/// Audio ports are initially in ... |
Disable Coverity in Travis-CI. | @@ -64,12 +64,15 @@ env:
# via the "travis encrypt" command using the project repo's public key
- secure: "JWobvJ94pWt/xVciQURkNFS3I+gyu2IyZPKYEs6HDlHrpHs4BoVDZeRjmgx0s6aDeQjKJHowGDu17IlbnCkKzXrZErEJkA+Oc/d0SwgXKiUU9WYiaGBJjJUoYZw66QIEuGGKkF4uQ7EIcW/vN7wzrCDyAiPeOPUjVP4Tc2XRzmkSfakfmf9cE5nqT84DPUYiRegM7iepMrZi9kEaAoboB... |
Minor performance improvements to the `ZydisPrintHexU` function | @@ -136,7 +136,6 @@ ZydisStatus ZydisPrintHexU32(char** buffer, size_t bufferLen, uint32_t value, ui
return ZYDIS_STATUS_SUCCESS;
}
- char temp[ZYDIS_MAXCHARS_HEX_32];
uint8_t n = 0;
for (int8_t i = ZYDIS_MAXCHARS_HEX_32 - 1; i >= 0; --i)
{
@@ -151,26 +150,23 @@ ZydisStatus ZydisPrintHexU32(char** buffer, size_t buffer... |
Update module provider FileVersionInfo to native paths | @@ -622,7 +622,7 @@ VOID PhModuleProviderUpdate(
moduleItem->FileName = module->FileName;
moduleItem->ParentBaseAddress = module->ParentBaseAddress;
- PhInitializeImageVersionInfo(&moduleItem->VersionInfo, moduleItem->FileNameWin32->Buffer);
+ PhInitializeImageVersionInfoEx(&moduleItem->VersionInfo, moduleItem->FileNam... |
Update file loader test with new module naming schema. | @@ -51,7 +51,7 @@ TEST_F(file_loader_test, DefaultConstructor)
EXPECT_EQ((int) 0, (int) loader_load_from_file(tag, scripts, size, NULL));
- void * handle = loader_get_handle(tag, "favicon");
+ void * handle = loader_get_handle(tag, scripts[0]);
EXPECT_NE((void *) NULL, (void *) handle);
|
sysrepo FEATURE better conn/session creation messages | @@ -222,6 +222,8 @@ sr_connect(const sr_conn_options_t opts, sr_conn_ctx_t **conn_p)
goto cleanup_unlock;
}
+ SR_LOG_INF("Connection %" PRIu32 " created.", conn->cid);
+
cleanup_unlock:
/* CREATE UNLOCK */
sr_shmmain_createunlock(conn->main_create_lock);
@@ -381,7 +383,7 @@ sr_session_start(sr_conn_ctx_t *conn, const s... |
Handle QUICLY_ERROR_STATE_EXHAUSTION errors
h2o_quic_send, process_packets: Handle fatal errors by immediately destroying the
connection | @@ -630,9 +630,16 @@ static void process_packets(h2o_quic_ctx_t *ctx, quicly_address_t *destaddr, qui
size_t i;
Receive:
for (i = 0; i != num_packets; ++i) {
- /* FIXME process errors? */
- if (i != accepted_packet_index)
- quicly_receive(conn->quic, &destaddr->sa, &srcaddr->sa, packets + i);
+ if (i != accepted_packet... |
Accepts PINGs in handshake contexts | @@ -4153,8 +4153,7 @@ int picoquic_decode_frames(picoquic_cnx_t* cnx, uint8_t* bytes,
picoquic_varint_decode(bytes, bytes_max - bytes, &frame_type);
if (epoch != 1 && epoch != 3 && frame_type != picoquic_frame_type_padding
- && frame_type != picoquic_frame_type_path_challenge
- && frame_type != picoquic_frame_type_path... |
Don't allow A button to interact with collision actors | @@ -60,7 +60,7 @@ void Update_TopDown() {
// Find actor in front of player
hit_actor = ActorInFrontOfPlayer();
- if (hit_actor != NO_ACTOR_COLLISON) {
+ if (hit_actor != NO_ACTOR_COLLISON && !actors[hit_actor].collision_group) {
// Turn actor to face player
actors[hit_actor].dir.x = -player.dir.x;
actors[hit_actor].dir... |
Remove Claw reader test from skip list on Windows. | {"category":"databases","file":"silo_altdriver.py","cases":["silo_05","silo_06"]},
{"category":"meshtype","file":"emptydomains.py","cases":["meshtype_emptydomains_05","meshtype_emptydomains_06"]},
{"category":"databases","file":"zipwrapper.py"},
- {"category":"databases","file":"claw.py","platform":"win"},
{"category":... |
ORB: Gaussian smooth the image once before keypoints extraction. | @@ -363,6 +363,10 @@ array_t *orb_find_keypoints(image_t *img, bool normalized, int threshold, rectan
int octave = 1;
rectangle_t roi_scaled;
+
+ // Gaussian smooth the image before extracting keypoints
+ imlib_morph(img, 1, kernel_gauss_3, 1.0f/99.0f, 0.0f);
+
for(float scale=1.0f, scale_factor = 1.25f; ; scale*=scale... |
fix possible memory leak if report level not set | @@ -145,11 +145,12 @@ static void event_handler(void *arg, esp_event_base_t event_base,
static void ftm_process_report(void)
{
int i;
- char *log = malloc(200);
+ char *log = NULL;
if (!g_report_lvl)
return;
+ log = malloc(200);
if (!log) {
ESP_LOGE(TAG_STA, "Failed to alloc buffer for FTM report");
return;
|
nrf/modules/uos/microbitfs: Fix errno defines.
Probably broken after the recent Clang fixes to errno.h. | @@ -404,7 +404,7 @@ STATIC int advance(file_descriptor_obj *self, uint32_t n, bool write) {
if (next_chunk == FILE_NOT_FOUND) {
clear_file(self->start_chunk);
self->open = false;
- return ENOSPC;
+ return MP_ENOSPC;
}
// Link next chunk to this one
flash_write_byte((uint32_t)&(file_system_chunks[self->seek_chunk].next_... |
DM: Fix minor issue of USB vendor ID
Provide a minor fix for following issue:
Emulated USB controller Vendor ID and Device ID are swapped. | @@ -4036,8 +4036,8 @@ pci_xhci_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)
xdev->excap_ptr = excap_group_dft;
- xdev->vid = XHCI_PCI_DEVICE_ID_DFLT;
- xdev->pid = XHCI_PCI_VENDOR_ID_DFLT;
+ xdev->vid = XHCI_PCI_VENDOR_ID_DFLT;
+ xdev->pid = XHCI_PCI_DEVICE_ID_DFLT;
xdev->rtsregs.mfindex = 0;
clock_gettime... |
printer json BUGFIX invalid empty list print | @@ -773,14 +773,8 @@ json_print_leaf_list(struct jsonpr_ctx *pctx, const struct lyd_node *node)
}
if (node->schema->nodetype == LYS_LIST) {
- if (!lyd_child(node)) {
- /* empty, e.g. in case of filter */
- ly_print_(pctx->out, "%s%snull", (pctx->level_printed >= pctx->level) ? "," : "", DO_FORMAT ? " " : "");
- LEVEL_P... |
bricks/ev3dev/speaker: split language and voice variant
Although these are one argument in espeak, these are two completely different settings. | @@ -40,8 +40,9 @@ typedef struct _ev3dev_Speaker_obj_t {
mp_obj_base_t base;
bool intialized;
int beep_fd;
- const char *voice;
- mp_obj_t voice_obj;
+ char language[10];
+ char voice[10];
+ char voice_setting[21];
char speed[8];
char pitch[8];
gboolean aplay_busy;
@@ -66,7 +67,8 @@ STATIC mp_obj_t ev3dev_Speaker_make_... |
Use CSTRING macro | @@ -14,7 +14,7 @@ static Value setCWDNative(int argCount, Value *args) {
return EMPTY_VAL;
}
- char *dir = AS_STRING(args[0])->chars;
+ char *dir = AS_CSTRING(args[0]);
int retval = chdir(dir);
|
fix geprcf405 targets.json | },
{
"name": "geprcf405",
+ "configurations": [
+ {
+ "name": "brushless.serial",
"defines":{
"BRUSHLESS_TARGET": "",
"RX_UNIFIED_SERIAL": ""
}
}
]
+ }
+]
\ No newline at end of file
|
always do ASLR in secure mode even in debug mode (issue | @@ -472,7 +472,7 @@ static void* mi_os_get_aligned_hint(size_t try_alignment, size_t size) {
uintptr_t hint = mi_atomic_add_acq_rel(&aligned_base, size);
if (hint == 0 || hint > ((intptr_t)30<<40)) { // try to wrap around after 30TiB (area after 32TiB is used for huge OS pages)
uintptr_t init = ((uintptr_t)4 << 40); //... |
Fixed building with epoll (broken in 92b4984ca3c1). | @@ -1122,7 +1122,7 @@ nxt_epoll_edge_event_conn_connected(nxt_task_t *task, void *obj, void *data)
if (!c->socket.epoll_error) {
c->socket.write = NXT_EVENT_BLOCKED;
- if (c->write_state->autoreset_timer) {
+ if (c->write_state->timer_autoreset) {
nxt_timer_disable(task->thread->engine, &c->write_timer);
}
|
Fixed documentation of new -C|--compiled-rules command-line option | @@ -57,7 +57,7 @@ Available options are:
Print rules named <identifier> and ignore the rest.
-.. option:: -c --count
+.. option:: -C --compiled-rules
RULES_FILE contains rules already compiled with yarac.
|
migration: adding crash fix | ~& migrating/src.bol
=. wait (~(del in wait) src.bol)
:_ state
- :- [%give %fact ~[/wait] ships+!>(wait)]
+ :- [%give %fact ~[/wait] ships+!>(~(tap in wait))]
(~(migrate-ship gladio bol) src.bol)
:_ state
~[(backoff-migrate src.bol)]
|
Update README.md for 4.0 release | @@ -58,7 +58,7 @@ from 0.89 bits/pixel up to 8 bits/pixel.
Release build binaries for the `astcenc` stable releases are provided in the
[GitHub Releases page][3].
-**Latest 4.x stable release:** TBD
+**Latest 4.x stable release:** 4.0
* Change log: [4.x series](./Docs/ChangeLog-4x.md)
**Latest 3.x stable release:** 3.7... |
removed one latch stage for RC reset | @@ -465,7 +465,6 @@ SIGNAL led_blue: std_logic_vector(0 TO 1);
-- NVME Reset Logic -- only for NVME_USED=TRUE
SIGNAL nvme_reset_cnt_q : std_logic_vector(15 DOWNTO 0) := (OTHERS => '1'); -- only for NVME_USED=TRUE
SIGNAL nvme_reset_n_q : std_logic := '1'; -- only for NVME_USED=TRUE
-SIGNAL nvme_reset_n_qq : std_logic :=... |
Fix compile warnings on AppleClang | @@ -296,8 +296,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-tautological-type-limit-compare>"
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-cast-qual>"
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-reserved-identifier>"
- " $<$<CXX_COMPILER_ID:Clang>: -Wno-missing-prototypes>"
- " $... |
Weekly Release Build | @@ -27,6 +27,15 @@ pr:
- docs/*
- README.md
+# Periodically rebuild release branches to make sure they are functional.
+schedules:
+- cron: "0 0 * * Mon"
+ displayName: Weekly Release Build
+ branches:
+ include:
+ - release/*
+ always: true
+
name: 0.$(Date:yyyy).$(Date:MM).$(DayOfMonth).$(Rev:rr).0
resources:
@@ -323... |
Use multiples of ten in record tests | @@ -939,9 +939,9 @@ describe("Pallene coder /", function()
it("(__index) works for records with a lot of fields", function()
run_test([[
- local big = test.make_big(1, 2, 3, 4, 5, 6, 7, 8, 9)
+ local big = test.make_big(10, 20, 30, 40, 50, 60, 70, 80, 90)
for i = 1, 9 do
- assert(i == big['f' .. i])
+ assert(i * 10 == ... |
Add Python 2.7 support in build.macosx-x86_64.sh. | @@ -106,6 +106,7 @@ BUILD_PYTHON() {
url="PYTHON${1}${2}_URL"
if [ ${1} = "3" ]; then v="3"; else v=""; fi
if [ ${1} = "3" ]; then m="m"; else m=""; fi
+ if [ ${1} = "3" ]; then s="35"; else s="27"; fi
basedir="/opt/python/Frameworks/Python.framework/Versions/${1}.${2}"
BUILD_RUN_DELETE \
"FROM fzwoch/osxcross:latest
@... |
Badger2040: Fix ebook.py missing lines for | @@ -196,7 +196,7 @@ def render_page():
row += 1
# Have we reached the end of the page?
- if (row * TEXT_SPACING) + (TEXT_SPACING // 2) > HEIGHT:
+ if (row * TEXT_SPACING) + TEXT_SPACING >= HEIGHT:
print("+++++")
display.update()
@@ -212,7 +212,7 @@ def render_page():
if add_newline:
print("")
row += 1
- if (row * TEXT_... |
EPEL repo is required in the chroot for nagios plugins, fping and qstat | @@ -12,6 +12,7 @@ the chroot.
\begin{lstlisting}[language=bash,literate={-}{-}1,keywords={},upquote=true]
[sms](*\#*) yum-config-manager --installroot=$CHROOT --enable base
[sms](*\#*) cp /etc/yum.repos.d/OpenHPC.repo $CHROOT/etc/yum.repos.d
+[sms](*\#*) cp /etc/yum.repos.d/epel.repo $CHROOT/etc/yum.repos.d
\end{lstlis... |
FIOBJ instead `fiobj_s *` | # Change Log
-### Ver. 0.6.0 (ReHTTP branch)
+### Ver. 0.6.0 (upcoming release)
**Fix**: (`websocket_parser`) The websocket parser had a memory offset and alignment handling issue in it's unmasking (XOR) logic and the new memory alignment protection code. The issue would impact the parser in rare occasions when multipl... |
Include the configuration condition for ExternalWarningLevel. | end
- function m.externalWarningLevel(cfg)
+ function m.externalWarningLevel(cfg, condition)
if _ACTION >= "vs2022" then
local map = { Off = "TurnOffAllWarnings", High = "Level4", Extra = "Level4", Everything = "Level4" }
- m.element("ExternalWarningLevel", nil, map[cfg.externalwarnings] or "Level3")
+ m.element("Exter... |
vere: fix -j help text | @@ -398,7 +398,7 @@ u3_ve_usage(c3_i argc, c3_c** argv)
"-e url Ethereum gateway\n",
"-F ship Fake keys; also disables networking\n",
"-g Set GC flag\n",
- "-j file Create json trace file\n",
+ "-j Create json trace file in .urb/put/trace\n",
"-K stage Start at Hoon kernel version stage\n",
"-k keys Private key file\n"... |
Added missing button defines for sensortag/cc2650 Board | @@ -97,6 +97,8 @@ extern "C" {
#define Board_PIN_BUTTON0 CC2650STK_KEY_LEFT
#define Board_PIN_BUTTON1 CC2650STK_KEY_RIGHT
+#define Board_PIN_BTN1 CC2650STK_KEY_LEFT
+#define Board_PIN_BTN2 CC2650STK_KEY_RIGHT
#define Board_PIN_LED0 CC2650STK_PIN_LED0
#define Board_PIN_LED1 CC2650STK_PIN_LED1
#define Board_PIN_LED2 CC26... |
Update how lms.c imports platform.h | #include "mbedtls/error.h"
#include "mbedtls/platform_util.h"
-#if defined(MBEDTLS_PLATFORM_C)
#include "mbedtls/platform.h"
-#else
-#include <stdlib.h>
-#include <stdio.h>
-#define mbedtls_printf printf
-#define mbedtls_calloc calloc
-#define mbedtls_free free
-#endif
#define SIG_Q_LEAF_ID_OFFSET (0)
#define SIG_OTS_S... |
Fix crash when viewing handle properties with an unknown type | @@ -359,7 +359,11 @@ VOID PhpUpdateHandleGeneralListViewGroups(
NULL
);
- if (PhEqualString2(Context->HandleItem->TypeName, L"ALPC Port", TRUE))
+ if (PhIsNullOrEmptyString(Context->HandleItem->TypeName))
+ {
+ NOTHING;
+ }
+ else if (PhEqualString2(Context->HandleItem->TypeName, L"ALPC Port", TRUE))
{
PhAddListViewGro... |
Add some nvram variables to DataHubTest | @@ -80,6 +80,23 @@ TestDataHub (
OC_CPU_INFO CpuInfo;
OcCpuScanProcessor (&CpuInfo);
UpdateDataHub (&Data, &CpuInfo);
+
+ //TODO: put elsewhere
+ {
+ STATIC UINT32 Attributes = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS;
+ STATIC CHAR8 Mlb[] = "MLBSERIAL";
+ STATIC UINT8 Rom[] = {0, 0, 0, 0, 0, 0};
+... |
Update bitstream constraints for AD8K5 | #
#-----------------------------------------------------------
-set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
-set_property BITSTREAM.CONFIG.EXTMASTERCCLK_EN {DIV-4} [current_design]
-set_property CONFIG_MODE BPI16 [current_design]
-set_property BITSTREAM.CONFIG.BPI_SYNC_MODE DISABLE [current_design] ;#... |
Define terms the first time we use them | # SIMD Everywhere
-SIMDe provides fast, portable implementations of SIMD intrinsics on
-hardware which doesn't natively support them, such as calling SSE
+The SIMDe header-only library provides fast, portable implementations of
+[SIMD intrinsics](https://en.wikipedia.org/wiki/SIMD) on hardware which
+doesn't natively s... |
Build: Always use correct `RPATH` on macOS
After this commit the installed version of `kdb` works without any
changes to the library path on macOS, even if we specify a custom
install location via `CMAKE_INSTALL_PREFIX`.
This update fixes | @@ -7,6 +7,7 @@ project (Elektra)
#fix macOS RPATH issues
set(CMAKE_MACOSX_RPATH 1)
+SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
#additional modules for loading libraries
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
|
print if a plugin triggers an error | @@ -543,6 +543,9 @@ protoop_arg_t plugin_run_protoop(picoquic_cnx_t *cnx, const protoop_params_t *pp
DBG_PLUGIN_PRINTF("Running pluglet at proto op id %s", pid);
cnx->current_plugin = popst->replace->p;
status = (protoop_arg_t) exec_loaded_code(popst->replace, (void *)cnx, (void *)cnx->current_plugin->memory, sizeof(cn... |
Fix path in CI test script for new sha3 directory structure | @@ -69,7 +69,7 @@ case $1 in
export LD_LIBRARY_PATH=$LOCAL_ESP_DIR/lib
export PATH=$RISCV/bin:$PATH
(cd $LOCAL_CHIPYARD_DIR/generators/sha3/software && ./build.sh)
- $LOCAL_SIM_DIR/simulator-chipyard-Sha3RocketConfig $LOCAL_CHIPYARD_DIR/generators/sha3/software/benchmarks/bare/sha3-rocc.riscv
+ $LOCAL_SIM_DIR/simulator... |
Removed TODO regarding Mono. | @@ -617,7 +617,6 @@ if(TINYSPLINE_CXX_AVAILABLE AND TARGET_SUPPORTS_SHARED_LIBS)
)
# C# DLL
- # XXX Should also allow for Mono-based compilation
find_program(TINYSPLINE_CSHARP_COMPILER
NAMES csc mcs dmcs gmcs
PATHS "C:/Windows/Microsoft.NET/Framework/v3.5"
|
VERSION bump version to 0.10.23 | @@ -29,7 +29,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 10)
-set(LIBNETCONF2_MICRO_VERSION 22)
+set(LIBNETCONF2_MICRO_VERSION 23)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(L... |
Fix typo in ASYNC_WAIT_CTX_new.pod doc
For the function that get the changed fds, it should be
'ASYNC_WAIT_CTX_get_changed_fds()' instead of 'ASYNC_WAIT_CTX_fds_have_changed()'.
CLA: trivial | @@ -57,7 +57,7 @@ asynchronous engine is being used then normally this call will only ever return
one fd. If multiple asynchronous engines are being used then more could be
returned.
-The function ASYNC_WAIT_CTX_fds_have_changed() can be used to detect if any fds
+The function ASYNC_WAIT_CTX_get_changed_fds() can be us... |
remove strip call from Makefile | @@ -99,12 +99,6 @@ kadnode: build/main.o $(OBJS) $(EXTRA)
clean:
rm -rf build/*
-strip:
- strip build/kadnode 2> /dev/null || true
- strip build/libkadnode.a 2> /dev/null || true
- strip build/libkadnode.so 2> /dev/null || true
- strip build/libnss_kadnode.so.2 2> /dev/null || true
-
manpage:
ronn --roff --manual=Kadno... |
v1.2.12-pre1, see ChangeLog for detz | v1.2.11
+ o Grab reference to bufferevent during write. (a976a2f Marcus Sundberg)
+ o add thread exit callback for cleaning (0c7d9c4 jgli)
+ o fix memory leak (a6b00cc jgli)
+ o fix thread exit callback type (c8978b6 jgli)
+ o Updates for threading functionality. (b634002 Mark Ellzey)
+ o Added evhtp_accept_socket (a49... |
add windows name for CMAKE_HOST_SYSTEM_PROCESSOR | diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ce08409..a118b48 100755
+index ce08409..f5359c9 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,7 +181,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
@@ -8,7 +8,7 @@ index ce08409..a118b48 100755
if (IS64BIT)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -... |
common/files: dict key can be anuthing different than = | @@ -340,7 +340,7 @@ bool files_parseDictionary(honggfuzz_t * hfuzz)
char bufn[1025] = { 0 };
char bufv[1025] = { 0 };
if (sscanf(lineptr, "\"%1024[^\"]\"", bufv) != 1 &&
- sscanf(lineptr, "%1024[a-zA-Z0-9_-]=\"%1024[^\"]\"", bufn, bufv) != 2) {
+ sscanf(lineptr, "%1024[^=]=\"%1024[^\"]\"", bufn, bufv) != 2) {
LOG_W("In... |
motorcontrol: remove debugprint | @@ -310,35 +310,6 @@ pbio_error_t make_motor_trajectory(pbio_port_t port,
// TRACK_TARGET: NOT IMPLEMENTED
}
- printf(
- "-----------------\n"
- "t0 : %d\n"
- "t1-t0: %d\n"
- "t2-t0: %d\n"
- "t3-t0: %d\n"
- "th0 : %d\n"
- "th1 : %d\n"
- "th2 : %d\n"
- "th3 : %d\n"
- "w0 : %d\n"
- "w1 : %d\n"
- "a0 : %d\n"
- "a2 : %d\n"... |
Add the yang-library NETCONF capability
This commit adds the yang-library NETCONF capability, which is required by
RFC 7950 section 5.6.4:
```
The server also MUST advertise the following capability in the
<hello> message (line breaks and whitespaces are used for formatting
reasons only):
urn:ietf:params:netconf:capabi... | @@ -937,6 +937,13 @@ nc_server_get_cpblts_version(struct ly_ctx *ctx, LYS_VERSION version)
sprintf(str, "%s?%s%s&module-set-id=%u", mod->ns, mod->rev_size ? "revision=" : "",
mod->rev_size ? mod->rev[0].date : "", ly_ctx_get_module_set_id(ctx));
add_cpblt(ctx, str, &cpblts, &size, &count);
+
+ /* Add the yang-library N... |
Do not allow to 'trick' the platform and board exclude checks | @@ -478,6 +478,8 @@ ifeq ($(PLATFORM_ACTION),skip)
# Skip this target.
$(CONTIKI_PROJECT):
@echo "Skipping $@: not for the '$(TARGET)/$(BOARD)' platform!"
+%.$(TARGET):
+ @echo "Skipping $@: not for the '$(TARGET)/$(BOARD)' platform!"
else
# Build this target.
# Match-anything pattern rule to allow the project makefile... |
More powershell fixes | -if ($Env:Platform -eq "x64") { mkdir -Force x64; cd x64 }
-mkdir -Force $Env:Configuration"
+if ($Env:Platform -eq "x64") { mkdir -Force x64; mkdir -Force x64\$Env:Configuration }
+else { mkdir -Force $Env:Configuration }
pwd
-if ($Env:Platform -eq "x64") { cd .. }
-pwd
-msbuild /p:Configuration=$Env:Configuration /p:... |
Loop JSON test when testing for memory leaks | @@ -319,7 +319,9 @@ void fiobj_test(void) {
/* test hash+array for memory leaks and performance*/
fiobj_hash_test();
/* test JSON (I know... it assumes everything else works...) */
+ for (int i = 0; i < 1; ++i) {
fiobj_test_hash_json();
+ }
/* start simple tests */
fiobj_s *obj;
|
compiler-families/gnu-compilers: return primary source description back
to single definition | %include %{_sourcedir}/OHPC_macros
-%if "%{compiler_family}" == "gnu8"
%global gnu_version 8.2.0
%global gnu_major_ver 8
%global gnu_release 2
%global pname gnu8-compilers
-%global source https://ftp.gnu.org/gnu/gcc/gcc-%{gnu_version}/gcc-%{gnu_version}.tar.xz
-%global source_directory gcc-%{version}
-%endif
-
-%if "%{... |
Add correct path to sao_shared_generics.h in makefile | @@ -133,7 +133,7 @@ libkvazaar_la_SOURCES = \
strategies/generic/encode_coding_tree-generic.h \
strategies/missing-intel-intrinsics.h \
strategies/optimized_sad_func_ptr_t.h \
- strategies/sao_shared_generics.h \
+ strategies/generic/sao_shared_generics.h \
strategies/strategies-common.h \
strategies/strategies-dct.c \... |
Fix crypto/bio/b_sock.c for VMS
Current VMS C-RTL does not have <sys/select.h>. <sys/socket.h> is
a good enough replacement to get fd_set. | @@ -29,11 +29,15 @@ static int wsa_init_done = 0;
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_select)>
# endif
-# elif !defined _WIN32
+# elif defined _WIN32
+# include <winsock.h> /* for type fd_set */
+# else
# include <unistd.h>
-# include <sys/select.h>
+# if defined __VMS
+# include <sys/socket.h>
... |
Update CHANGES.md and NEWS.md from 3.0.7 | @@ -32,6 +32,13 @@ OpenSSL 3.2
OpenSSL 3.0
-----------
+### Major changes between OpenSSL 3.0.6 and OpenSSL 3.0.7 [1 Nov 2022]
+
+ * Added RIPEMD160 to the default provider.
+ * Fixed regressions introduced in 3.0.6 version.
+ * Fixed two buffer overflows in punycode decoding functions.
+ ([CVE-2022-3786]) and ([CVE-20... |
hv: pae: fix a issue of loading pdptrs when handle cr4
PDPTE registers should be loaded in PAE paging mode.
However, current code load PDPTE registers in long mode.
Acked-by: Eddie Dong | @@ -276,7 +276,7 @@ static void vmx_write_cr4(struct acrn_vcpu *vcpu, uint64_t cr4)
uint64_t old_cr4 = vcpu_get_cr4(vcpu);
if (((cr4 ^ old_cr4) & (CR4_PGE | CR4_PSE | CR4_PAE | CR4_SMEP | CR4_SMAP | CR4_PKE)) != 0UL) {
- if (((cr4 & CR4_PAE) != 0UL) && (is_paging_enabled(vcpu)) && (is_long_mode(vcpu))) {
+ if (((cr4 & ... |
Tools: Don't check the environment during idf.py shell completion
Closes | @@ -32,8 +32,14 @@ from pkgutil import iter_modules
sys.dont_write_bytecode = True
import python_version_checker # noqa: E402
+
+try:
from idf_py_actions.errors import FatalError # noqa: E402
from idf_py_actions.tools import executable_exists, idf_version, merge_action_lists, realpath # noqa: E402
+except ImportError:
... |
more feature guard cleanup | @@ -371,10 +371,12 @@ typedef enum {
#define _libssh2_cipher_aes256 MBEDTLS_CIPHER_AES_256_CBC
#define _libssh2_cipher_aes192 MBEDTLS_CIPHER_AES_192_CBC
#define _libssh2_cipher_aes128 MBEDTLS_CIPHER_AES_128_CBC
-#if LIBSSH2_BLOWFISH
+#ifdef MBEDTLS_CIPHER_BLOWFISH_CBC
#define _libssh2_cipher_blowfish MBEDTLS_CIPHER_BLO... |
libbpf-tools: update vfsstat for libbpf 1.0
Switch to libbpf 1.0 mode and adapt libbpf API usage accordingly. | @@ -151,15 +151,9 @@ int main(int argc, char **argv)
if (err)
return err;
+ libbpf_set_strict_mode(LIBBPF_STRICT_ALL);
libbpf_set_print(libbpf_print_fn);
- err = bump_memlock_rlimit();
- if (err) {
- fprintf(stderr, "failed to increase rlimit: %s\n",
- strerror(errno));
- return 1;
- }
-
skel = vfsstat_bpf__open();
if ... |
Fix M3_MIN | @@ -177,7 +177,7 @@ void m3StackCheck ()
size_t addr = (size_t)&stack;
size_t stackEnd = stack_end;
- stack_end = m3_min (stack_end, addr);
+ stack_end = M3_MIN (stack_end, addr);
// if (stackEnd != stack_end)
// printf ("maxStack: %ld\n", m3StackGetMax ());
|
feat(FM650):Add curl head files path | @@ -15,9 +15,9 @@ BOAT_COPY := cp
# External include path and libraries
-EXTERNAL_INC :=
+EXTERNAL_INC := /home/linux/FM650/fg650-opensdk
-EXTERNAL_LIBS := -lcurl
+#EXTERNAL_LIBS := -lcurl
EXTERNAL_CFLAGS :=
|
Update scope~-help.pd
remove yet another "Scope~" mention | @@ -74,8 +74,6 @@ cloned from Max/MSP;
#X text 69 301 Change the phase of the oscillator to check how it affects
the plot;
#X text 519 32 Try different frequencies now:;
-#X text 67 57 If signals are connected to both the left and right inlets
-\, [Scope~] operates in X-Y mode.;
#X text 67 94 When in X-Y mode \, [scope... |
Allow use BLOCKRELEASE. Doesn't do anything at the moment. | @@ -7193,7 +7193,11 @@ static int translate_ani_id(const char *value, s_model *newchar, s_anim *newanim
newanim->range.x.min = 1;
newanim->range.x.max = 100;
}
- else if (stricmp(value, "blockstart") == 0) // Now enemies can block attacks on occasion
+ else if (stricmp(value, "blockrelease") == 0)
+ {
+ ani_id = ANI_BL... |
Fix CID 168586 | @@ -200,10 +200,12 @@ main(int argc, char *argv[])
#ifdef _WIN32
if ((fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == INVALID_SOCKET) {
printf("socket() failed with error: %d\n", WSAGetLastError());
+ exit(EXIT_FAILURE);
}
#else
if ((fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
perror("socket");
+ exit(EXIT_... |
update visibility levels | @@ -46,8 +46,7 @@ export const VISIBILITY_LEVELS = {
user: 5,
advanced: 4,
developer: 3,
- debug: 2,
- disabled: 1,
+ internal: 2,
}
export const visibility = (name) => VISIBILITY_LEVELS[name]
|
Use sizeof(string) to determine buffer size | @@ -1259,8 +1259,7 @@ int h2o_configurator__do_parse_mapping(h2o_configurator_command_t *cmd, yoml_t *
return -1;
}
if ((keys[j].type_mask & (1u << element->value->type)) == 0) {
- char permitted_types[40] = "";
- PTLS_BUILD_ASSERT(sizeof(permitted_types) >= sizeof(" or a scalar or a sequence or a mapping"));
+ char pe... |
Add documentation for -pkeyopt_passin
Add documentation to new parameter and two examples showcasing scrypt
KDF. | @@ -29,6 +29,7 @@ B<openssl> B<pkeyutl>
[B<-kdf algorithm>]
[B<-kdflen length>]
[B<-pkeyopt opt:value>]
+[B<-pkeyopt_passin opt:passarg>]
[B<-hexdump>]
[B<-asn1parse>]
[B<-rand file...>]
@@ -140,6 +141,13 @@ Set the output length for KDF.
Public key options specified as opt:value. See NOTES below for more details.
+=it... |
docker: add bison debug symbols to debian sid image | @@ -9,6 +9,7 @@ RUN apt-get update && apt-get -y install \
automake \
autotools-dev \
bison \
+ bison-dbgsym \
build-essential \
checkinstall \
clang-9 \
|
Fix the declaration type of `lily_gc_stopper`. | /* When destroying a value with a gc tag, set the tag to this to prevent destroy
from reentering it. The values are useless, but cannot be 0 or this will be
optimized as a NULL pointer. */
-const lily_gc_entry lily_gc_stopper =
+const lily_gc_entry *lily_gc_stopper =
+&(lily_gc_entry)
{
1,
1,
|
examples/getrandom: provide a getrandom wrapper | +#define _GNU_SOURCE
#include <stdio.h>
-#include <sys/random.h>
+#include <unistd.h>
+#include <sys/syscall.h>
+#include <linux/random.h>
#include <errno.h>
#include <math.h>
static int hash[256];
+int
+__getrandom(void *buf, int i, int f)
+{
+ return syscall(SYS_getrandom, buf, i, f);
+}
+
int main(int argc, char **a... |
IP6 FIB: walk table for dump | @@ -331,19 +331,17 @@ send_ip6_fib_details (vpe_api_main_t * am,
typedef struct apt_ip6_fib_show_ctx_t_
{
- u32 fib_index;
fib_node_index_t *entries;
} api_ip6_fib_show_ctx_t;
-static void
-api_ip6_fib_table_put_entries (clib_bihash_kv_24_8_t * kvp, void *arg)
+static fib_table_walk_rc_t
+api_ip6_fib_table_put_entries ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.