Browse Source

22839: fix check_heap_buffer buffer size in test-memwipe

Ties Stuij 6 years ago
parent
commit
7ba873ca2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/test-memwipe.c

+ 1 - 1
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.