|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-27 08:39 UTC] pierre dot php at gmail dot com
[2006-03-27 08:44 UTC] pierre dot php at gmail dot com
[2006-03-27 15:25 UTC] zgryzmonitor at wp dot pl
[2006-03-27 15:54 UTC] pierre dot php at gmail dot com
[2006-03-30 08:51 UTC] pierre dot php at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
Description: ------------ zip_entry_open behaves maliciously when getting content of a binary file, it stops reading on a first 0 character. Changing the dll to 5_1 solved the problem Reproduce code: --------------- private function _addEntry($entry, $extension) { $buf = zip_entry_read ($entry, zip_entry_filesize($entry)); $uuid = Util_Uuid::generate(); $entryPath = $uuid . '.' . $extension; file_put_contents($this->_dir . '/' . $entryPath, $buf); return $entryPath; }