Re: cvs: php-src(PHP_5_3) /ext/standard dns.c
| From: | Antony Dovgal | Date: | Thu, 17 Jan 2008 21:25:33 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/standard dns.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-47893@lists.php.net to get a copy of this message | ||
No commit to 5_2 ?
On 17.01.2008 17:12, Ilia Alshanetsky wrote:
> 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;
>
--
Wbr,
Antony Dovgal