]> granicus.if.org Git - php/commit
Fix #73612: preg_*() may leak memory
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 26 Nov 2016 14:34:27 +0000 (15:34 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 26 Nov 2016 14:34:27 +0000 (15:34 +0100)
commit003727d851da770c60555a2aecf6d82497b04f42
treed76be1a62051e6e7816893f5aa671e89188fe1bf
parent8be94d46f836a886d85b9a813b241a7f26649020
Fix #73612: preg_*() may leak memory

We have to make sure that collectible zvals end up in the GC root
buffer, to avoid memory leaks.
NEWS
ext/pcre/php_pcre.c
ext/pcre/tests/bug73612.phpt [new file with mode: 0644]