summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-13 11:38:30 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-13 11:43:43 +0200
commit1748b8111e97f14f709553c7a5498fcdfcd6c754 (patch)
tree49d6c366ef8fab4a929e4ef239af6407ecdc6e89 /ext/imap/php_imap.c
parent8c68745f432a6039a9dd35a115bcf5c67a340d2a (diff)
downloadphp-git-1748b8111e97f14f709553c7a5498fcdfcd6c754.tar.gz
Fix handling of throwing undef var in verify return
If we have an undefined variable and null is not accepted by the return type, we want to throw just the undef var error. In this case this lead to an infinite loop, because we overwrite the exception opline in SAVE_OPLINE and it does not get reset when chaining into a previous exception. Add an assertiong to catch this case earlier.
Diffstat (limited to 'ext/imap/php_imap.c')
0 files changed, 0 insertions, 0 deletions