diff options
| author | Anatol Belski <ab@php.net> | 2016-07-27 20:48:45 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2016-07-27 20:48:45 +0200 |
| commit | c52322707e4224a5b3c16d53e9b59512d3a188e9 (patch) | |
| tree | c45b3bc6e336ced7fcfe0d098c291d6204a26494 | |
| parent | 6e8b2d21d180870f07e5478f291c4fb0ff0aecbe (diff) | |
| download | php-git-c52322707e4224a5b3c16d53e9b59512d3a188e9.tar.gz | |
Fixed bug #72683 getmxrr broken
| -rw-r--r-- | NEWS | 1 | ||||
| -rw-r--r-- | ext/standard/dns_win32.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -22,6 +22,7 @@ PHP NEWS (Yuji Uchiyama) . Fixed potential segfault in object storage freeing in shutdown sequence. (Bob) + . Fixed bug #72683 (getmxrr broken). (Anatol) - COM: . Fixed bug #72569 (DOTNET/COM array parameters broke in PHP7). (Anatol) diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c index c9c23415d9..f28977ab6a 100644 --- a/ext/standard/dns_win32.c +++ b/ext/standard/dns_win32.c @@ -50,7 +50,7 @@ PHP_FUNCTION(dns_get_mx) /* {{{ */ DNS_STATUS status; /* Return value of DnsQuery_A() function */ PDNS_RECORD pResult, pRec; /* Pointer to DNS_RECORD structure */ - if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz|z", &hostname, &hostname_len, &mx_list, &weight_list) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/|z/", &hostname, &hostname_len, &mx_list, &weight_list) == FAILURE) { return; } |
