]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fix AFL compile error
authorEvan Hunt <each@isc.org>
Wed, 11 Oct 2017 22:26:35 +0000 (15:26 -0700)
committerEvan Hunt <each@isc.org>
Wed, 11 Oct 2017 22:26:35 +0000 (15:26 -0700)
bin/named/fuzz.c

index fe269dd2363cb2661cc8b038ce26525467c1f849..b5c81bdb6dd48a7334963fa2142acfa55e2357e1 100644 (file)
@@ -64,7 +64,7 @@ fuzz_thread_client(void *arg) {
         * Parse named -A argument in the "address:port" syntax. Due to
         * the syntax used, this only supports IPv4 addresses.
         */
-       host = strdup(named_g_fuzz_named_addr);
+       host = strdup(named_g_fuzz_addr);
        RUNTIME_CHECK(host != NULL);
 
        port = strchr(host, ':');
@@ -292,7 +292,7 @@ fuzz_thread_resolver(void *arg) {
         * Parse named -A argument in the "qtype:saddress:sport:raddress:rport"
         * syntax.  Due to the syntax used, this only supports IPv4 addresses.
         */
-       sqtype = strdup(named_g_fuzz_named_addr);
+       sqtype = strdup(named_g_fuzz_addr);
        RUNTIME_CHECK(sqtype != NULL);
 
        shost = strchr(sqtype, ':');
@@ -614,7 +614,7 @@ fuzz_thread_tcp(void *arg) {
         * Parse named -A argument in the "address:port" syntax. Due to
         * the syntax used, this only supports IPv4 addresses.
         */
-       host = strdup(named_g_fuzz_named_addr);
+       host = strdup(named_g_fuzz_addr);
        RUNTIME_CHECK(host != NULL);
 
        port = strchr(host, ':');