Commit Graph

351 Commits

Author SHA1 Message Date
Hannes Magnusson
8e74e30411 Fixed bug#53872 (internal corruption of phar) 2011-08-29 16:05:45 +00:00
Hannes Magnusson
2c2c113b77 Changed error messages 2011-08-29 14:29:40 +00:00
Hannes Magnusson
3a5f7c6348 Fixed bug#52013 (Unable to decompress files in a compressed phar) 2011-08-29 14:19:54 +00:00
Hannes Magnusson
fac70ca0f4 The Phar class extends RecursiveDirectoryIterator, which has changed the way it ensures its ctor is called 2011-08-29 14:17:41 +00:00
Ilia Alshanetsky
de6cd955d6 Make static analyzers happy 2011-08-09 14:11:56 +00:00
Rasmus Lerdorf
d9845c2046 More signed 1-bit bitfields 2011-08-07 15:57:35 +00:00
Xinchen Hui
937f7fa876 Initialize variable with fixed value for avoiding compile warnings 2011-08-07 11:13:27 +00:00
Pierrick Charron
21232aa9f2 Pointer returned is never used 2011-08-07 05:46:31 +00:00
Xinchen Hui
ad0cfd9865 Initialize temp with 0, avoiding compile warning 2011-08-07 05:24:11 +00:00
Xinchen Hui
66527e38cc Fixed the bug that temp may depend on a uninitialzed value 2011-08-07 05:19:55 +00:00
Felipe Pena
9480eace41 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
da376383e8 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Pierre Joye
cc1c7af037 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Felipe Pena
5992c06441 - Added missing void param checks, and fix arginfo 2011-06-18 22:48:31 +00:00
Felipe Pena
bf1779e973 - Added missing arginfos for void params and void param checks 2011-06-18 15:56:14 +00:00
Christopher Jones
dba594a4e2 Fix skipif to resolve the common reason this test fails 2011-06-17 18:28:34 +00:00
Felipe Pena
8f4d497964 - Missing fixes for grammar fix 's/valid path/a valid path/' 2011-06-09 00:23:43 +00:00
Felipe Pena
4737910b69 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Johannes Schlüter
103ded60c0 - Handle error if tempfile can't be opened, found by parfait 2011-05-16 22:24:41 +00:00
Felipe Pena
3acdca4703 - Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters) 2011-03-26 17:02:34 +00:00
Felipe Pena
0be5ca5b3c - Missing fixes for bug #54247 2011-03-14 14:12:42 +00:00
Felipe Pena
fe91aeaaac - Fixed bug #54247 (format-string vulnerability on Phar) 2011-03-14 13:54:41 +00:00
Nuno Lopes
8d2d7255ec MFB: fix lcov build (r308657) 2011-02-25 09:37:33 +00:00
Ilia Alshanetsky
0927309852 Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist). 2011-02-01 14:01:00 +00:00
Ilia Alshanetsky
e3d1ab787f Fixed variable overloading 2011-01-20 19:32:36 +00:00
Felipe Pena
d90a33d51c - Year++ 2011-01-01 02:46:03 +00:00
Eyal Teutsch
6f8b1ce7c7 removed extra ?> from the FILE section 2010-12-30 14:36:01 +00:00
Eyal Teutsch
8533e37d0c using PWD which is supported by run-tests.php, rather than $cwd 2010-12-26 09:47:50 +00:00
Ilia Alshanetsky
9c30a3398a Fixed bug #53541 (format string bug in ext/phar). 2010-12-14 17:00:36 +00:00
Dmitry Stogov
ab93d8c621 Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini 2010-11-24 05:41:23 +00:00
Kalle Sommer Nielsen
701bfaa2fa Added second fix from #50987 that wasn't apart of Ilia's commit 2010-11-20 20:59:28 +00:00
Ilia Alshanetsky
3016ad46ae Fixed bug #50987 (unaligned memory access in phar.c) 2010-11-20 19:27:31 +00:00
Kalle Sommer Nielsen
1fed0e5a84 Kill some more constness warnings in com_dotnet/phar/standard 2010-11-19 16:03:00 +00:00
Adam Harvey
42752c71d4 Fix failing phar tests. 2010-09-24 08:53:00 +00:00
Adam Harvey
a89b97102e Fix up the vim folds in phar_object.c and add a note that the two prototypes
before Phar::__construct() are actually valid and not a mistake, per bug
#52909.
2010-09-23 04:41:14 +00:00
Pierre Joye
511b547342 - fix string validation, MOPS-2010-24 2010-08-20 16:37:33 +00:00
Eric Stewart
8584b90199 Added test for bug 52013 to trunk. 2010-07-02 02:45:56 +00:00
Pierre Joye
0c226deaaa - Fix bug #50578, incorrect shebang in phar.phar 2010-06-16 18:30:35 +00:00
Ilia Alshanetsky
676a8338a1 Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER()) 2010-05-03 14:41:40 +00:00
Ilia Alshanetsky
1b47fcfd33 Fixed string format validation inside phar extension. Reported by Stefan Esser 2010-04-27 17:13:24 +00:00
Hannes Magnusson
8ba86768e7 - Unifiy that message
- Mention php.ini
2010-04-27 08:23:25 +00:00
Hannes Magnusson
56970e11e5 Fix test 2010-04-27 08:17:17 +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
Hannes Magnusson
b25baf178d mention which setting! 2010-04-25 18:55:06 +00:00
Dmitry Stogov
dd5c478be6 Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed. 2010-04-20 11:05:54 +00:00
Johannes Schlüter
26b08f9857 Remove main/php3_compat.h, for that a few references to function_entry have
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Felipe Pena
6c153e8634 - Fixed bug #50358 (Compile failure compiling ext/phar/util.lo) 2010-03-06 14:45:49 +00:00
Brian Shire
0639396ac1 MFH: Fix phar regex test when '.php' is part of the path, instead be more specific with '.php$' regex. 2009-11-21 05:40:16 +00:00
Greg Beaver
d7f50ac2c4 fix PHP Bug #49938: Phar::isBuffering() returns inverted value 2009-11-13 00:58:11 +00:00
David Coallier
10ca1684cf - MFH: Added test for bug 49910 for phar 2009-11-12 17:47:17 +00:00