Merge branch 'maint-0.3.1'

This commit is contained in:
Nick Mathewson 2017-08-21 15:08:17 -04:00
commit 8f8a061b0c
2 changed files with 4 additions and 1 deletions

3
changes/bug23291 Normal file
View File

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

View File

@ -82,7 +82,7 @@ static unsigned
check_a_buffer(void) check_a_buffer(void)
{ {
unsigned int i; unsigned int i;
volatile char buf[1024]; volatile char buf[BUF_LEN];
unsigned sum = 0; unsigned sum = 0;
/* See if this buffer has the string in it. /* See if this buffer has the string in it.