]> git.ipfire.org Git - thirdparty/squid.git/commit
Improve bounds checking in rfc1035NameUnpack (#1725)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Mon, 11 Mar 2024 12:06:41 +0000 (12:06 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 12 Mar 2024 05:44:03 +0000 (05:44 +0000)
commit1df2a7226a41c3dfe511aa0913c55031145f7c12
tree6592189a0cb270a4ef4eba5b2993bece22ea15af
parent63022fd37a4f052d9eb30b7018b32eb46eb1c4fd
Improve bounds checking in rfc1035NameUnpack (#1725)

Peter J. Philipp found an input buffer overread (by one byte) when
parsing certain malformed DNS responses. Add the missing check.

Co-authored-by: Peter J. Philipp <pbug44@delphinusdns.org>
src/dns/rfc1035.cc