mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
22839: fix check_heap_buffer buffer size in test-memwipe
This commit is contained in:
parent
93b28972c1
commit
7ba873ca2d
@ -76,7 +76,7 @@ static unsigned
|
|||||||
check_a_buffer(void)
|
check_a_buffer(void)
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
volatile char buf[1024];
|
volatile char buf[BUF_LEN];
|
||||||
unsigned sum = 0;
|
unsigned sum = 0;
|
||||||
|
|
||||||
/* See if this buffer has the string in it.
|
/* See if this buffer has the string in it.
|
||||||
|
Loading…
Reference in New Issue
Block a user