summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTies Stuij <ties@stuij.se>2017-08-13 17:55:45 +0200
committerNick Mathewson <nickm@torproject.org>2017-08-21 15:03:54 -0400
commit7ba873ca2da35dc3bcf08d458b78641ddad63949 (patch)
tree62c3b8def8654883febf5a6420f681d613c4bb83
parent93b28972c10cfc87ab1865bead3ba713901d9d79 (diff)
downloadtor-7ba873ca2da35dc3bcf08d458b78641ddad63949.tar.gz
tor-7ba873ca2da35dc3bcf08d458b78641ddad63949.zip
22839: fix check_heap_buffer buffer size in test-memwipe
-rw-r--r--src/test/test-memwipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c
index 5d4fcec664..2cb4215b61 100644
--- a/src/test/test-memwipe.c
+++ b/src/test/test-memwipe.c
@@ -76,7 +76,7 @@ static unsigned
check_a_buffer(void)
{
unsigned int i;
- volatile char buf[1024];
+ volatile char buf[BUF_LEN];
unsigned sum = 0;
/* See if this buffer has the string in it.