From f5aae18ad35b3b851c88cd36f49e89f7bb21959d Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 17 Jan 2008 14:12:36 +0000 Subject: [PATCH] MFB: Fixed bug #43871 (crash inside dns_get_record) --- ext/standard/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1