diff --git a/doc/Changelog b/doc/Changelog index cb0b96cca..8cbd7d319 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -5,6 +5,7 @@ used, and ignored if found in unbound.conf. - Rename tls-additional-ports to tls-additional-port, because every line adds one port. + - Fix buffer size warning in unit test. 6 June 2018: Wouter - Patch to fix openwrt for mac os build darwin detection in configure. diff --git a/testcode/unitneg.c b/testcode/unitneg.c index 2b67df182..849d07d8b 100644 --- a/testcode/unitneg.c +++ b/testcode/unitneg.c @@ -94,7 +94,7 @@ static void print_neg_cache(struct val_neg_cache* neg) /** get static pointer to random zone name */ static char* get_random_zone(void) { - static char zname[256]; + static char zname[36]; int labels = random() % 3; int i; char* p = zname;