[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/maint-0.3.1] 22839: fix check_heap_buffer buffer size in test-memwipe
commit 7ba873ca2da35dc3bcf08d458b78641ddad63949
Author: Ties Stuij <ties@xxxxxxxx>
Date: Sun Aug 13 17:55:45 2017 +0200
22839: fix check_heap_buffer buffer size in test-memwipe
---
src/test/test-memwipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c
index 5d4fcec66..2cb4215b6 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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits