aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-31 14:31:55 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-31 14:31:55 -0400
commit43cbcd38968bd3c4cb3fe53af2cdc9b0f74dba3c (patch)
tree456d05a4e2725bf089b6b7441c4d5fd7878eb9d1 /src/test
parentf9aed40156f5a85b35877a086a0a420cbd2fafcb (diff)
parent062751236821f775d9250fd59fc508f27b6839c7 (diff)
downloadtor-43cbcd38968bd3c4cb3fe53af2cdc9b0f74dba3c.tar.gz
tor-43cbcd38968bd3c4cb3fe53af2cdc9b0f74dba3c.zip
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/fuzzing_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/fuzzing_common.c b/src/test/fuzz/fuzzing_common.c
index 7aee92df63..7ebddde1a8 100644
--- a/src/test/fuzz/fuzzing_common.c
+++ b/src/test/fuzz/fuzzing_common.c
@@ -107,7 +107,7 @@ global_init(void)
configure_backtrace_handler(get_version());
/* set up the options. */
- mock_options = tor_malloc(sizeof(or_options_t));
+ mock_options = tor_malloc_zero(sizeof(or_options_t));
MOCK(get_options, mock_get_options);
/* Make BUG() and nonfatal asserts crash */