Greg Beaver
5010fec2f0
fix Bug #48681 : openssl signature verification for tar archives broken in ext/phar, merge small fixes to phar.phar generation from PHP_5_3
2009-06-24 22:19:47 +00:00
Greg Beaver
c816d49384
fix EXPECT section of test
2009-06-18 18:12:10 +00:00
Greg Beaver
9948c520ca
fixed isset() on sub-directories (isset('blah') if file 'blah/foo.php' exists)
2009-06-05 04:44:55 +00:00
Greg Beaver
4846e56d40
MFPECL: fix security vulnerability in phar's handling of long tar filenames
2009-06-04 20:00:01 +00:00
Hannes Magnusson
872e9725ee
Fixed creating directory structure when extracting phars
2009-06-04 12:21:59 +00:00
Greg Beaver
ce8cc1c99d
fix potential segfault when converting phars with metadata to other formats, add test
2009-05-24 18:50:37 +00:00
Greg Beaver
3c48633a8f
add missing test
2009-05-24 18:47:54 +00:00
Greg Beaver
5af0cbef65
MFB: fix Bug #48257 : PharData throws exception with non-phar tar
2009-05-13 20:26:18 +00:00
Kalle Sommer Nielsen
a2ad701357
Nuke compiler warning
2009-05-13 15:54:48 +00:00
Kalle Sommer Nielsen
ed5b73e174
Fix conditional
2009-05-11 06:42:06 +00:00
Felipe Pena
9d61bfdc40
- Fixed tests
2009-05-11 01:53:01 +00:00
Greg Beaver
a7e1d6e5c5
MFB: remove precautionary #ifdef - the problem was fixed by moving the efree inside the zend_try block
2009-05-05 01:42:06 +00:00
Greg Beaver
60ed684852
MFB: disable mysterious segfault on PHP 5.3 (5.2 not affected)
2009-05-04 04:30:50 +00:00
Antony Dovgal
81eb79c0a8
fix test
2009-05-01 22:23:27 +00:00
Antony Dovgal
4838847f5d
initialize ext_len
2009-05-01 09:22:02 +00:00
Greg Beaver
db7dc95d15
MFPECL: fixed PECL Bug #14646 : phar error message unclear with php stream wrappers
2009-04-30 04:40:31 +00:00
Greg Beaver
31f3c2ad47
MFPECL: fix PECL bug #16338 , php_stream_copy_to_stream{,_ex}()
2009-04-29 03:24:09 +00:00
Jani Taskinen
e2fe8ebf6d
MFB
2009-04-25 18:02:56 +00:00
Jani Taskinen
5e6bff5c43
- fix test cleanup (== consistent now :)
2009-04-25 17:57:27 +00:00
Greg Beaver
f9cffe4e48
re-disable phar in HEAD on windows
2009-03-01 07:25:24 +00:00
Greg Beaver
5fb232a2de
MFB: revert removal of openssl check, was confusion on my part
2009-03-01 07:20:38 +00:00
Greg Beaver
ed94ab4b24
MFB: add safeguard check for timestamp modification to phar_stub.phpt and phar_gzip.phpt
2009-03-01 07:16:55 +00:00
Greg Beaver
0b53e3dbdd
MFB: fix hash support on windows in ext/phar (Kalle)
2009-03-01 07:07:14 +00:00
Greg Beaver
f8ec2933b0
MFB: fix blog.phar for front.phar.phpt test
2009-03-01 07:00:22 +00:00
Greg Beaver
dd5cd94476
MFB: fix swapping of time/date in timestamp saving for zip, which can cause crash on windows
2009-03-01 06:58:23 +00:00
Greg Beaver
ff1a93c841
MFB: fix SKIPIF, EXPECT in 2 tests
2009-03-01 06:50:38 +00:00
Greg Beaver
175577a4dd
MFB: fix faulty logic in tests, needed to use ksort instead of asort and to sort output. These tests failed on some systems with non-case sensitive filesystem sorting
2009-02-21 03:15:57 +00:00
Greg Beaver
401bb9ed44
MFB: cosmetics: remove two unreachable return statements, removes warning in sun cc
2009-02-21 02:37:33 +00:00
Greg Beaver
9633dc158b
MFB: cosmetics: fix warning (only affects suncc)
2009-02-21 02:34:01 +00:00
Greg Beaver
6a9197f1ad
MFB: 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:52 +00:00
Greg Beaver
4eed2d8ffc
MFB: fix memleaks on zip corruption
2009-02-16 18:55:19 +00:00
Greg Beaver
8f438d17ad
MFB: fix test
2009-02-15 21:50:58 +00:00
Greg Beaver
5b9430b5d4
MFB: fix all remaining big-endian issues
2009-02-15 20:29:26 +00:00
Greg Beaver
a249c4d77a
MFB: fix getting/setting of all 16/32 bit on zip
2009-02-15 19:23:06 +00:00
Greg Beaver
99ce24d6f4
MFB: fix setting of 32-bit values on big-endian systems
2009-02-15 18:52:11 +00:00
Greg Beaver
f232c7f945
MFB: fix bug #47085:rename() returns true even if the file in PHAR does not exist
2009-02-03 18:29:46 +00:00
Greg Beaver
d8713de264
MFB fix Bug #47265 (generating phar.phar fails because of safe_mode)
2009-02-03 18:25:59 +00:00
Ilia Alshanetsky
e62d29d851
MFB: Fixed a possible crash when phar_create_signature() fails
2009-01-02 20:43:58 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Sebastian Bergmann
befd80d1c4
Bump copyright year, 2 of 3.
2008-12-31 11:10:02 +00:00
Marcus Boerger
394a73fbff
Use ' -f' as requested
2008-12-13 14:49:21 +00:00
Hannes Magnusson
2f593a8866
ini_set() should return false on failure, not return the orginal value
...
and pretend everything is fine.
2008-12-09 13:02:27 +00:00
Marcus Boerger
d74dea5b88
- Only show switch -y if available
2008-12-08 00:15:51 +00:00
Marcus Boerger
97cb6dd677
- When installing phar, make phar a link to phar.phar
2008-12-08 00:00:16 +00:00
Felipe Pena
43791516db
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!)
2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:10:13 +00:00
Greg Beaver
1699efd72b
last commit was an old patch, revert faulty line
2008-10-26 05:51:04 +00:00
Greg Beaver
329229071f
MFB: 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:24 +00:00
Felipe Pena
7eb2715464
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:34:17 +00:00
Alexey Zakhlestin
37c4e3c5ac
MFB: proper check for php-version
2008-10-21 13:00:29 +00:00