From: Ilia Alshanetsky Date: Thu, 17 Jan 2008 14:12:36 +0000 (+0000) Subject: MFB: Fixed bug #43871 (crash inside dns_get_record) X-Git-Tag: RELEASE_2_0_0a1~864 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5aae18ad35b3b851c88cd36f49e89f7bb21959d;p=php MFB: Fixed bug #43871 (crash inside dns_get_record) --- diff --git a/ext/standard/dns.c b/ext/standard/dns.c index e546cfd2f3..791b17a901 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;