1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys
Sören Tempel 498e531e2f dhcpv6: don't treat zero option as an end-of-payload marker
As far as I can tell, no DHCPv6 RFC specifies this option. The handling
for the zero option was added in #17736 by @benpicco to fix issues
encountered while trying to retrieve a DHCHPv6 lease. However, I
strongly suspect that the zero option was encountered in this case due
to an out-of-bounds read performed in RIOT's DHCPv6 client
implementation (i.e. the option parsing loop read beyond the packet
bounds). This issue was fixed in #18307 and I strongly suspect that it
should also fix the issue @benpicco originally encountered in #17736. As
such, I propose that we remove the if statement which treats the zero
option as an end-of-payload marker.

Fixes #18309
2022-09-22 20:08:00 +02:00
..
analog_util sys/analog_util: Add Kconfig support 2021-02-22 14:54:14 +01:00
app_metadata sys/app_metadata: Add Kconfig support 2021-02-22 14:54:14 +01:00
arduino codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
auto_init cpu/esp32: add NimBLE support for ESP32 2022-08-24 09:05:25 +02:00
base64 sys/base64: Add Kconfig support 2021-02-22 14:54:14 +01:00
benchmark sys/benchmark: fix divide by zero if runs < 1000 2022-02-08 12:52:48 +01:00
bhp sys/bhp_msg: add IPC based Bottom Half Processor 2022-08-19 12:01:30 +02:00
bitfield sys/bitfield: improve documentation of bf_get_unset() 2022-03-08 10:28:31 +01:00
bloom sys/bloom: Add Kconfig support 2021-02-22 14:54:14 +01:00
bus sys/bus: model Kconfig 2022-03-11 09:24:12 +01:00
can sys/can: migrate to ztimer 2022-01-10 12:21:40 +01:00
cb_mux sys/cb_mux: Add Kconfig support 2021-02-22 14:54:14 +01:00
checksum sys/checksum: Adding four crc16 variations: ccitt-aug/false/kermit/mcrf4xx 2022-08-30 15:37:04 +02:00
chunked_ringbuffer sys/chunked_ringbuffer: model in Kconfig 2022-03-04 09:35:50 +01:00
clif sys/clif: fix attribute parsing and comply with tests 2021-03-05 16:47:53 +01:00
color sys/color: add module to Kconfig 2020-11-18 18:38:44 +01:00
congure sys/shell_commands: convert to SHELL_COMMAND() 2022-06-07 09:25:04 +02:00
cpp11-compat sys/cpp11-compat: Fix kconfig model 2022-08-16 10:57:26 +02:00
cpp_new_delete sys: remove -std=c++11 2022-01-13 17:50:59 +01:00
crypto sys/crypto: remove deprecated CIPHER_AES_128 2022-01-07 11:14:10 +01:00
cxx_ctor_guards doc: Improve C++ documentation 2021-12-15 18:58:23 +01:00
div sys/div: Add module to Kconfig 2020-11-06 15:57:52 +01:00
ecc treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
eepreg sys/eepreg: Add Kconfig support 2021-02-22 14:54:14 +01:00
embunit sys/embunit/Kconfig: make module available only for testing 2020-12-02 10:14:43 +01:00
entropy_source sys/entropy_source: fix typo (sates => states) 2021-01-08 10:15:33 +01:00
event sys/event: ensure that a queue has a waiter before waiting for flags 2022-04-14 17:10:24 +02:00
evtimer sys/evtimer: use now returned by set 2021-12-14 13:24:29 +01:00
fido2 sys/fido2: fix insecure memory wiping 2022-09-20 17:44:24 +02:00
fmt sys/fmt: fix print() for native 2022-06-10 11:02:40 +02:00
frac sys/frac: add module to Kconfig 2021-01-18 14:14:13 +01:00
fs sys/fs/constfs: allow to host arbitrary data 2022-06-12 19:39:27 +02:00
fuzzing sys/fuzzing: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
hashes codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
include sys/string_utils : new (header-only) module for string utilities 2022-09-20 17:44:24 +02:00
iolist sys/iolist: introduce iolist_to_buffer() 2022-05-02 23:23:52 +02:00
isrpipe sys/isrpipe: add isrpipe_write 2021-12-07 13:00:58 +01:00
libc/include/sys
log sys/log/kconfig: change entry-point 2021-12-10 18:54:29 +01:00
luid sys/luid: add module to Kconfig 2021-01-26 17:40:30 +01:00
malloc_thread_safe sys/malloc_thread_safe: mark functions "used" 2022-02-15 12:28:16 +01:00
matstat sys/matstat: Add Kconfig support 2021-02-22 14:54:14 +01:00
memarray sys/memarray: Add Kconfig support 2021-02-22 14:54:14 +01:00
mineplex sys/mineplex: Add Kconfig support 2021-02-22 14:54:14 +01:00
net dhcpv6: don't treat zero option as an end-of-payload marker 2022-09-22 20:08:00 +02:00
newlib_syscalls_default sys/syscalls: fix coding style 2022-09-05 14:56:51 +02:00
od sys/od/kconfig: add od_string 2022-03-11 09:20:24 +01:00
oneway-malloc sys/oneway-malloc: Add Kconfig support 2021-02-22 14:54:15 +01:00
phydat sys/phydat: fix phydat_to_json dim precondition 2022-05-19 07:29:51 +02:00
picolibc_syscalls_default sys/picolibc_syscalls_default: make stdin and stderr strong refs 2021-10-20 11:21:57 +02:00
pipe sys/pipe/pipe_dynamic: fix possible null pointer dereference 2020-09-11 11:19:58 +02:00
pm_layered sys/pm_layered: rename val_u8 -> blockers 2022-04-06 12:29:25 +02:00
posix codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
progress_bar sys/progress_bar: add Konfig configuration 2021-04-07 12:05:00 +02:00
ps schedstatistics: Convert to ztimer 2021-12-07 16:31:15 +01:00
puf_sram codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
random random: use void * in random_bytes() 2022-07-26 19:46:14 +02:00
riotboot sys/riotboot/hdr: change header validation log to DEBUG 2022-04-14 11:53:31 +02:00
rtc_utils sys: move rtc utility functions to their own module 2021-12-20 13:04:20 +01:00
rust_riotmodules rust_riotmodules: pub use instead of extern crate 2022-07-10 21:27:13 +02:00
rust_riotmodules_standalone rust: Update cstr dependency 2022-08-01 16:36:43 +02:00
saul_reg drivers/saul: use const qualifier for data to write 2022-05-23 08:35:27 +02:00
sched_round_robin sys/sched_round_robin: Add a round robin scheduler module 2021-11-11 13:18:52 +01:00
schedstatistics schedstatistics: Convert to ztimer 2021-12-07 16:31:15 +01:00
sema sys/sema: use sema_ztimer64 to implement old sema api 2022-03-10 14:19:44 +01:00
sema_inv sys/sema_inv: add inverse Semaphore 2021-01-17 00:17:58 +01:00
senml sys/senml: add SenML modules 2022-02-11 12:38:21 +01:00
seq sys/seq: Add Kconfig support 2021-02-22 14:54:15 +01:00
shell sys/shell/cmds: improve wording in shell help text 2022-09-16 13:15:46 +02:00
shell_lock sys/shell_lock: add telnet support 2022-06-08 13:01:23 +02:00
ssp
stdio_nimble sys/stdio_nimble: fiter conn_handle 2022-04-27 10:10:32 +02:00
stdio_null
stdio_rtt stdio_rtt: Add unit clarification to poll define 2021-12-07 10:04:04 +01:00
stdio_semihosting stdio_semihosting: Add unit clarification to poll define 2021-11-03 11:39:26 +01:00
stdio_uart sys/stdio_uart: implementation of stdio_available 2022-01-03 16:14:11 +01:00
suit suit: make use of worker functions 2022-09-03 23:25:01 +02:00
test_utils sys/test_utils/netdev_eth_minimal: model in Kconfig 2022-07-22 15:57:20 +02:00
timex sys/timex: Add Kconfig support 2021-02-22 14:54:15 +01:00
trace treewide: make all modules use Kconfig ZTIMER_USEC indirection 2022-03-17 14:33:07 +01:00
trickle sys/trickle: migrate to ZTIMER_MSEC 2021-06-14 09:04:25 +02:00
tsrb sys/tsrb: add peek functions 2021-11-24 17:54:44 +01:00
universal_address sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
uri_parser sys/uri_parser: Adding the port as uint16 2022-09-08 11:32:49 +02:00
usb netdev_drivers: make sure to signal LINK_UP at least once 2022-09-16 22:57:28 +02:00
usb_board_reset sys/usb_board_reset: Model kconfig 2021-12-06 09:05:37 +01:00
ut_process ut_process: add ; after DEBUG() 2021-12-09 11:20:44 +01:00
uuid
vfs vfs: introduce vfs_format_by_path() 2022-08-12 15:36:29 +02:00
vfs_util sys/vfs_util: bugfix rec. delete, rel. components 2022-08-30 17:53:36 +02:00
xtimer sys/xtimer: switch default backend to ztimer 2022-03-18 08:23:00 +01:00
zptr
ztimer sys/ztimer: add LPTIMER auto init 2022-09-15 11:26:22 +02:00
ztimer64 sys/ztimer64: properly clear timer on removal 2022-03-01 11:03:10 +01:00
doc.txt
Kconfig Kconfig/bhp_*: add initial Kconfig modelling 2022-08-11 10:57:55 +02:00
Kconfig.newlib sys/syscalls: add libc_gettimeofday 2022-03-24 11:36:49 +01:00
Kconfig.picolibc sys/libc: model Kconfig 2021-10-01 11:26:15 +02:00
Kconfig.stdio drivers/ethos: model in Kconfig 2022-07-22 16:06:36 +02:00
Makefile sys/shell: make cmds submodules 2022-09-16 13:15:45 +02:00
Makefile.dep event_periodic_callback: remove unnecessary dependency 2022-09-20 09:49:30 +02:00
Makefile.include sys/bhp_event: add Event based implementation for Bottom Half Processor 2022-08-11 10:57:54 +02:00