]> granicus.if.org Git - php/commit
Fix #79797: Use of freed hash key in the phar_parse_zipfile function
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 14 Jul 2020 15:04:24 +0000 (17:04 +0200)
committerStanislav Malyshev <stas@php.net>
Mon, 3 Aug 2020 08:09:44 +0000 (01:09 -0700)
commit9c3171f019d07b4271c5929478dddba0861e92af
tree9ae25db14d1aba572586bba0a8be40a056b1e58e
parentd4b32e82c81073613eae4c363f9953d5fc355023
Fix #79797: Use of freed hash key in the phar_parse_zipfile function

We must not use heap memory after we freed it.
ext/phar/tests/bug79797.phar [new file with mode: 0644]
ext/phar/tests/bug79797.phpt [new file with mode: 0644]
ext/phar/zip.c