summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed crash in zip extract method (possible CWE-170)Pierre Joye2010-11-301-0/+3
|
* - fix Fixed NULL pointer dereference in ZipArchive::getArchiveComment, ↵Pierre Joye2010-10-191-0/+3
| | | | (CVE-2010-3709), report&patch from Maksymilian Arciemowicz
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* fix bug #48640: cleaned up ifdef whoes, removed duplicate code.Guenter Knauf2009-08-261-38/+15
|
* MFB: Fixed 2 memory corruptions in zip extension idenfied byIlia Alshanetsky2009-03-011-3/+6
| | | | | oo_properties.phpt test
* - Fixed a crash on extract in zip when files or directories entry names containPierre Joye2009-02-051-1/+285
| | | | | a relative path. (affects only 5.2 as it is a limitation in 5.2's virtual_file_ex)
* - MFH: fix filename property readPierre Joye2009-01-021-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH: Removed unused variablesFelipe Pena2008-11-121-3/+0
|
* - MFH:Pierre Joye2008-11-121-5/+5
| | | | | | | - #14962, makes extractTo 2nd argument really optional - replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO - sync tests
* - MFHPierre Joye2008-10-231-96/+261
| | | | | | | - Update ziplib - flatten path and make them relative before extraction - remove unnecessary export
* - reflect the correct versionPierre Joye2008-01-181-2/+2
|
* MF5.3: install headers, use correct zip versionGreg Beaver2008-01-181-1/+1
|
* MFH: export libzip symbolsGreg Beaver2008-01-141-23/+33
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fix protosHannes Magnusson2007-12-151-27/+27
|
* MFH: - Fix isset/empty($ZipArchive->property)Hannes Magnusson2007-08-061-0/+50
| | | | | MFH: - Add test
* fix wsAntony Dovgal2007-06-041-2/+2
|
* - fix logic (goto is a gift, I should use it :)Pierre Joye2007-06-031-1/+2
|
* - pecl bug #11216, better fix, leak removed and improved testPierre Joye2007-06-031-7/+15
| | | | | - typo in news, better late than never (-d)
* - PECL #11216, addEmptyDir crashes if the directory already existsPierre Joye2007-06-031-1/+21
|
* - use the same checks for zip_statPierre Joye2007-05-191-3/+3
|
* CS fixesIlia Alshanetsky2007-05-191-28/+23
| | | | | | Fixed a possible crash in the event directory cannot be created, due to a double free.
* Fixed a possible memory leak on open_basedir validationIlia Alshanetsky2007-03-141-0/+1
|
* - MFH: openbasedir and safemode check in ::open()Pierre Joye2007-03-141-0/+4
|
* - MFH: Fixed possible relative path issues in zip_open in TS mode (old API)Pierre Joye2007-03-141-0/+11
|
* - rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used withoutPierre Joye2007-03-141-9/+4
| | | | | | | confusing in head without confusion) - Add safemode and open basedir checks in zip:// wrapper (revert Ilia's patch). Bug found by Stefan Esser in his MOPB-20-2007
* - #40228, ZipArchive::extractTo does create empty directoriesPierre Joye2007-01-291-14/+21
| | | | | recursively
* Fixed memory leaks on errorIlia Alshanetsky2007-01-071-0/+3
|
* fix a few memleaks and double-free()s on error conditionsNuno Lopes2007-01-061-3/+9
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFHAntony Dovgal2006-12-251-2/+2
|
* Fix typoHannes Magnusson2006-12-241-1/+1
|
* Safety checksIlia Alshanetsky2006-12-231-12/+11
|
* - fix warningPierre Joye2006-11-281-4/+4
| | | | | | - addEmptyDir returns true on success - remove useless semi column
* fix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt)Nuno Lopes2006-11-121-1/+3
|
* fix leaks within zip entries in several testsNuno Lopes2006-11-111-2/+9
|
* statification of local functions and variables.Nuno Lopes2006-11-091-73/+60
| | | | | | | | | | also remove a few uneeded global variables interesting new warnings: /cvs/php5/ext/xmlwriter/php_xmlwriter.c:391: warning: 'xmlwriter_objects_clone' defined but not used /cvs/php5/ext/xmlwriter/php_xmlwriter.c:1281: warning: 'zif_xmlwriter_start_dtd_entity' defined but not used /cvs/php5/ext/xmlwriter/php_xmlwriter.c:1325: warning: 'zif_xmlwriter_end_dtd_entity' defined but not used /cvs/php5/ext/xmlwriter/php_xmlwriter.c:1333: warning: 'zif_xmlwriter_write_dtd_entity' defined but not used
* - MFH:Pierre Joye2006-11-031-58/+79
| | | | | | | | | | - fix possible leak in statName and statIndex - add addEmptyDir() method - add zip_stat_init,zip_clear_error and zip_file_clear_error - add tests - Fix protos (Hannes) - setComment return value on success (Hannes)
* - #38943, properties in extended class cannot be setPierre Joye2006-09-241-4/+1
| | | | | - use zend_object_std_init instead of a manual initialisation
* - MFH: PECL Bug #8700, zipArchive::getFromIndex() failsPierre Joye2006-09-151-2/+6
|
* - PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,Pierre Joye2006-09-121-1/+1
| | | | | it now uses expand_filepath
* - bump version, 5.2.0 will have zip-2.0.0-stablePierre Joye2006-09-061-1/+1
|
* - wrong cast, strlen is intPierre Joye2006-09-061-3/+3
|
* MFH zend_parse_parameters() fixesNuno Lopes2006-09-061-6/+8
|
* - MFH: zip_open takes only one parameter (Thx Nuno L.)Pierre Joye2006-09-061-4/+3
|
* - don't rely/use VCWD_REALPATH, use expand_filepath insteadPierre Joye2006-08-261-1/+1
| | | | | NB: that'd to be true for all this VCWD mess
* - bundled matches pecl 1.7.1Pierre Joye2006-08-251-1/+1
|
* - solve the relative path issues in TS environmentPierre Joye2006-08-241-4/+14
|
* - nuke unused parameter (not present in old versions)Pierre Joye2006-08-141-7/+6
|