From: Evan Hunt Date: Wed, 11 Oct 2017 22:26:35 +0000 (-0700) Subject: [master] fix AFL compile error X-Git-Tag: v9.12.0b1~22 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=94f022ec02cc036b44aa3d15f145a4ee9adeedf4;p=thirdparty%2Fbind9.git [master] fix AFL compile error --- diff --git a/bin/named/fuzz.c b/bin/named/fuzz.c index fe269dd2363..b5c81bdb6dd 100644 --- a/bin/named/fuzz.c +++ b/bin/named/fuzz.c @@ -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, ':');