mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Address GCC 8 -Wformat-truncation warnings
This commit is contained in:
@@ -776,7 +776,9 @@ dns_dnssec_findzonekeys(dns_db_t *db, dns_dbversion_t *ver,
|
||||
}
|
||||
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
char filename[ISC_DIR_NAMEMAX];
|
||||
char filename[DNS_NAME_FORMATSIZE +
|
||||
DNS_SECALG_FORMATSIZE +
|
||||
sizeof("key file for //65535")];
|
||||
isc_result_t result2;
|
||||
isc_buffer_t buf;
|
||||
|
||||
@@ -1668,7 +1670,9 @@ dns_dnssec_keylistfromrdataset(const dns_name_t *origin,
|
||||
}
|
||||
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
char filename[ISC_DIR_NAMEMAX];
|
||||
char filename[DNS_NAME_FORMATSIZE +
|
||||
DNS_SECALG_FORMATSIZE +
|
||||
sizeof("key file for //65535")];
|
||||
isc_result_t result2;
|
||||
isc_buffer_t buf;
|
||||
|
||||
|
Reference in New Issue
Block a user