]> git.ipfire.org Git - thirdparty/unbound.git/commit
- Fix bounds check in packed_rr_to_string, it checked the (#1488)
authorakhanin-dnsf <106987117+akhanin-dnsf@users.noreply.github.com>
Thu, 6 Aug 2026 15:04:05 +0000 (10:04 -0500)
committerGitHub <noreply@github.com>
Thu, 6 Aug 2026 15:04:05 +0000 (17:04 +0200)
commit307fc6f062f8e02ca1edb0ccfce4cdf427a99691
tree4a7604d9e4e5f9b05622a86a8e1352060a813766
parent8b33c5d7ffb82d442f3d19021588449cd6b02a17
- Fix bounds check in packed_rr_to_string, it checked the (#1488)

assembled rr length against the output string length
  dest_len, instead of against the size of the rr buffer it
  writes into. Callers in cachedump.c and remote.c pass a
  dest_len larger than that buffer.
- Unit test for packed_rr_to_string.
doc/Changelog
testcode/unitmain.c
util/data/packed_rrset.c