]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Disable reverse lookups too
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 30 Oct 2021 22:10:04 +0000 (18:10 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 30 Oct 2021 22:10:04 +0000 (18:10 -0400)
src/bin/fuzzer.c
src/bin/unit_test_module.c

index ea95e7e6c2621ec5c067758833ca31e66a4dd881..2bcde981ec35824cee8762220e19047e1ae02a75 100644 (file)
@@ -159,7 +159,7 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
         *      queries, and there's no chance of spurious failures if
         *      it takes a long time to get a response.
         */
-       fr_hostname_lookups = false;
+       fr_hostname_lookups = fr_reverse_lookups = false;
 
        dl_loader = dl_loader_init(NULL, NULL, 0, false);
        if (!dl_loader) {
index f830e025ff34d9581cef15becf79ddcf50fd56e8..7945e4d9045756d8ecdd8b97143cb33b3497c007 100644 (file)
@@ -558,7 +558,7 @@ int main(int argc, char *argv[])
        /*
         *      The tests should have only IPs, not host names.
         */
-       fr_hostname_lookups = false;
+       fr_hostname_lookups = fr_reverse_lookups = false;
 
        /*
         *      We always log to stdout.