From: Andrew Bartlett Date: Sun, 3 Dec 2023 21:34:57 +0000 (+1300) Subject: selftest: Run samba.tests.segfault with TALLOC_FREE_FILL X-Git-Tag: tdb-1.4.11~1412 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=682a87fd0a81e13eabaa422d89209688b7b19098;p=thirdparty%2Fsamba.git selftest: Run samba.tests.segfault with TALLOC_FREE_FILL This helps make use-after-free testing reliable. Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 310226f625a..7a93df2134d 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -1377,7 +1377,8 @@ planoldpythontestsuite("ad_dc", extra_args=['-U"$USERNAME%$PASSWORD"']) planoldpythontestsuite("ad_dc", "samba.tests.segfault", - extra_args=['-U"$USERNAME%$PASSWORD"']) + extra_args=['-U"$USERNAME%$PASSWORD"'], + environ={"TALLOC_FREE_FILL": "0xab"}) # Need to test the password hashing in multiple environments to ensure that # all the possible options are covered #