]> git.ipfire.org Git - thirdparty/bind9.git/commit
Increase the BUFSIZ-long buffers
authorOndřej Surý <ondrej@isc.org>
Thu, 14 Jul 2022 11:48:45 +0000 (13:48 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 15 Jul 2022 19:21:03 +0000 (21:21 +0200)
commitc1b8f5f30c602fd39f0f92523485587c3c32708d
treea345c661c97dd6cfa1fcc0ea5a238d7f59d23040
parentcacca9bdf956231f44c1d01eef7b1390928a4ef7
Increase the BUFSIZ-long buffers

The BUFSIZ value varies between platforms, it could be 8K on Linux and
512 bytes on mingw.  Make sure the buffers are always big enough for the
output data to prevent truncation of the output by appropriately
enlarging or sizing the buffers.

(cherry picked from commit b19d932262e84608174cb89eeed32ae0212f8a87)
bin/named/server.c
bin/tests/system/feature-test.c
lib/dns/private.c
lib/ns/client.c