mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 02:40:13 +00:00
Another fuzzing code fix.
This commit is contained in:
parent
0c05b2cb50
commit
ca82715bfa
@ -817,6 +817,7 @@ static int testOther()
|
|||||||
char tmp[128];
|
char tmp[128];
|
||||||
for(unsigned int x=0;x<128;++x)
|
for(unsigned int x=0;x<128;++x)
|
||||||
tmp[x] = (char)(rand() & 0xff);
|
tmp[x] = (char)(rand() & 0xff);
|
||||||
|
tmp[127] = (char)0;
|
||||||
char value[8194];
|
char value[8194];
|
||||||
*bar += test.get(tmp,value,sizeof(value));
|
*bar += test.get(tmp,value,sizeof(value));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user