]> git.ipfire.org Git - thirdparty/bind9.git/commit
check chain length is nonzero before examining last entry
authorEvan Hunt <each@isc.org>
Wed, 11 Oct 2023 18:03:00 +0000 (11:03 -0700)
committerEvan Hunt <each@isc.org>
Thu, 12 Oct 2023 18:31:32 +0000 (11:31 -0700)
commit3a206da456723cc38a8a27e1edde1e48da33489a
tree29228e4aefb81ca37573f9bf06516ff03805cba6
parenta87436d3d5dfb63b770e2de2a89c281da5774225
check chain length is nonzero before examining last entry

It was possible to reach add_link() without visiting an
intermediate node first, and the check for a duplicate entry
could then cause a crash.

Credit to OSS-Fuzz for discovering this error.
lib/dns/qp.c