summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_help.c
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2016-10-11 21:35:10 -0700
committerSara Golemon <pollita@php.net>2016-10-11 21:46:02 -0700
commit9f86cdaf7fc44c0d97a35bc4d04622e3d3d53f4d (patch)
treebd160362c1b7939ebcf1c154ee1f50b19599dd6a /sapi/phpdbg/phpdbg_help.c
parent6046a99b97b5abab2e75d73bc9d73062f1943126 (diff)
downloadphp-git-9f86cdaf7fc44c0d97a35bc4d04622e3d3d53f4d.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
Diffstat (limited to 'sapi/phpdbg/phpdbg_help.c')
0 files changed, 0 insertions, 0 deletions