MFB: Fixed bug #43871 (crash inside dns_get_record)

This commit is contained in:
Ilia Alshanetsky 2008-01-17 14:12:36 +00:00
parent e4c02a6b96
commit f5aae18ad3

View file

@ -654,7 +654,7 @@ PHP_FUNCTION(dns_get_record)
char *hostname; char *hostname;
int hostname_len; int hostname_len;
long type_param = PHP_DNS_ANY; long type_param = PHP_DNS_ANY;
zval *authns, *addtl; zval *authns = NULL, *addtl = NULL;
int addtl_recs = 0; int addtl_recs = 0;
int type_to_fetch; int type_to_fetch;
struct __res_state res; struct __res_state res;