- Fix buffer size warning in unit test.

git-svn-id: file:///svn/unbound/trunk@4724 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2018-06-12 11:01:14 +00:00
parent 21af42a281
commit 78767f2014
2 changed files with 2 additions and 1 deletions

View File

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

View File

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