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
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +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
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
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
3c121bf15f
- MFH: Removed unused variables
2008-11-12 17:26:36 +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
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
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
Felipe Pena
c757089335
- Reverted previous commit
...
- Moved protos to .c (sync with HEAD)
2008-07-04 14:43:53 +00:00
Felipe Pena
12a4c54dcf
- Fixed compile warnings
2008-07-03 12:53:12 +00:00
Felipe Pena
bedd323878
- Added arginfo (functions)
2008-07-03 01:55:48 +00:00
Pierre Joye
b734bf4b97
- sync with PECL HEAD
2008-05-21 09:27:41 +00:00
Pierre Joye
da5b986a72
- MFB: reflect the correct version
2008-01-18 01:11:26 +00:00
Greg Beaver
0d074e23d3
update module version number
2008-01-18 00:20:56 +00:00
Greg Beaver
ccc0d6e32b
a few fixes: overwrite all my careful work in zipint_alias.h with zipint.h, so had to restore that.
...
PHP_RAW_NAMED_FE() won't work, have to use ZEND_RAW_FENTRY
2008-01-13 06:22:27 +00:00
Greg Beaver
c896933b7c
MFH: alias all zip identifiers to avoid potential name conflicts with other apache libs that may export zip symbols
2008-01-13 06:02:30 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Hannes Magnusson
2027a1f16a
MFB5.2: Fix protos
2007-12-15 12:52:55 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Hannes Magnusson
42e003cd6c
MFH: - Fix isset/empty($ZipArchive->property)
...
MFH: - Add test
2007-08-06 22:02:32 +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
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
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
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
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Antony Dovgal
32d078f8e7
MFH
2006-12-25 22:40:23 +00:00
Hannes Magnusson
6077df1a03
Fix typo
2006-12-24 01:29:20 +00:00