]> granicus.if.org Git - php/commit
Fix free of uninitialized memory in MATCH_ERROR
authorIlija Tovilo <ilija.tovilo@me.com>
Sat, 11 Jul 2020 16:46:51 +0000 (18:46 +0200)
committerIlija Tovilo <ilija.tovilo@me.com>
Sun, 12 Jul 2020 11:33:36 +0000 (13:33 +0200)
commit1c967df5a037f50cc894f38765371b8ccb2249ff
tree61d965668889ef44be8f230c508aa20959c85db5
parentc0172aa2bdb9ea223c8491bdb300995b93a857a0
Fix free of uninitialized memory in MATCH_ERROR

As suggested by Tyson Andre:
https://github.com/php/php-src/pull/5371#issuecomment-657081464

Also fix line number of unhandled match error

Closes GH-5841.
Zend/tests/match/037.phpt
Zend/zend_compile.c
ext/opcache/tests/match/001.phpt