Commit Graph

42181 Commits

Author SHA1 Message Date
Antony Dovgal
efa7b5c4c8 MFH: fix bug #48518 (curl crashes when writing into invalid file handle) 2009-06-11 09:46:43 +00:00
Antony Dovgal
0c8e557621 reapply the fix 2009-06-11 09:43:59 +00:00
Hannes Magnusson
4ed202e185 MFH: Mark spl as required and fix extension loading order
# Not needed in 5.2 as the simplexmliterator is part of spl there
2009-06-11 09:41:15 +00:00
Andrey Hristov
28c8d25dca MFH:
Protect the code when variable is NULL, which should never happen, but
anyway, you know about "never happens" :)
2009-06-11 08:52:06 +00:00
Andrey Hristov
cff09ba5df MFH:
Check the pointer before calling a function on it, or we will crash.
  This is a very rare situation where the server is totally broken.
2009-06-11 08:35:47 +00:00
Andrey Hristov
a3b85c28c6 Sync with PHP6 - TSRMLS_FETCH
Extract reference decrement in own function
Remove PHPAPI of a function and make it static as it is not called
externally
2009-06-11 08:30:08 +00:00
Felipe Pena
8da7275f1b - MFH: Fix the fix (Bug #46973 - IPv6 address filter rejects valid address) 2009-06-10 19:01:17 +00:00
Johannes Schlüter
a8f3eeefe8 back to -dev 2009-06-10 18:39:15 +00:00
Johannes Schlüter
10d976d225 5.3.0RC3 2009-06-10 18:18:43 +00:00
Johannes Schlüter
32f91ba388 MFH Hannes said this shall not be run for RCs 2009-06-10 18:15:22 +00:00
Pierre Joye
1cc5bc31b9 - check for static lib as well 2009-06-10 15:44:51 +00:00
Antony Dovgal
ea8d871a01 revert the fix for a while 2009-06-10 11:53:58 +00:00
Antony Dovgal
029f42dc63 MFH: fix arginfo for curl_multi_info_read() 2009-06-10 11:10:01 +00:00
Pierre Joye
dfb8717c1e - put mpir headers in their own directory 2009-06-10 09:59:21 +00:00
andy wharmby
c0977c826e Fix test - remove bogus variation 2009-06-09 20:18:31 +00:00
Pierre Joye
efb976cd2c - missing ACL entry 2009-06-09 16:38:17 +00:00
Pierre Joye
2276bc5188 - #41874 2009-06-09 14:10:08 +00:00
David Soria Parra
368569c05b MFH: Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
The fix was provided by Sriram Natarajan.
2009-06-09 13:31:39 +00:00
Pierre Joye
ba79cd5a23 - fix build (void alarm) 2009-06-09 09:26:02 +00:00
Pierre Joye
64934cf360 - missing include 2009-06-09 09:25:18 +00:00
Scott MacVicar
2d96aa5b22 BFN 2009-06-09 02:00:46 +00:00
Scott MacVicar
fc8426ad31 MFH Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
Need to point the second elements previous item to head so we can traverse upwards.
2009-06-09 01:58:07 +00:00
Scott MacVicar
cf1a08e317 Move entry to 5.2 2009-06-09 00:42:51 +00:00
Pierre Joye
49666eece6 #41874, separate STDOUT and STDERR in exec functions 2009-06-09 00:25:37 +00:00
Pierre Joye
c59a4a0173 - typo 2009-06-08 21:27:05 +00:00
Derick Rethans
6421bb34f8 - Updated to version 2009.9 (2009i) 2009-06-08 13:53:34 +00:00
Ilia Alshanetsky
ae5a233a62 Fixed test 2009-06-08 12:31:08 +00:00
Robert Nicholson
e592b4fd15 New tests for operators. These tests were auto generated to verify correctness for a number of significant values. The work was done by Dave Kelsey. 2009-06-08 11:59:32 +00:00
Andrey Hristov
ec777b89f4 Merge with HEAD. Someone committed changes to HEAD and did not merge back to
the branch.
Also switch off the zval cache, for now.
2009-06-08 10:20:27 +00:00
Pierre Joye
4cb1d57fd5 - sync with 1.0.2, improve perf x86-64 (patch by Solar Designer) 2009-06-08 08:44:15 +00:00
Scott MacVicar
40521699ce MFH make SQLite3::enableExceptions() return the previous value. 2009-06-08 02:15:54 +00:00
Ilia Alshanetsky
5289261baa Fixed bug #44827 (define() is missing error checks for class constants) 2009-06-08 01:26:03 +00:00
Patrick Allaert
4aca43008f MFH: Removed credit 2009-06-07 21:27:19 +00:00
Robert Nicholson
176012df22 New tests for foreach loops. These were written by another member of the Projectzero team. 2009-06-07 21:03:48 +00:00
Matt Wilmas
dca18b68d1 MFH: Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:15 +00:00
Matt Wilmas
2462fce244 MFH: Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:46:54 +00:00
Patrick Allaert
10b559c28c MFH: Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results) 2009-06-07 13:07:58 +00:00
Matt Wilmas
1fa3b21c15 MFH: Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:49 +00:00
Brian Shire
cb7a21a42b MFH: Make pass_two visible to extensions with ZEND_API (required for optimizer). 2009-06-05 23:20:59 +00:00
Rasmus Lerdorf
04f5d7c909 There is no always_inline attribute in gcc2 2009-06-05 22:14:21 +00:00
Matt Wilmas
d55300298e MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:32 +00:00
Matt Wilmas
a80be6827d MFH: Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:33 +00:00
Arnaud Le Blanc
85b9327836 MFH: better fix for #48409 , #48428 , #48228 2009-06-05 11:21:31 +00:00
Greg Beaver
fb86c3f7a2 MFH: fixed isset() on sub-directories (isset("blah") if file "blah/foo.php" exists) 2009-06-05 04:46:49 +00:00
Greg Beaver
a8e7103bbe MFPECL: fix security vulnerability in phar's handling of long tar filenames 2009-06-04 19:59:09 +00:00
Matt Wilmas
26cde1ee2f MFH: Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Matt Wilmas
b907aa4331 MFH:
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
 * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
 * See bug #42868 (presumably-rare platform with different results in 5.2)
 * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
    otherwise it's the same as 5.2
 * Use this conversion method everywhere instead of some plain (long) casts

Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
 * Essentially what 5.3's new conversion was doing in most cases
 * Functions with "limit" or "length" type params could be updated to use this,
    and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
  - See bug #47854, for example; or even #42868 again

# Test updates coming
2009-06-04 18:20:45 +00:00
Andrei Zmievski
1787a2272a MFB 2009-06-04 18:17:43 +00:00
Etienne Kneuss
b8d64e4085 MFH: Include other flags as well 2009-06-04 14:46:26 +00:00
Hannes Magnusson
2a257adda9 MFH: Fixed creating directory structure when extracting phars 2009-06-04 12:22:32 +00:00