diff options
author | Nikita Popov <nikic@php.net> | 2015-04-17 22:19:41 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-04-17 22:19:41 +0200 |
commit | 9a0cb734a390e38be87baabf45a895ccf7d64712 (patch) | |
tree | 26f2460ddd5ec71f48ca9bfeed9a502a2e09c9eb /sapi/phpdbg/phpdbg_help.c | |
parent | ffa285ca7329d658737483d5beae5cce56d107dc (diff) | |
download | php-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