Commit Graph

45112 Commits

Author SHA1 Message Date
Andrey Hristov
6f90ebd669 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:32:34 +00:00
Andrey Hristov
18f107f94c MFB: Reference decrement in own function. Make a function which is not
called externally static, from PHPAPI.
2009-06-11 08:31:10 +00:00
cb26223cb3 ChangeLog update 2009-06-11 01:33:17 +00:00
Felipe Pena
c3b2427610 - Fix the fix (Bug #46973 - IPv6 address filter rejects valid address) 2009-06-10 19:00:54 +00:00
Johannes Schlüter
a5db6a2bd4 Hannes said this shall not be run for RCs 2009-06-10 18:15:12 +00:00
Pierre Joye
f29591ceb5 - look for static lib too 2009-06-10 16:05:55 +00:00
Hannes Magnusson
929d82eec4 Fix extension loading order 2009-06-10 14:28:06 +00:00
Hannes Magnusson
f7887e7c54 Fix exception message 2009-06-10 13:43:43 +00:00
Ilia Alshanetsky
aafa45d804 Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and
E_WARN if no DTD)

# Will MFH to 5.3 after RC
2009-06-10 12:25:41 +00:00
Antony Dovgal
b775205cec fix arginfo for curl_multi_info_read() 2009-06-10 11:09:48 +00:00
Pierre Joye
be5391a6d5 - MFB: put mpir headers in their own directory 2009-06-10 10:19:11 +00:00
25e12937e5 ChangeLog update 2009-06-10 01:32:52 +00:00
andy wharmby
6b6c38043b Fix test - remove bogus variation 2009-06-09 20:18:29 +00:00
Pierre Joye
251b711eac - MFB: #41874, separate STDOUT and STDERR in exec functions 2009-06-09 14:07:06 +00:00
Pierre Joye
a9d85b668c - #41874, separate STDOUT and STDERR in exec functions 2009-06-09 14:05:44 +00:00
David Soria Parra
21d5bbcb7a 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:32:12 +00:00
Pierre Joye
b78b9f5df3 - fix build (test before commit maybe?) 2009-06-09 10:23:10 +00:00
Pierre Joye
7cc3ad6313 - fix TS build 2009-06-09 10:03:42 +00:00
Pierre Joye
67f88a0c3f - ws 2009-06-09 09:51:56 +00:00
Scott MacVicar
518ad70390 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:57:57 +00:00
35700e9e58 ChangeLog update 2009-06-09 01:32:50 +00:00
Derick Rethans
edb4262bae - Updated to version 2009.9 (2009i) 2009-06-08 13:53:24 +00:00
Robert Nicholson
d2a84e6b22 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:53:55 +00:00
Antony Dovgal
23689799a5 revert yet another wrongly MFBed fix 2009-06-08 11:42:56 +00:00
Andrey Hristov
efc752375e Merge with the branch, someone made changes in PHP5_3 and did not merge.
Also switch off the zval cache for now.
2009-06-08 10:19:29 +00:00
Pierre Joye
4ab529f058 - MFB: sync with 1.0.2, improve perf x86-64 (patch by Solar Designer) 2009-06-08 08:45:36 +00:00
Scott MacVicar
3474172eb9 Change more things to the UTF-16 API and make SQLite3::enableExceptions() return the previous value. 2009-06-08 02:15:42 +00:00
8c82836264 ChangeLog update 2009-06-08 01:33:06 +00:00
Ilia Alshanetsky
18cf69002a MFB: Fixed bug #44827 (define() is missing error checks for class constants) 2009-06-08 01:27:11 +00:00
Patrick Allaert
33fe2ad27f Removed credit 2009-06-07 21:26:45 +00:00
Robert Nicholson
d46dab70e8 New tests for foreach loops. These were written by another member of the Projectzero team. 2009-06-07 21:01:51 +00:00
Patrick Allaert
77693a80b7 Fixed ldap_(first|next)_attribute() function producing 2 warning messages in case wrong parameters given 2009-06-07 20:00:32 +00:00
Matt Wilmas
756d134c45 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:02 +00:00
Matt Wilmas
b412586e4f Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:45:46 +00:00
Patrick Allaert
e2d2ce43ad Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results) 2009-06-07 13:06:03 +00:00
bc5da799f1 ChangeLog update 2009-06-07 01:33:05 +00:00
Matt Wilmas
fa54a9d0f3 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:14 +00:00
15babe7715 ChangeLog update 2009-06-06 01:33:00 +00:00
Brian Shire
d2ef7b42ee Make pass_two visible to extensions with ZEND_API (required for optimizer). 2009-06-05 23:20:58 +00:00
Rasmus Lerdorf
698d284b1f No always_inline attribute in gcc2 2009-06-05 22:19:59 +00:00
Matt Wilmas
e9b382cc2e Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:10 +00:00
Matt Wilmas
88127e2328 Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:18 +00:00
Arnaud Le Blanc
76c919552b better fix for #48409 , #48428 , #48228
# (again, sorry)
2009-06-05 11:21:16 +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
882b1b30d2 ChangeLog update 2009-06-05 01:32:58 +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
Matt Wilmas
9061bf39bd 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:24:09 +00:00
Matt Wilmas
8aa9727037 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:18:47 +00:00
Andrei Zmievski
14dc87e0ae MFB 2009-06-04 18:18:24 +00:00
Etienne Kneuss
f357b310a2 Include other flags as well 2009-06-04 14:46:08 +00:00