diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-26 10:24:49 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-26 10:24:49 +0200 |
| commit | 8a9df8859747abaf70e4465d066adbe1f97d1fdb (patch) | |
| tree | 66aa4eab647d5a12fae51294b983c992b8a317ed /Zend/tests/assert | |
| parent | d2331cc3f2fee2228b82def81c1e9557dd73d77c (diff) | |
| download | php-git-8a9df8859747abaf70e4465d066adbe1f97d1fdb.tar.gz | |
Fix null-pointer deref in if stmt printing
Fixes OSS-Fuzz #17721.
Diffstat (limited to 'Zend/tests/assert')
| -rw-r--r-- | Zend/tests/assert/expect_015.phpt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/tests/assert/expect_015.phpt b/Zend/tests/assert/expect_015.phpt index 1679640851..72f13ff83f 100644 --- a/Zend/tests/assert/expect_015.phpt +++ b/Zend/tests/assert/expect_015.phpt @@ -140,6 +140,7 @@ assert(0 && ($a = function () { if ($a) { } elseif ($b) { } + if ($a); else; })); ?> @@ -292,4 +293,7 @@ Warning: assert(): assert(0 && ($a = function () { if ($a) { } elseif ($b) { } + if ($a) { + } else { + } })) failed in %sexpect_015.php on line %d |
