소스 검색

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.