- 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
+1 -1
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;