diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-02 10:50:14 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-02 10:52:55 +0200 |
commit | 2e9e706a8271bbb42ad696c3383912facdd7d45f (patch) | |
tree | 3abd9d7445f6263693ff2f4adc068fd9aa1dc4ae /ext/xml/xml.c | |
parent | a07c1f56aac1c0f6c8334760009b678cbf9d6138 (diff) | |
download | php-git-2e9e706a8271bbb42ad696c3383912facdd7d45f.tar.gz |
Fix throwing of yield from related exceptions into generator
Use the general zend_generator_throw_exception() helper for this.
Otherwise we don't handle the off-by-one opline correctly (should
we maybe just stop doing that?)
This is a followup to ad750c3bb6e7b48384c6265eb9d3bcf5b4000652,
which fixed a different yield from exception handling problem that
happened to show up in the same test case from oss-fuzz #25321.
Now both issues should be fixed.
Diffstat (limited to 'ext/xml/xml.c')
0 files changed, 0 insertions, 0 deletions