From ba3245e12e9b2d8dfb6c5e441a472ef3620aa768 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 17 Jan 2008 14:12:12 +0000 Subject: [PATCH] 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 76b4aa579e..08dca4e032 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.40.0