]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Prevent reading an uninitialized rcode in cache inspection
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Mar 2022 11:25:04 +0000 (13:25 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 22 Sep 2022 13:07:22 +0000 (15:07 +0200)
commit6efda4bf28205172b2719074d1582f93e6c675da
tree1ac36252d84c01fdb8d0ea174ed8648655195815
parentbf55a81594c9c39a7773448adee6e062ce93a08c
dnsdist: Prevent reading an uninitialized rcode in cache inspection

Entries smaller than a dnsheader should not make it into the cache
anyway, but better safe than sorry.
pdns/dnsdist-cache.cc