Ilia Alshanetsky
baf5d66614
Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist).
2011-02-01 14:01:00 +00:00
Felipe Pena
12d2104277
- Year++
2011-01-01 02:48:19 +00:00
Kalle Sommer Nielsen
78f10489ca
Added second fix from #50987 that wasn't apart of Ilia's commit
2010-11-20 20:59:28 +00:00
Ilia Alshanetsky
5f1b91a6bf
Fixed bug #50987 (unaligned memory access in phar.c)
2010-11-20 19:27:31 +00:00
Ilia Alshanetsky
813e3cf14d
Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())
2010-05-03 14:41:40 +00:00
Hannes Magnusson
3283b811eb
- Unifiy that message
...
- Mention php.ini
2010-04-27 08:23:25 +00:00
Kalle Sommer Nielsen
cb30330800
Merge safe_mode changes into extensions that are in sync in both branches
2010-04-26 23:55:03 +00:00
Hannes Magnusson
267b5cea14
mention which setting!
2010-04-25 18:55:06 +00:00
Rasmus Lerdorf
315b9956b6
Fix bug #50129
2009-11-09 17:21:15 +00:00
Jani Taskinen
fc4352e2d8
- It is not const in PHP_5_2 but it is in HEAD and PHP_5_3
2009-10-19 15:34:50 +00:00
Greg Beaver
732f4af082
re-organize slightly, fix more php6-only compile warnings in php_stream_copy_to_mem
2009-07-26 01:03:47 +00:00
Greg Beaver
e8756a3c3c
begin work on making phar php6-ready
2009-07-24 23:53:24 +00:00
Greg Beaver
1723b16898
fix PHP bug #48791 : open office files always reported as corrupted
2009-07-23 16:30:27 +00:00
Greg Beaver
475cf4d288
fix Bug #48257 : PharData throws exception with non-phar tar
2009-05-13 20:25:43 +00:00
Antony Dovgal
d3438bf9f5
initialize ext_len
2009-05-01 09:22:16 +00:00
Greg Beaver
6289c323d3
MFPECL fix PECL Bug #14646 : phar error message unclear with php stream wrappers (note: is there a standard way to list PECL bugs in NEWS?)
2009-04-30 04:43:10 +00:00
Greg Beaver
f21744809e
MFPECL: fix PECL bug #16338 , php_stream_copy_to_stream{,_ex}()
2009-04-29 03:24:27 +00:00
Greg Beaver
2344d80015
fix zip access to work in all compilers, present and future, and on all arches without potential for bus errors. This removes PHAR_ZIP_PACK in favor of a safer approach
2009-02-20 05:06:37 +00:00
Greg Beaver
625eb9e0ec
fix remaining big-endian issues with phar
2009-02-15 20:29:13 +00:00
Ilia Alshanetsky
6ca15bfe0f
Fixed a possible crash when phar_create_signature() fails
2009-01-02 20:43:41 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Marcus Boerger
6ca3ad3f41
- MFH We only rely on hash if it is built-in
2008-11-04 14:04:29 +00:00
Marcus Boerger
582cdf9a27
- MFH Add hash dependency at module source level
2008-11-04 13:33:15 +00:00
Greg Beaver
86f8d0a8e9
fix several errors found by valgrind
...
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:09 +00:00
Antony Dovgal
8b793f4274
MFH: fix ZTS build
2008-10-12 21:09:22 +00:00
Greg Beaver
e16636f069
add tests for copy-on-write support
...
- fix metadata handling with cached phars
- fix virtual_dirs with rmdir
- ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
2008-10-12 19:40:11 +00:00
Greg Beaver
fffdf661c9
fix bug #45907 : undefined reference to PHP_SHA512Init
2008-10-09 00:50:47 +00:00
Greg Beaver
dcc919c449
fix Bug #46194 : SIGSEGV when requested file is not found
2008-09-30 02:40:17 +00:00
Greg Beaver
e1d0a964da
fix 017.phpt in streams.c, and very dangerous intercepting of file functions in all cases introduced in multi-threaded fix
2008-09-26 23:34:57 +00:00
Greg Beaver
1847779210
fix bug #46178 : memory leak in ext/phar
2008-09-26 16:29:44 +00:00
Greg Beaver
9eb83b6ae9
fix minor issues found by ICC (unused variables and the like)
2008-09-13 22:30:55 +00:00
Steph Fox
7b74a7711c
- cs, update package files following RC1 (just to keep it all in sync)
2008-08-31 21:01:12 +00:00
Greg Beaver
642f6aa673
remove superfluous double variable declaration, merge from pecl/phar
2008-08-31 06:28:01 +00:00
Greg Beaver
f679e900dd
remove orphaned code, merge from pecl/phar
2008-08-31 06:13:42 +00:00
Greg Beaver
5c3749021a
remove unused variables, merge from pecl/phar
2008-08-31 06:09:37 +00:00
Greg Beaver
c3e8485971
fix bug #45792 : bz2 compressed files in zip failure
2008-08-21 05:17:28 +00:00
Dmitry Stogov
878946a34f
Fixed bug #45613 Segfault when using is_file() on Apache-2.2.8
2008-08-14 13:01:28 +00:00
Steph Fox
4e5280a7a2
- ws/cs, macros, code that only affects other branches
...
- some unsynced changes need valgrind testing before they can go into this branch, see PECL/HEAD
2008-08-01 13:48:45 +00:00
Antony Dovgal
b53da9cd80
fix folding
2008-07-29 10:52:08 +00:00
Dmitry Stogov
c48c63f5e6
Improved webPhar speed (frontcontroller11.phar.phpt is disabled, should be removed)
2008-07-22 07:03:00 +00:00
Dmitry Stogov
68537af530
Fixed directory reanming/deletion
2008-07-20 14:42:34 +00:00
Dmitry Stogov
67b77b06e5
Fixed search on uninitialized data
2008-07-17 14:05:07 +00:00
Dmitry Stogov
5c631e8765
Fixed wrong arguments order
2008-07-17 13:22:32 +00:00
Dmitry Stogov
53bbf1238c
Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are overriden at MINIT and call original functions or PHAR ones dependent on flag setting.
2008-07-10 11:36:50 +00:00
Antony Dovgal
ae7eff10e8
add zero-terminator to the delimiter (and make valgrind happy)
2008-07-09 14:15:41 +00:00
Greg Beaver
37c684ab3d
in preparation for a performance optimization that involves
...
eliminating phar's interception of zend_compile in favor of a new to-be-added hook in PHP 5.3+,
allow "include 'phar:///path/to/my.phar';" to work as equivalent to
php /path/to/my.phar
this slight change in scripting still allows inclusion and execution of phar stub, but removes the need to
check and modify path in zend_compile, which allows us to play much nicer with external tools like
debuggers/opcode caches
2008-06-27 01:21:12 +00:00
Steph Fox
b9e8695e75
- One solution for the openssl issues
...
- config.m4 needs bringing into line with config.w32, there may be broken behaviour under *nix until this is done
2008-06-23 19:18:01 +00:00
Greg Beaver
3a8b14f83f
fix inode calculation, we need fname to be set for phar/tar formats prior to manifest parsing
2008-06-22 00:50:32 +00:00
Steph Fox
b964ec6e5d
- ws
2008-06-21 18:57:53 +00:00
Greg Beaver
eb0a98939a
PHP 5.2 fixes to direct include of compressed archives
2008-06-21 17:05:18 +00:00