summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-03-24 10:48:16 +0100
committerNikita Popov <nikic@php.net>2015-03-24 10:51:28 +0100
commitd659ee24ab9246be6ae4d371401d0234579325a0 (patch)
treeba0f47eacd9fd077030e3341abe3aaeb8ebe9d4b /ext/standard/php_fopen_wrapper.c
parent4be8d798b6c2843515757849421ca9416457f703 (diff)
downloadphp-git-d659ee24ab9246be6ae4d371401d0234579325a0.tar.gz
Fix VERIFY_RETURN separation
a) The SAME_FAKE_TYPE check should always occur on the dereferenced value, otherwise we'll end up separating large referenced arrays. b) For by-val return with an rc=1 reference, the SEPARATE_ZVAL wouldn't do anything. Add a ZVAL_UNREF for this case. I don't like this fix - there must be some better way to express this.
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
0 files changed, 0 insertions, 0 deletions