com php-src: fix double free: ext/phar/zip.c

From: Date: Thu, 15 Sep 2016 07:53:18 +0000
Subject: com php-src: fix double free: ext/phar/zip.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-94550@lists.php.net to get a copy of this message
Commit: 1d978b7899f460207826fd9d9707604d69cd1f11 Author: Anatol Belski <ab@php.net> Sat, 3 Sep 2016 00:01:04 +0200 Committer: Ferenc Kovacs <tyra3l@gmail.com> Thu, 15 Sep 2016 09:53:18 +0200 Parents: 486056b2153f7177cd8a7c78d93968726ee8fa65 Branches: PHP-5.6.26 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1d978b7899f460207826fd9d9707604d69cd1f11 Log: fix double free Changed paths: M ext/phar/zip.c Diff: diff --git a/ext/phar/zip.c b/ext/phar/zip.c index 2f1d915..bf895e7 100644 --- a/ext/phar/zip.c +++ b/ext/phar/zip.c @@ -1146,7 +1146,6 @@ static int phar_zip_applysignature(phar_archive_data *phar, struct _phar_zip_pas if (pass->error && *(pass->error)) { /* error is set by writeheaders */ - php_stream_close(newfile); return FAILURE; } } /* signature */

« previous php.cvs (#94550) next »