From 94f022ec02cc036b44aa3d15f145a4ee9adeedf4 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 11 Oct 2017 15:26:35 -0700 Subject: [PATCH] [master] fix AFL compile error --- bin/named/fuzz.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/named/fuzz.c b/bin/named/fuzz.c index fe269dd236..b5c81bdb6d 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, ':');