iliaa Thu Jan 17 14:12:13 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard dns.c Log: Fixed bug #43871 (crash inside dns_get_record) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.5.2.3&r2=1.70.2.7.2.5.2.4&diff_format=u Index: php-src/ext/standard/dns.c diff -u php-src/ext/standard/dns.c:1.70.2.7.2.5.2.3 php-src/ext/standard/dns.c:1.70.2.7.2.5.2.4 --- php-src/ext/standard/dns.c:1.70.2.7.2.5.2.3 Mon Dec 31 07:17:14 2007 +++ php-src/ext/standard/dns.c Thu Jan 17 14:12:12 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dns.c,v 1.70.2.7.2.5.2.3 2007/12/31 07:17:14 sebastian Exp $ */ +/* $Id: dns.c,v 1.70.2.7.2.5.2.4 2008/01/17 14:12:12 iliaa Exp $ */ /* {{{ includes */ #include "php.h" @@ -654,7 +654,7 @@ 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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php