Commit Graph

19 Commits

Author SHA1 Message Date
Xinchen Hui
c081ce628f Bump year 2014-01-03 11:08:10 +08:00
Remi Collet
5dc37b3510 Sync ext/zip with pecl/zip version 1.3.2
- update libzip to version 1.11.1. We don't use any private symbol anymore
- new method ZipArchive::setPassword($password)
- add --with-libzip option to build with system libzip
2013-11-04 13:23:36 +01:00
Andrey Hristov
92d27ccb05 Constify streams API and a few other calls down the rabbit hole.
(`char *` to `const char *` for parameters and few return values)
In a few places int len moved to size_t len.
2013-07-30 12:49:36 +02:00
Gustavo André dos Santos Lopes
28cd40919d - Fixed bug #49072 (feof never returns true for damaged file in zip). 2011-02-01 14:43:52 +00:00
Hannes Magnusson
bbd23afa98 Fixed bug#53579 (stream_get_contents() segfaults on ziparchive streams)
Also added the filename being access to the stream_get_meta_data() array
2010-12-20 11:00:27 +00:00
Pierrick Charron
71dfe80e05 Remove unused variables 2010-11-17 17:55:18 +00:00
Pierre Joye
6f1cfe3e7f - fix type and silent warning 2010-11-03 21:50:03 +00:00
Pierre Joye
3b337020fa - add stat support for zip:// 2010-11-03 21:48:08 +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
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
Antony Dovgal
28a22396d4 MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:14 +00:00
Antony Dovgal
af00eedf4a MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams 2008-07-23 09:09:10 +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
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
eaf3d32157 Safety checks 2006-12-23 23:28:39 +00:00
Nuno Lopes
7d75155e01 fix leak in oo_stream.phpt 2006-11-12 00:41:16 +00:00
Ilia Alshanetsky
b0ea656129 Fixed compiler warnings. 2006-07-27 00:36:55 +00:00
SVN Migration
664d102aa6 This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-07-24 16:58:59 +00:00