1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 10:12:18 +01:00
Commit Graph

140 Commits

Author SHA1 Message Date
Mikko Koppanen
109dc1e6f6 Closes bug #47667 2009-03-16 10:22:13 +00:00
Ilia Alshanetsky
ae31c3c66a MFB: Fixed 2 memory corruptions in zip extension idenfied by
oo_properties.phpt test
2009-03-01 17:35:25 +00:00
Pierre Joye
74f431ed45 - Fixed a crash on extract in zip when files or directories entry names contain
a relative path. (affects only 5.2 as it is a limitation in 5.2's virtual_file_ex)
2009-02-05 19:53:22 +00:00
Antony Dovgal
7bad8ec1ca fix tests 2009-01-08 22:03:40 +00:00
Pierre Joye
ab61e0138e - MFH: fix filename property read 2009-01-02 00:12:29 +00:00
Pierre Joye
597f0acfaa - restore overwrite feature (regression introduced in 5.2.8) 2009-01-01 19:32:45 +00:00
Pierre Joye
704599d3a9 - restore fix for binary mode on win (regression introduced in 5.2.8) 2009-01-01 19:32:24 +00:00
Sebastian Bergmann
ef49b9a8de MFH: Bump copyright year, 3 of 3. 2008-12-31 11:17:49 +00:00
Pierre Joye
e3b599807c - not used anymore 2008-12-09 09:21:59 +00:00
Felipe Pena
9bb9f270fa - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:15 +00:00
Felipe Pena
1bedb57dd4 - MFH: Removed unused variables 2008-11-12 17:50:37 +00:00
Felipe Pena
c18fd01775 - Fix test 2008-11-12 17:29:50 +00:00
Pierre Joye
36b9272e3c - MFH:
- #14962, makes extractTo 2nd argument really optional
 - replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO
 - sync tests
2008-11-12 11:59:26 +00:00
Pierre Joye
08a1795767 - remove unused files 2008-10-23 16:16:56 +00:00
Pierre Joye
4fc1246d11 - add missing files 2008-10-23 16:15:54 +00:00
Pierre Joye
047bda3cb8 - MFH
- Update ziplib
 - flatten path and make them relative before extraction
 - remove unnecessary export
2008-10-23 16:13:51 +00:00
Antony Dovgal
990de890fa MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:50 +00:00
Antony Dovgal
b54305bc7d MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams 2008-07-23 09:09:20 +00:00
Pierre Joye
c1fa811b5c - reflect the correct version 2008-01-18 00:51:38 +00:00
Greg Beaver
736e23a4c5 MF5.3: install headers, use correct zip version 2008-01-18 00:31:23 +00:00
Greg Beaver
b24c96616a add missing alias .h files 2008-01-14 03:58:03 +00:00
Greg Beaver
1d3604c1b1 MFH: export libzip symbols 2008-01-14 03:19:41 +00:00
Greg Beaver
5d96f54cf9 revert last commit, was to wrong branch 2008-01-12 03:46:47 +00:00
Greg Beaver
9ce5990880 MFH: export symbols for use by other extensions like phar 2008-01-12 03:43:06 +00:00
Sebastian Bergmann
d9f3a1305f MFH: Bump copyright year, 2 of 2. 2007-12-31 07:20:42 +00:00
Hannes Magnusson
25a7740600 Fix protos 2007-12-15 12:52:11 +00:00
Antony Dovgal
c39a2f7143 fix test 2007-11-19 11:12:36 +00:00
Antony Dovgal
afed25d648 MFH 2007-08-13 12:46:40 +00:00
Hannes Magnusson
d937ffa999 Fix test 2007-08-06 23:35:46 +00:00
Hannes Magnusson
42e003cd6c MFH: - Fix isset/empty($ZipArchive->property)
MFH: - Add test
2007-08-06 22:02:32 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Antony Dovgal
61d697d100 fix ws 2007-06-04 06:38:22 +00:00
Pierre Joye
c76e5dd0bd - fix logic (goto is a gift, I should use it :) 2007-06-03 21:34:21 +00:00
Pierre Joye
d5d2d6e30e - pecl bug #11216, better fix, leak removed and improved test
- typo in news, better late than never (-d)
2007-06-03 21:21:57 +00:00
Pierre Joye
fd2e66bd05 - PECL #11216 test 2007-06-03 19:50:36 +00:00
Pierre Joye
ef952b0383 - PECL #11216, addEmptyDir crashes if the directory already exists 2007-06-03 19:47:17 +00:00
Pierre Joye
b65cdd0793 - use the same checks for zip_stat 2007-05-19 22:25:11 +00:00
Ilia Alshanetsky
c009fc8915 CS fixes
Fixed a possible crash in the event directory cannot be created, due to a
double free.
2007-05-19 19:29:37 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
5ed63dd8a9 Fixed a possible memory leak on open_basedir validation 2007-03-14 15:02:20 +00:00
Pierre Joye
fc3a62ed48 - MFH: openbasedir and safemode check in ::open() 2007-03-14 12:06:20 +00:00
Pierre Joye
b40b5b5305 - MFH: Fixed possible relative path issues in zip_open in TS mode (old API) 2007-03-14 11:32:25 +00:00
Pierre Joye
1c0b8e6f15 - rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used without
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
2007-03-14 11:08:57 +00:00
Pierre Joye
4f5303ab92 - add more cases for getComment 2007-03-14 11:02:29 +00:00
Ilia Alshanetsky
6d70aa1f4e Added missing open_basedir & safe_mode checks to zip:// and bzip://
wrappers.

Issues idendtified by MOPB-20 and MOPB-21
2007-03-14 03:50:18 +00:00
Ilia Alshanetsky
f4a8180f65 Fixed snprintf() usage 2007-02-24 16:23:10 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Pierre Joye
601a77b3a3 - #40228, ZipArchive::extractTo does create empty directories
recursively
2007-01-29 15:25:06 +00:00
Ilia Alshanetsky
cbf6f5b538 Fixed memory leaks on error 2007-01-07 03:12:14 +00:00
Nuno Lopes
3eaf46af3e fix a few memleaks and double-free()s on error conditions 2007-01-06 20:16:25 +00:00