2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Disable RTLD_DEEPBIND when compiled under AddressSanitizer

This commit is contained in:
Ondřej Surý
2018-12-19 09:59:40 +01:00
parent e1ce3a3d42
commit cad6b39cab
3 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ load_plugin(isc_mem_t *mctx, const char *modpath, ns_plugin_t **pluginp) {
REQUIRE(pluginp != NULL && *pluginp == NULL);
flags = RTLD_LAZY | RTLD_LOCAL;
#ifdef RTLD_DEEPBIND
#if defined(RTLD_DEEPBIND) && !__ADDRESS_SANITIZER__
flags |= RTLD_DEEPBIND;
#endif