]> granicus.if.org Git - php/commit
Fix #77919: Potential UAF in Phar RSHUTDOWN
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 29 Jul 2019 14:08:03 +0000 (16:08 +0200)
committerStanislav Malyshev <stas@php.net>
Mon, 29 Jul 2019 20:18:27 +0000 (13:18 -0700)
commitcd1101e8c87aa175c2d5e87ddec656e50ef4ab5d
tree97b8a656d38fdf0cae963c10b3700a53a008e547
parent42e8b85d94ba11db13ca90b2dd53c17b2d6938df
Fix #77919: Potential UAF in Phar RSHUTDOWN

We have to properly clean up in case phar_flush() is failing.

We also make the expectation of the respective test case less liberal
to avoid missing such bugs in the future.
NEWS
ext/phar/phar_object.c
ext/phar/tests/bug71488.phpt