2
0
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:
Michał Kępień
2018-05-09 08:09:54 +02:00
parent e93a950b70
commit 172d0c401e
6 changed files with 12 additions and 7 deletions

View File

@@ -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;