From 7ba873ca2da35dc3bcf08d458b78641ddad63949 Mon Sep 17 00:00:00 2001 From: Ties Stuij Date: Sun, 13 Aug 2017 17:55:45 +0200 Subject: [PATCH 1/2] 22839: fix check_heap_buffer buffer size in test-memwipe --- src/test/test-memwipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c index 5d4fcec664..2cb4215b61 100644 --- a/src/test/test-memwipe.c +++ b/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. From b943cedf3485d0d00c739e69fd2bb16d4e959867 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 21 Aug 2017 15:04:35 -0400 Subject: [PATCH 2/2] changes file for bug 23291 --- changes/bug23291 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changes/bug23291 diff --git a/changes/bug23291 b/changes/bug23291 new file mode 100644 index 0000000000..a5b0efda0a --- /dev/null +++ b/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.