]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] fix: usr: Reject record sets too large to serve in DNS
authorOndřej Surý <ondrej@isc.org>
Tue, 5 May 2026 18:22:33 +0000 (20:22 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 5 May 2026 18:22:33 +0000 (20:22 +0200)
commitab3d96b3e3461275b6266708e0105bc6313e623a
tree1c7666d29659aed5a55960d1902efa0643936539
parent03af408476ff65e417762756674c183183ba09f5
parenta23437e45e7f6e32f25517cc5b7125ee534f0909
[9.18] fix: usr: Reject record sets too large to serve in DNS

When BIND was asked to store a record set whose total size exceeds
what fits in a DNS message, it would allocate memory and build the
structure, then fail later at response time. Such oversized record
sets are now rejected at the time of storage with an error, avoiding
wasted work on data that can never be served.

Backport of MR !11963

Merge branch 'backport-ondrej/harden-buflen-overflow-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!11965