]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: Reject record sets too large to serve in DNS
authorOndřej Surý <ondrej@isc.org>
Tue, 5 May 2026 16:15:19 +0000 (18:15 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 5 May 2026 16:15:19 +0000 (18:15 +0200)
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.

Merge branch 'ondrej/harden-buflen-overflow' into 'main'

See merge request isc-projects/bind9!11963


Trivial merge