1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net
Sören Tempel f073dcdb3d gnrc_dhcpv6_client: Fix out-of-bounds access during option parsing
The _parse_reply function iterates over the DHCPv6 message options
twice but only performs sanity checks on the option length in the
first iteration. As such, both loop iterations need to be identical.
Unfortunately, there aren't without this commit as (1) they use
different maximum length values and (2) the first iteration stops
parsing as soon as it encounters a zero option while the second
doesn't. As such, it is possible for out-of-bounds read to be
performed by the second loop iteration. This commit fixes this.
2022-07-11 22:55:33 +02:00
..
application_layer gnrc_dhcpv6_client: Fix out-of-bounds access during option parsing 2022-07-11 22:55:33 +02:00
ble net/ble/skald: let itvl be configured per context 2022-05-24 13:02:10 +02:00
credman module/credman: Adapt to tiny-asn1 changes 2021-10-04 21:43:13 +02:00
crosslayer net/netopt: remove NETOPT_RX_END_IRQ 2022-05-11 23:44:24 +02:00
dsm sys/net/dsm: add missing dependencies 2022-02-21 15:15:02 +01:00
gnrc drivers/kw2xrf: add setup function with global index 2022-07-11 09:24:59 +02:00
link_layer Merge pull request #18264 from jia200x/pr/submac_use_ieee802154_retrans_config 2022-06-28 16:00:51 +02:00
lora net/lora: add module to Kconfig 2021-01-21 11:22:33 +01:00
netdev_test netdev_test: avoid explicit cast to netdev 2021-07-09 11:35:19 +02:00
netif sys/net/netif: add helpers for IPv6 addresses 2022-06-06 20:46:48 +02:00
netstats sys/include/net/netstats: move xtimer header where it is needed 2021-02-16 18:18:21 +01:00
netutils sys/net/application_layer/sock_dns_mock: add module for mocking sock_dns 2022-04-03 17:29:10 +02:00
network_layer sys/net/ipv6: fix ipv6_addrs_print() 2022-06-10 11:02:42 +02:00
sock sys/net/sock_util: add sock_urlpath() 2022-04-18 01:36:50 +02:00
transport_layer sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
doc.txt doc: add net to sys group 2015-08-30 14:00:33 +02:00
ieee802154.txt net/iee802154 doc: Add overview / introduction documentation 2022-01-16 11:29:32 +01:00
Kconfig net/ipv*/addr: Add ipv*_addr modules to Kconfig 2021-03-09 09:08:50 +01:00