]> granicus.if.org Git - php/commitdiff
Fixed bug #43871 (crash inside dns_get_record)
authorIlia Alshanetsky <iliaa@php.net>
Thu, 17 Jan 2008 14:12:12 +0000 (14:12 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 17 Jan 2008 14:12:12 +0000 (14:12 +0000)
ext/standard/dns.c

index 76b4aa579e15f8614f8906ea392adbd7ad1c396d..08dca4e0325d296850888a357bd94141e4c8542c 100644 (file)
@@ -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;