Merge branch 'bug24082_032' into maint-0.3.2

This commit is contained in:
Nick Mathewson 2017-10-31 14:31:21 -04:00
commit 0627512368
2 changed files with 4 additions and 1 deletions

3
changes/bug24082 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (testing):
- Fix a spurious fuzzing-only use of an uninitialized value.
Found by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.

View File

@ -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 */