diff options
author | Sara Golemon <pollita@php.net> | 2016-10-11 21:35:10 -0700 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-14 01:34:51 +0200 |
commit | 25d4943b44a35cab30a18572bb957a6b1aa45301 (patch) | |
tree | 76ec2bd2146d57ec972274e8532a9f63e9ea4e29 /sapi/phpdbg/phpdbg_prompt.h | |
parent | e92a18dcd5c7da93a412630e74baa7099e9dcc0f (diff) | |
download | php-git-25d4943b44a35cab30a18572bb957a6b1aa45301.tar.gz |
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 9f86cdaf7fc44c0d97a35bc4d04622e3d3d53f4d)
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.h')
0 files changed, 0 insertions, 0 deletions