Commit 68a55791ca for bind
commit 68a55791ca93b0e4cb2f81e2d7d15ca4637ba65e
Merge: 7a7a2677a9 33168a40e8
Author: Evan Hunt <each@isc.org>
Date: Tue Oct 6 19:12:50 2026 +0000
fix: dev: Account for null terminator when using NAME_MAX
The `NAME_MAX` value in `limits.h` is not guaranteed to include space
for the terminating `'\0'` character in a string. This can cause unexpected
behavior on some platforms, such as a directory scan stopping too soon
if a 255-character filename is encountered.
Buffers intended to hold filenames are now allocated with `NAME_MAX + 1`
bytes.
Closes #6324
Merge branch '6324-filename-length' into 'main'
See merge request isc-projects/bind9!12897