diff --git a/ext/standard/dns.c b/ext/standard/dns.c index e546cfd2f34..791b17a9017 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -654,7 +654,7 @@ PHP_FUNCTION(dns_get_record) char *hostname; int hostname_len; long type_param = PHP_DNS_ANY; - zval *authns, *addtl; + zval *authns = NULL, *addtl = NULL; int addtl_recs = 0; int type_to_fetch; struct __res_state res;