]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Fix -Wformat-truncation warning in totext_in_wks()
authorMichal Nowak <mnowak@isc.org>
Mon, 10 Aug 2026 12:10:16 +0000 (14:10 +0200)
committerMichal Nowak <mnowak@isc.org>
Mon, 10 Aug 2026 12:10:16 +0000 (14:10 +0200)
BIND 9 failed to build with GCC 16 at -O3: rendering a WKS record as text triggered a -Wformat-truncation error, which is fatal in developer builds. The port number is now printed with a 16-bit format specifier, so the compiler can see it always fits the output buffer.

Merge branch 'mnowak/fix-wks-format-truncation' into 'main'

See merge request isc-projects/bind9!12519


Trivial merge