tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 10b242822490c9873138565bcc8a3565a7dc7014
parent 6be0e28670517048ce3ab017911cd41238543a13
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 21 Aug 2017 15:06:39 -0400

Merge branch 'bug23291_028' into maint-0.3.1

Diffstat:
Achanges/bug23291 | 3+++
Msrc/test/test-memwipe.c | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/changes/bug23291 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. diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c @@ -82,7 +82,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.