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 85296ce6cc sock_dns: Fix incorrect buffer bounds check
Apart from advancing the buffer by RR_TYPE_LENGTH, RR_CLASS_LENGTH,
and RR_TTL_LENGTH the code also attempts to read a two byte unsigned
integer using _get_short(bufpos):

	unsigned addrlen = ntohs(_get_short(bufpos));

The bounds check must therefore ensure that the given buffer is large
enough to contain two more bytes after advancing the buffer.
2020-10-30 21:41:39 +01:00
..
application_layer sock_dns: Fix incorrect buffer bounds check 2020-10-30 21:41:39 +01:00
ble sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
credman sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
crosslayer netopt: add options to read/join/leave link layer multicast groups 2020-10-29 14:38:51 +01:00
gnrc gnrc_pktbuf: drop gnrc_pktbuf_replace_snip() 2020-10-29 17:20:12 +01:00
link_layer Merge pull request #15287 from miri64/ethernet/enh/join-leave-mcast-group 2020-10-29 16:03:32 +01:00
lora net/lora : Change defaults 2020-09-30 20:00:03 +05:30
netdev_test
netif sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
network_layer sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
sock net/sock : Update documentation 2020-09-04 16:29:13 +05:30
transport_layer sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
doc.txt
Kconfig net/lora : Expose to Kconfig 2020-09-30 20:00:03 +05:30