mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Increase "rndc dnssec -status" output size
BUFSIZ (512 bytes on Windows) may not be enough to fit the status of a DNSSEC policy and three DNSSEC keys. Set the size of the relevant buffer to a hardcoded value of 4096 bytes, which should be enough for most scenarios.
This commit is contained in:
parent
ee5b77ccb0
commit
9347e7db7e
@ -14475,7 +14475,7 @@ named_server_dnssec(named_server_t *server, isc_lex_t *lex,
|
|||||||
dns_dnsseckey_t *key;
|
dns_dnsseckey_t *key;
|
||||||
const char *ptr;
|
const char *ptr;
|
||||||
/* variables for -status */
|
/* variables for -status */
|
||||||
char output[BUFSIZ];
|
char output[4096];
|
||||||
isc_stdtime_t now;
|
isc_stdtime_t now;
|
||||||
isc_time_t timenow;
|
isc_time_t timenow;
|
||||||
const char *dir;
|
const char *dir;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user