浏览代码

22839: fix check_heap_buffer buffer size in test-memwipe

Ties Stuij 6 年之前
父节点
当前提交
7ba873ca2d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.