Commit Graph

191 Commits

Author SHA1 Message Date
Pierre Joye
defd00ab01 - fix Fixed NULL pointer dereference in ZipArchive::getArchiveComment, (CVE-2010-3709), report&patch from Maksymilian Arciemowicz 2010-10-19 09:56:11 +00:00
Ilia Alshanetsky
2f9da7fce0 Fixed a compiler warning 2010-09-20 12:48:27 +00:00
Pierre Joye
100228aae1 - use TSRMLS_CC instead of TSRMLS_FETCH in virtual_file_ex 2010-08-30 09:38:47 +00:00
Pierre Joye
05da8ecfad - Fix #51002, fix possible memory corruption with very long names 2010-06-15 18:48:33 +00:00
Felipe Pena
d333b79c10 - Fix proto and argname 2010-06-03 18:39:21 +00:00
Felipe Pena
651a164eed - Added ZipArchive arginfo 2010-06-03 18:23:14 +00:00
Dmitry Stogov
c5237d82bf Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties 2010-05-24 14:11:39 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Dmitry Stogov
94dd83722b Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table 2010-04-20 10:57:45 +00:00
Rasmus Lerdorf
f370d79067 It's a size_t here, not an unsigned int. 2010-02-09 17:38:36 +00:00
Pierre Joye
a6c3ac1016 - missing patch (update to 0.9.3) 2010-02-01 21:20:07 +00:00
Pierre Joye
3ef47217d7 - update to 0.9.3 2010-02-01 20:56:03 +00:00
Pierre Joye
fa197ab9cc - fix test 2010-02-01 19:30:32 +00:00
Pierre Joye
a28a91cc0c - fix leak 2010-02-01 18:58:42 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Zoe Slattery
4cc35aeaaf The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Pierre Joye
73fbaa9ee0 - remove double include 2009-08-11 17:08:23 +00:00
Pierre Joye
33a93474df - fixed bug #49072, feof never returns true for damaged file in zip 2009-08-11 15:12:00 +00:00
Pierre Joye
38bb4c1099 - MFB: Fix #48763, create corrupt archive 2009-07-19 15:32:09 +00:00
Pierre Joye
f031901b1b - WS 2009-07-19 15:20:48 +00:00
Mikko Koppanen
5645de756d Closes bug #47667 2009-03-16 10:19:43 +00:00
Ilia Alshanetsky
4b8064c927 Adjust previous fix 2009-02-24 23:55:14 +00:00
Ilia Alshanetsky
551a2d52e2 Fixed 2 memory corruptions in zip extension idenfied by oo_properties.phpt
test
2009-02-22 17:54:50 +00:00
Antony Dovgal
7478ceada3 fix tests 2009-01-08 22:03:32 +00:00
Pierre Joye
206a7cef30 - year++ 2009-01-02 00:39:14 +00:00
Pierre Joye
ee86a20296 - fix filename property read 2009-01-02 00:10:20 +00:00
Pierre Joye
d00fb8b360 - MFB: restore overwrite feature (regression introduced in 5.2.8) 2009-01-02 00:07:57 +00:00
Pierre Joye
14f2f4148c - MFB: restore fix for binary mode on win (regression introduced in 5.2.8) 2009-01-02 00:04:33 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Pierre Joye
0696223079 - version and WS 2008-12-24 11:08:14 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
a94cd6d54f - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:02 +00:00
Felipe Pena
3c121bf15f - MFH: Removed unused variables 2008-11-12 17:26:36 +00:00
Felipe Pena
cd0a8efe41 - Fix test 2008-11-12 17:16:51 +00:00
Pierre Joye
b9853c4ff0 - MFH:
- #14962, makes extractTo 2nd argument really optional
 - replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO
2008-11-12 11:41:21 +00:00
Pierre Joye
7102449f76 - sync tests with pecl 2008-11-04 13:24:39 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Pierre Joye
7d5a67a022 - flatten path and make them relative before extraction
- remove unnecessary export
2008-10-23 16:12:55 +00:00
Arnaud Le Blanc
1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Pierre Joye
10d0029dce - MFH: file will exist only on error (thx tony for the headup) 2008-08-30 23:55:04 +00:00
Pierre Joye
820c2002e4 - fix tests (clean on exit) 2008-08-30 16:24:33 +00:00
Pierre Joye
6fb114f1d5 - MFH: constify zend_function_entry and update phpinfo 2008-08-08 16:05:38 +00:00
Pierre Joye
ed2abda5df - MFH: missing openbasedir check 2008-08-08 15:56:44 +00:00
Pierre Joye
f4087a70aa - MFH: use PHP_ZIP_VERSION_STRING and add add_ascii_assoc_string macro (easy sync) 2008-08-08 15:52:53 +00:00
Pierre Joye
b9d7e8b048 - MFH: fix leak in zif_zip_entry_read and ::ExtractTo on Error 2008-08-08 15:41:25 +00:00
Pierre Joye
5505650cdf - use OPENBASEDIR_CHECKPATH instead of SAFEMODE_CHECKFILE, easier to keep code synced with HEAD 2008-08-08 15:37:37 +00:00
Antony Dovgal
73ab5175b1 move unused vars into their ifdef 2008-08-08 10:12:27 +00:00
Pierre Joye
70596f7474 - add missing files for 0.9 2008-08-08 09:47:15 +00:00
Pierre Joye
490a342205 - MFH: update to 0.9 (torrentzip support, files open only when necessary), windows fixes 2008-08-07 23:24:11 +00:00