diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-12-18 18:05:52 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-01-19 10:28:54 +0100 |
commit | 68f5289e9e84b12b1a9ad671657702ce9a65a1e1 (patch) | |
tree | fca4944d7564ad8232a8431252e633d133cf8dd3 /tests | |
parent | 38ad37ad435511391e16983794022a8d1e7d6a14 (diff) | |
download | php-git-68f5289e9e84b12b1a9ad671657702ce9a65a1e1.tar.gz |
Fix #69279: Compressed ZIP Phar extractTo() creates garbage files
When extracting compressed files from an uncompressed Phar, we must not
use the direct file pointer, but rather get an uncompressed file
pointer.
We also add a test to show that deflated and stored entries are
properly extracted.
This also fixes #79912, which appears to be a duplicate of #69279.
Co-authored-by: Anna Filina <afilina@gmail.com>
Closes GH-6599.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions