RIOT/sys/net/application_layer
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
..
2020-10-23 11:27:48 +02:00
2020-10-23 11:27:48 +02:00
2020-10-23 11:27:48 +02:00
2020-10-23 11:27:48 +02:00
2020-10-23 11:27:48 +02:00
2020-10-23 11:27:48 +02:00
2020-09-29 09:55:28 +02:00
2020-09-02 23:36:48 +05:30