php-src/main/streams
Sara Golemon 25d4943b44 Clear FG(user_stream_current_filename) when bailing out
If a userwrapper opener E_ERRORs then FG(user_stream_current_filename)
would remain set until the next request and would not be pointing
at unallocated memory.

Catch the bailout, clear the variable, then continue bailing.

Closes https://bugs.php.net/bug.php?id=73188

(cherry picked from commit 9f86cdaf7f)
2016-10-14 01:34:51 +02:00
..
cast.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
filter.c Fixed bug #72743 (Out-of-bound read in php_stream_filter_create) 2016-08-04 19:10:40 +08:00
glob_wrapper.c Fixed compilation warnings 2016-06-21 20:12:29 +03:00
memory.c Require strict base64 in data URI 2016-07-22 18:03:55 +02:00
mmap.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_stream_context.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_stream_filter_api.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_stream_glob_wrapper.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_stream_mmap.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_stream_plain_wrapper.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_stream_transport.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_stream_userspace.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_streams_int.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
plain_wrapper.c Merge branch 'PHP-7.0' into PHP-7.1 2016-08-17 17:14:30 +08:00
streams.c Merge branch 'PHP-7.0' into PHP-7.1 2016-10-06 11:03:09 +02:00
transports.c Fixed compilation warnings 2016-06-21 20:12:29 +03:00
userspace.c Clear FG(user_stream_current_filename) when bailing out 2016-10-14 01:34:51 +02:00
xp_socket.c Added ZEND_ATTRIBUTE_FORMAT to some middind functions. 2016-06-21 16:00:37 +03:00