com php-src: Fixed reference arguments handling: ext/standard/dns.c

From: Date: Mon, 03 Mar 2014 10:20:53 +0000
Subject: com php-src: Fixed reference arguments handling: ext/standard/dns.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77788@lists.php.net to get a copy of this message
Commit: dae6e672c24a3a248fa06a9f930644a9b1685082 Author: Xinchen Hui <laruence@gmail.com> Mon, 3 Mar 2014 18:20:53 +0800 Parents: b4ccb6a9fdffb1843dacaaadad4d7d25e1355282 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dae6e672c24a3a248fa06a9f930644a9b1685082 Log: Fixed reference arguments handling Changed paths: M ext/standard/dns.c Diff: diff --git a/ext/standard/dns.c b/ext/standard/dns.c index cba6e3c..d0209fe 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -945,10 +945,12 @@ PHP_FUNCTION(dns_get_mx) return; } + mx_list = Z_REFVAL_P(mx_list); zval_dtor(mx_list); array_init(mx_list); if (weight_list) { + weight_list = Z_REFVAL_P(weight_list); zval_dtor(weight_list); array_init(weight_list); }

« previous php.cvs (#77788) next »