From: Colin Vidal Date: Fri, 12 Jun 2026 14:50:23 +0000 (+0200) Subject: fix: dev: Fix delegdb dump buffer overflow X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=684f57745857e40d1d434acfc6fb6d8ad3ddaa4a;p=thirdparty%2Fbind9.git fix: dev: Fix delegdb dump buffer overflow A buffer used to dump a DNS name in the delegdb dump flow was using the wrong size: it was using `DNS_NAME_MAXWIRE` which is the actual max length of a DNS name on the wire instead of using `DNS_NAME_FORMATSIZE` which is the maximum length of a textual representation of a DNS name (which can be way longer than `DNS_NAME_MAXWIRE` if using the master file escape sequence format) plus 1 (end of string byte). This could lead to a buffer overflow. This is now fixed. Closes #6132 Merge branch '6132-delegdb-dump-overflow' into 'main' See merge request isc-projects/bind9!12195 --- 684f57745857e40d1d434acfc6fb6d8ad3ddaa4a