iliaa           Thu Jan 17 14:12:36 2008 UTC

  Modified files:              
    /php-src/ext/standard       dns.c 
  Log:
  
  MFB: Fixed bug #43871 (crash inside dns_get_record)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.90&r2=1.91&diff_format=u
Index: php-src/ext/standard/dns.c
diff -u php-src/ext/standard/dns.c:1.90 php-src/ext/standard/dns.c:1.91
--- php-src/ext/standard/dns.c:1.90     Mon Dec 31 07:12:15 2007
+++ php-src/ext/standard/dns.c  Thu Jan 17 14:12:36 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: dns.c,v 1.90 2007/12/31 07:12:15 sebastian Exp $ */
+/* $Id: dns.c,v 1.91 2008/01/17 14:12:36 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

Reply via email to