]> 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:10:22 +0000 (01:10 -0700)
commit775385df0e954f8cf9b5046bebc8e40ce26e601b
tree14dd8dfd6fd21aeda0b7676cf103d802a668375a
parent24495ba7780b0656a753678c6337d7a479d35ed3
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