Skip to content

Commit

Permalink
Fixed bug #43871 (crash inside dns_get_record)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Jan 17, 2008
1 parent 1227a4c commit ba3245e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ba3245e

Please sign in to comment.