mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
MFB: Fixed bug #43871 (crash inside dns_get_record)
This commit is contained in:
parent
e4c02a6b96
commit
f5aae18ad3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue