Commit Graph

6872 Commits

Author SHA1 Message Date
Rasmus Lerdorf
bc8e8b3467 Fix tests that break if filter.default isn't set to unsafe_raw 2012-03-02 05:04:40 +00:00
Pierre Joye
f44bf55558 - fix bug #60879, unserialize does not invoke __wakeup 2012-02-28 18:36:10 +00:00
Olivier DOUCET
8a8dd922a0 fix phpt : fopen(data://) requires allow_url_fopen=1 2012-02-25 12:44:46 +00:00
Olivier DOUCET
bdbcc1789d more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
Gustavo André dos Santos Lopes
911330e62c - Better fix for #61115.
- Fixed resource leak in stream_socket_client().
2012-02-24 22:56:21 +00:00
Gustavo André dos Santos Lopes
cde7662226 - Fixed bug #61115 (stream related segfault on fatal error in
php_stream_context_link).
#run-tests.php is not currently detecting the segfault in the test
#Missing 5.4 merge
2012-02-22 11:45:26 +00:00
Rasmus Lerdorf
ec9fe66069 This one depends on max_input_vars as well 2012-02-14 09:50:46 +00:00
David Soria Parra
e78aa1b3b4 Add credit line for the PHP Output Handler 2012-02-13 19:54:51 +00:00
Xinchen Hui
af92365239 Improved fix for #61058, and add test script 2012-02-12 05:32:24 +00:00
Xinchen Hui
3d898cfa3f Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX) 2012-02-12 04:59:08 +00:00
Christopher Jones
0b702cb5be Force allow_url_fopen to fix qa.php.net/reports diffs 2012-02-06 23:52:42 +00:00
Christopher Jones
c4100c81cc Mask different curl message. Now passes on Oracle Linux 5 2012-02-06 23:31:51 +00:00
Gustavo André dos Santos Lopes
7dcada1c8c - Fixed possible unsigned int wrap around in html.c. Note that 5.3 has the same
(potential) problem; even though the code is substantially different, the
  variable name and the fashion it was incremented was kept.
2012-02-05 14:57:57 +00:00
Gustavo André dos Santos Lopes
122e11ef6e - Fixed bug #60965 (Buffer overflow on htmlspecialchars/entities with
$double=false).
- Removed unused variable.
- Given maxlen the usual meaning of *len variables (terminator not included).
- Changed some comments.
2012-02-04 18:12:18 +00:00
Gustavo André dos Santos Lopes
024e1307c6 - Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and
forbid \0. See bug #60227.
2012-02-03 13:56:37 +00:00
Adam Harvey
325ca60fa7 Fix bug #60933 (Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6) on PHP_5_3 and trunk. 2012-02-03 01:21:24 +00:00
Gustavo André dos Santos Lopes
f906a015bb - Hopefully correct fix for bug #60227.
#No commit for 5.4 for now
2012-02-02 18:24:53 +00:00
Adam Harvey
4dc8b1ad11 Fix bug #60801 (strpbrk() mishandles NUL byte) on trunk only for now. 2012-01-30 13:29:15 +00:00
Gustavo André dos Santos Lopes
f5a4573182 - Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
together with the last read).
- Fixed bug #60817 (stream_get_line() reads from stream even when there is
  already sufficient data buffered). stream_get_line() now behaves more like
  fgets(), as is documented.
#withheld commit to 5.4
2012-01-22 20:30:37 +00:00
Pierrick Charron
1bad879f4c Remove memory leak in substr_replace (to commit in 5.4 after code freeze) 2012-01-20 13:20:14 +00:00
Ferenc Kovacs
59fd8d21c9 merging the patch from #52078, fixes the test on disk with huge inode size(fileinode() can overflow and return negative values there). will merge this to PHP_5_4 after the commit freeze. 2012-01-19 00:20:04 +00:00
Dmitry Stogov
fc2d10a4d3 Fixed incorrect type cast 2012-01-11 15:04:14 +00:00
Pierre Joye
71edeb61bd - make it windows version independent, error msg differs, bad but well 2012-01-10 08:30:00 +00:00
Pierre Joye
5d6446513e - error is windows version dependent and not what we test here 2012-01-09 15:31:33 +00:00
Nuno Lopes
34bcd34b8c do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot) 2012-01-08 18:03:56 +00:00
Daniel Convissor
bbf403f4ce Remove test for bug 60675, the change in behavior between 5.3 and 5.4 is intentional. 2012-01-07 23:09:49 +00:00
Daniel Convissor
b21b982672 Test for bug 60675. 2012-01-06 22:10:04 +00:00
Stanislav Malyshev
e2a2ed348f fix bug #55871 - Interruption in substr_replace() 2012-01-02 00:47:57 +00:00
Felipe Pena
8775a37559 - Year++ 2012-01-01 13:15:04 +00:00
Stanislav Malyshev
3dac688483 test fixes 2011-12-26 03:22:07 +00:00
Gustavo André dos Santos Lopes
d1be77edfb - Fixed bug #60570 (http wrapper leaks context resource if request fails/is
redirected).
2011-12-21 15:44:58 +00:00
Xinchen Hui
5da241ca99 fix tests 2011-12-17 04:21:14 +00:00
Pierre Joye
b52ed277e3 - tmp dir is system depedent 2011-12-13 23:18:12 +00:00
Pierre Joye
49986dbf87 - skip on win 2011-12-13 23:04:01 +00:00
Pierre Joye
ccbfe64528 - ignore notices here, not what we test (array to string conversion) 2011-12-13 13:46:27 +00:00
Pierre Joye
65ea281189 - use the test itself, making the test passes when ran outside the src tree 2011-12-12 19:09:01 +00:00
Pierre Joye
f776d2621c - skip on win 2011-12-12 14:03:24 +00:00
Pierre Joye
4982528a94 - skip on win 2011-12-12 14:02:06 +00:00
Pierre Joye
5df197a5c6 - skip on win 2011-12-12 13:56:42 +00:00
Pierre Joye
4a5ce0c0aa - skip on win 2011-12-12 13:53:38 +00:00
Pierre Joye
275dc66774 - skip on win 2011-12-12 13:49:21 +00:00
Pierre Joye
c0aca2f440 - skip on win 2011-12-12 13:34:21 +00:00
Pierre Joye
e1d45c6db8 - skip on win 2011-12-12 13:31:43 +00:00
Gustavo André dos Santos Lopes
faec3c5111 - Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together
with the last read.
2011-12-11 21:08:15 +00:00
Patrick Allaert
2b392c9c10 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:15:12 +00:00
Hannes Magnusson
c884d3782c Fix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt return value 2011-12-04 12:34:19 +00:00
Felipe Pena
bffd89487d - Fixed tests 2011-12-01 15:38:17 +00:00
Felipe Pena
b69251c9f6 - Fixed tests 2011-12-01 14:14:30 +00:00
Dmitry Stogov
9d343d7694 Added implicit type casting to allow reusage of macros in C++ extensions (Yoram) 2011-11-28 13:01:28 +00:00
Dmitry Stogov
b3522ffdcb Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc, when server uses chunked transfer encoding with spaces after chunk size) 2011-11-23 10:49:42 +00:00