History log of /PHP-8.1/ext/zip/php_zip.c (Results 1 – 25 of 410)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 66252260 14-Nov-2023 Remi Collet

fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)


# c76374d2 15-Jun-2022 Remi Collet

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
NEWS
Fix GH-8781 ZipArchive::close deletes zip file without updating stat cache


# 390538af 15-Jun-2022 Remi Collet

Fix GH-8781 ZipArchive::close deletes zip file without updating stat cache

Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32
# 9faa11d3 04-Oct-2021 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix #77978: Dirname ending in colon unzips to wrong dir


# 57a32c6a 04-Oct-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #77978: Dirname ending in colon unzips to wrong dir


# e0c0de00 29-Sep-2021 Christoph M. Becker

Fix #77978: Dirname ending in colon unzips to wrong dir

When making the relative path, we must not stop on a `:\` sequence in
the middle of the filename. This is only significant on Win

Fix #77978: Dirname ending in colon unzips to wrong dir

When making the relative path, we must not stop on a `:\` sequence in
the middle of the filename. This is only significant on Windows as it
may indicate an absolute filename, but this is already checked at the
beginning of the function.

Note that the bug and this patch affects all systems. However, on
Windows the file is no longer extracted at all, since Windows NTSF does
not allow filenames containing colons.

Closes GH-7528.

show more ...

# 80860bae 30-Sep-2021 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix #81490: ZipArchive::extractTo() may leak memory


# 5db6e358 30-Sep-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #81490: ZipArchive::extractTo() may leak memory


# 4d442714 30-Sep-2021 Christoph M. Becker

Fix #81490: ZipArchive::extractTo() may leak memory

We always need to free the CWD state.

Closes GH-7536.

Revision tags: php-7.3.31
# 443b1960 21-Sep-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
JIT x86: Fixed register clobbering in code produced for "$x[$y] %= $z".
Fix #81420: ZipArchive::extractTo extracts outside of desti

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
JIT x86: Fixed register clobbering in code produced for "$x[$y] %= $z".
Fix #81420: ZipArchive::extractTo extracts outside of destination

show more ...


# cebff25d 21-Sep-2021 Stanislav Malyshev

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #81420: ZipArchive::extractTo extracts outside of destination


# f92bae23 21-Sep-2021 Stanislav Malyshev

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #81420: ZipArchive::extractTo extracts outside of destination


# df2ceac2 06-Sep-2021 Christoph M. Becker

Fix #81420: ZipArchive::extractTo extracts outside of destination

We need to properly detect and handle absolute paths in a portable way.

# d515979b 01-Sep-2021 Remi Collet

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
NEWS + bump zip version
Fix #80833 ZipArchive::getStream doesn't use setPassword


Revision tags: php-7.3.30
# a6ffd8d1 12-Aug-2021 Remi Collet

Fix #80833 ZipArchive::getStream doesn't use setPassword

Revision tags: php-7.3.29
# ca824765 07-May-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix zip build


# 1c2e7b4e 07-May-2021 Nikita Popov

Fix zip build

# cc86f70d 07-May-2021 Christoph M. Becker

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix #80863: ZipArchive::extractTo() ignores references


# ab3052ab 07-May-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #80863: ZipArchive::extractTo() ignores references


# 57918b1a 07-May-2021 Christoph M. Becker

Fix #80863: ZipArchive::extractTo() ignores references

We need to cater to references, when traversing the files to extract.
While we're at it, we move the `zval_file` declaration into a

Fix #80863: ZipArchive::extractTo() ignores references

We need to cater to references, when traversing the files to extract.
While we're at it, we move the `zval_file` declaration into a narrower
scope.

Closes GH-6959.

show more ...

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

Revision tags: php-7.3.28
# b567a9d1 19-Apr-2021 Máté Kocsis

Use typed properties in ext/zip

Closes GH-6881

# 13e4ce38 25-Feb-2021 Dmitry Stogov

Improve SPL directory and stat() cache using zend_srting* instead of char*

# 4c6533c2 17-Feb-2021 Máté Kocsis

Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend

Closes GH-6706

Revision tags: php-7.3.27
# 6adfb8c9 20-Jan-2021 Christoph M. Becker

Fix #80648: Fix for bug 79296 should be based on runtime version

Instead of checking for actually affected libzip versions, we now always
`ZIP_TRUNCATE` empty files unless `ZIP_RDONLY` i

Fix #80648: Fix for bug 79296 should be based on runtime version

Instead of checking for actually affected libzip versions, we now always
`ZIP_TRUNCATE` empty files unless `ZIP_RDONLY` is set.

Closes GH-6625.

show more ...

12345678910>>...17