mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-06 09:57:43 +02:00
- in testcode, free async ids, initialise array, and check for null
pointer during test of the test. And use exit for return to note irregular program stop. git-svn-id: file:///svn/unbound/trunk@4897 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -118,6 +118,8 @@ static void get_random_data(char** fromp, char** top, char* zname)
|
||||
int labnum1[10], labnum2[10];
|
||||
int i;
|
||||
char* p;
|
||||
memset(labnum1, 0, sizeof(int)*10);
|
||||
memset(labnum2, 0, sizeof(int)*10);
|
||||
|
||||
*fromp = buf1;
|
||||
*top = buf2;
|
||||
|
||||
Reference in New Issue
Block a user