diff options
-rw-r--r-- | test/run_tests.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/run_tests.pl b/test/run_tests.pl index 4899356a6e..4ee6a036a9 100644 --- a/test/run_tests.pl +++ b/test/run_tests.pl @@ -39,6 +39,11 @@ $ENV{OPENSSL_MODULES} = rel2abs(catdir($bldtop, "providers")); $ENV{OPENSSL_ENGINES} = rel2abs(catdir($bldtop, "engines")); $ENV{CTLOG_FILE} = rel2abs(catfile($srctop, "test", "ct", "log_list.cnf")); +# On platforms that support this, this will ensure malloc returns data that is +# set to a non-zero value. Can be helpful for detecting uninitialized reads in +# some situations. +$ENV{'MALLOC_PERTURB_'} = '128' if !defined $ENV{'MALLOC_PERTURB_'}; + my %tapargs = ( verbosity => $ENV{HARNESS_VERBOSE} ? 1 : 0, lib => [ $libdir ], |