]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
RTLD_DEFAULT for Linux
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 22 Mar 2024 17:01:11 +0000 (13:01 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 22 Mar 2024 17:01:11 +0000 (13:01 -0400)
src/bin/fuzzer.c

index 00d239e18b6b32dda6b22f460a680fe2bc97c124..37e6015d7362139a26590529440772b509fc0b54 100644 (file)
@@ -237,8 +237,8 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
         *      Search in our symbol space first.  We may have been dynamically
         *      or statically linked to the library we're fuzzing...
         */
-       dl_proto = fuzzer_dict_init(RTLD_SELF, proto);
-       tp = fuzzer_test_point(RTLD_SELF, proto);
+       dl_proto = fuzzer_dict_init(RTLD_DEFAULT, proto);
+       tp = fuzzer_test_point(RTLD_DEFAULT, proto);
 
        /*
         *      Failed to find the test point, try and load it in