Bläddra i källkod

Merge branch 'bug23291_028' into maint-0.2.8

Nick Mathewson 6 år sedan
förälder
incheckning
800797e7f3
2 ändrade filer med 4 tillägg och 1 borttagningar
  1. 3 0
      changes/bug23291
  2. 1 1
      src/test/test-memwipe.c

+ 3 - 0
changes/bug23291

@@ -0,0 +1,3 @@
+  o Minor bugfixes (testing):
+    - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291; bugfix on
+      0.2.7.2-alpha. Found and patched by Ties Stuij.

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