selftest: Disable RTLD_DEEPBIND if running with ASAN
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 20 May 2019 20:49:08 +0000 (08:49 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 16 Oct 2019 15:41:41 +0000 (15:41 +0000)
commitd023b29876dc1449014c3cf5d19abb6f186e166c
treee4b564bcfe9786707dafe66e92984658feae6ddd
parentf0abf62adcf4bda6dd7b36ce74695f8ac8ec79f6
selftest: Disable RTLD_DEEPBIND if running with ASAN

Disable the RTLD_DEEPBIND option for dlopen in LDB and Socket Wrapper when
running with  AddressSanitizer. The RTLD_DEEPBIND option is not compatible
with Address Sanitizer see
https://github.com/google/sanitizers/issues/611

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Oct 16 15:41:41 UTC 2019 on sn-devel-184
selftest/wscript