com php-src: Fixed bug #72683 getmxrr broken: NEWS ext/standard /dns_win32.c

From: Date: Wed, 27 Jul 2016 18:48:45 +0000
Subject: com php-src: Fixed bug #72683 getmxrr broken: NEWS ext/standard /dns_win32.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93427@lists.php.net to get a copy of this message
Commit: c52322707e4224a5b3c16d53e9b59512d3a188e9 Author: Anatol Belski <ab@php.net> Wed, 27 Jul 2016 20:48:45 +0200 Parents: 6e8b2d21d180870f07e5478f291c4fb0ff0aecbe Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c52322707e4224a5b3c16d53e9b59512d3a188e9 Log: Fixed bug #72683 getmxrr broken Bugs: https://bugs.php.net/72683 Changed paths: M NEWS M ext/standard/dns_win32.c Diff: diff --git a/NEWS b/NEWS index 09a8211..b97aecf 100644 --- a/NEWS +++ b/NEWS @@ -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 c9c2341..f28977a 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; }

« previous php.cvs (#93427) next »