mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
a006b48c04
Fix SIGSEGV in rfc1035.c answer_request() line 1228 where memset() is called with header & limit pointing at the same address and thus tries to clear memory from before the buffer begins. answer_request() is called with an invalid edns packet size provided by the client. Ensure the udp_size provided by the client is bounded by 512 and configured maximum as per RFC 6891 6.2.3 "Values lower than 512 MUST be treated as equal to 512" The client that exposed the problem provided a payload udp size of 0. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> Acked-by: Hans Dedecker <dedeckeh@gmail.com> |
||
---|---|---|
.. | ||
010-Tweak-ICMP-ping-check-logic-for-DHCPv4.patch | ||
011-Remove-ping-check-of-configured-DHCP-address.patch | ||
020-Try-other-servers-if-first-returns-REFUSED-when-stri.patch | ||
025-fix-CVE-2017-13704.patch | ||
110-ipset-remove-old-kernel-support.patch | ||
210-dnssec-improve-timestamp-heuristic.patch | ||
230-fix-poll-h-include-warning-on-musl.patch |