[tor/maint-0.3.1] 22839: fix check_heap_buffer buffer size in test-memwipe

21 Aug
2017
21 Aug
'17
7:10 p.m.
commit 7ba873ca2da35dc3bcf08d458b78641ddad63949 Author: Ties Stuij <ties@stuij.se> 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.
2829
Age (days ago)
2829
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org