diff options
author | teor <teor@torproject.org> | 2019-02-27 09:37:43 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-02-27 09:37:43 +1000 |
commit | 3ecfb68bd72a6842dd11709e30590271f70ae69f (patch) | |
tree | 33081cdb0c3c926491bdf04027a64cf3f88a393a | |
parent | b83d46feb87d1a629a1798907cac279df257df05 (diff) | |
parent | 6c966b894c2115d18ad5aecc7d02e7b96fea1daf (diff) | |
download | tor-3ecfb68bd72a6842dd11709e30590271f70ae69f.tar.gz tor-3ecfb68bd72a6842dd11709e30590271f70ae69f.zip |
Merge branch 'maint-0.3.3' into release-0.3.3
-rw-r--r-- | changes/bug29145 | 3 | ||||
-rw-r--r-- | src/test/test-memwipe.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/changes/bug29145 b/changes/bug29145 new file mode 100644 index 0000000000..40d3da4b91 --- /dev/null +++ b/changes/bug29145 @@ -0,0 +1,3 @@ + o Minor bugfixes (compilation, testing): + - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes + bug 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn. diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c index 89d946d506..4beb613693 100644 --- a/src/test/test-memwipe.c +++ b/src/test/test-memwipe.c @@ -42,7 +42,8 @@ const char *s = NULL; #ifdef OpenBSD /* Disable some of OpenBSD's malloc protections for this test. This helps * us do bad things, such as access freed buffers, without crashing. */ -const char *malloc_options="sufjj"; +extern const char *malloc_options; +const char *malloc_options = "sufjj"; #endif static unsigned |