summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_help.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-04-17 22:19:41 +0200
committerNikita Popov <nikic@php.net>2015-04-17 22:19:41 +0200
commit9a0cb734a390e38be87baabf45a895ccf7d64712 (patch)
tree26f2460ddd5ec71f48ca9bfeed9a502a2e09c9eb /sapi/phpdbg/phpdbg_help.c
parentffa285ca7329d658737483d5beae5cce56d107dc (diff)
downloadphp-git-9a0cb734a390e38be87baabf45a895ccf7d64712.tar.gz
Fix memory error when throwing into a generator
throw_exception_internal will access opline+1, which is not always defined at the current opline of the generator. To avoid this decrement the opline before throwing (so the throw occurs at the YIELD opcode instead of one after it).
Diffstat (limited to 'sapi/phpdbg/phpdbg_help.c')
0 files changed, 0 insertions, 0 deletions