]>
granicus.if.org Git - php/log
Nuno Lopes [Mon, 20 Feb 2012 16:01:34 +0000 (16:01 +0000)]
fix race condition in find (it was finding the copied files over and over again, and recursing forever)
Nikita Popov [Sun, 19 Feb 2012 14:39:29 +0000 (14:39 +0000)]
Fix bug #61139 gzopen leaks when specifying invalid mode
Needs to be merged to 5.4.
Nikita Popov [Sat, 18 Feb 2012 14:58:19 +0000 (14:58 +0000)]
Fix bug #61097 Memory leak in xmlrpc functions copying zvals
Needs to be merged to 5.4.
Nikita Popov [Sat, 18 Feb 2012 13:39:13 +0000 (13:39 +0000)]
Fix headers generated by phar
sapi_header_line.line_len is the length without null terminator, so one has to
take sizeof - 1. This fixes some test failures as the NUL bytes were causing
warnings.
Needs to be merged to 5.4.
Nikita Popov [Sat, 18 Feb 2012 11:59:13 +0000 (11:59 +0000)]
Fix cli server tests broken by r323078
Needs to be merged to 5.4 after r323078 is merged.
Rasmus Lerdorf [Fri, 17 Feb 2012 17:54:11 +0000 (17:54 +0000)]
I think we should let this be settable from .htaccess to match the other post/upload
related limits like upload_max_filesize, post_max_size, and max_input_vars.
Rasmus Lerdorf [Thu, 16 Feb 2012 17:48:30 +0000 (17:48 +0000)]
Weird, what happened here?
Stanislav Malyshev [Thu, 16 Feb 2012 01:51:45 +0000 (01:51 +0000)]
make ZEND_SIGNALS configurable, off by default
also make ZEND_SIGNALS enabled and disabled binary-compatible
Michael Wallner [Tue, 14 Feb 2012 19:31:54 +0000 (19:31 +0000)]
fix compat function not passing along input buffer with php_output_context_pass() if the output_handler_func does not set out_str
Mateusz Kocielski [Tue, 14 Feb 2012 14:14:30 +0000 (14:14 +0000)]
* fixed bug #60704 unlink() bug with some files path
Reviewed by: rasmus@
Dmitry Stogov [Tue, 14 Feb 2012 13:31:23 +0000 (13:31 +0000)]
Fixed reinitialization of SAPI callbacks after php_module_startup()
Rasmus Lerdorf [Tue, 14 Feb 2012 09:50:46 +0000 (09:50 +0000)]
This one depends on max_input_vars as well
Rasmus Lerdorf [Tue, 14 Feb 2012 09:47:32 +0000 (09:47 +0000)]
These tests fail unless max_input_vars and/or max_file_uploads is set high enough
Dmitry Stogov [Tue, 14 Feb 2012 09:27:08 +0000 (09:27 +0000)]
Added ability to reset user opcode handlers (Yoram)
Dmitry Stogov [Tue, 14 Feb 2012 08:58:52 +0000 (08:58 +0000)]
Improved max_input_vars directive to check nested variables
Xinchen Hui [Tue, 14 Feb 2012 05:35:34 +0000 (05:35 +0000)]
Fixed bug #61072 (Memory leak when restoring an exception handler)
David Soria Parra [Mon, 13 Feb 2012 19:54:51 +0000 (19:54 +0000)]
Add credit line for the PHP Output Handler
Xinchen Hui [Sun, 12 Feb 2012 05:32:24 +0000 (05:32 +0000)]
Improved fix for #61058, and add test script
Xinchen Hui [Sun, 12 Feb 2012 04:59:08 +0000 (04:59 +0000)]
Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
Christopher Jones [Thu, 9 Feb 2012 23:53:07 +0000 (23:53 +0000)]
Merge Stas's 5.4 r323128 to trunk
Xinchen Hui [Wed, 8 Feb 2012 15:07:28 +0000 (15:07 +0000)]
decrescent order
#<Felipe> laruence: yes, we used to use decrescent order of bug id in the NEWS entry.
Xinchen Hui [Wed, 8 Feb 2012 14:07:27 +0000 (14:07 +0000)]
Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical vars).
Xinchen Hui [Wed, 8 Feb 2012 03:03:05 +0000 (03:03 +0000)]
Revert -r319102 and -r322922 in 5.4 branch since they introduce #60978
Fixed #60978 in trunk without reverting previous fix
#see http://news.php.net/php.internals/57789
Antony Dovgal [Tue, 7 Feb 2012 20:49:10 +0000 (20:49 +0000)]
fix bug #54682 (tidy null pointer dereference)
Christopher Jones [Tue, 7 Feb 2012 01:15:13 +0000 (01:15 +0000)]
Fix OpenSSL version-dependent diff. "Time Stamp signing" is not in openssl 0.9. Skip current test for 0.9. New test for 0.9 approved by Stas
Christopher Jones [Mon, 6 Feb 2012 23:52:42 +0000 (23:52 +0000)]
Force allow_url_fopen to fix qa.php.net/reports diffs
Christopher Jones [Mon, 6 Feb 2012 23:31:51 +0000 (23:31 +0000)]
Mask different curl message. Now passes on Oracle Linux 5
Christopher Jones [Mon, 6 Feb 2012 23:14:47 +0000 (23:14 +0000)]
Allow alternative curl output shown in several qa.php.net/reports logs
Rasmus Lerdorf [Mon, 6 Feb 2012 18:18:53 +0000 (18:18 +0000)]
Safer way to call pcre_fullinfo - bug 60986
Rasmus Lerdorf [Mon, 6 Feb 2012 18:11:56 +0000 (18:11 +0000)]
Fix for bug 60986
Gustavo André dos Santos Lopes [Sun, 5 Feb 2012 14:57:57 +0000 (14:57 +0000)]
- 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.
Gustavo André dos Santos Lopes [Sun, 5 Feb 2012 11:45:01 +0000 (11:45 +0000)]
- Connection: close, not "closed".
Rasmus Lerdorf [Sun, 5 Feb 2012 10:35:56 +0000 (10:35 +0000)]
Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there
is no way to know whether dst should be applied or not.
Rasmus Lerdorf [Sun, 5 Feb 2012 10:29:34 +0000 (10:29 +0000)]
Without a timezone you can't know whether it is dst or not in this one
Rasmus Lerdorf [Sun, 5 Feb 2012 10:08:16 +0000 (10:08 +0000)]
Another openssl test that is dependent on the openssl version. The output has
changed in more recent versions. Synch with newer output and consider changing
the test to only pick out the more stable fields instead of all of them.
Popa Adrian Marius [Sun, 5 Feb 2012 09:58:50 +0000 (09:58 +0000)]
fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object http://gcov.php.net/viewer.php?version=PHP_5_4&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_53280.phpt
Rasmus Lerdorf [Sun, 5 Feb 2012 09:52:41 +0000 (09:52 +0000)]
Need EXPECTF here, of course
Rasmus Lerdorf [Sun, 5 Feb 2012 09:50:14 +0000 (09:50 +0000)]
Getting different hashes here. But this test isn't testing the hashes,
it is just making sure we actually get a hash and don't crash.
Rasmus Lerdorf [Sun, 5 Feb 2012 09:32:20 +0000 (09:32 +0000)]
According to the reports on qa this test is failing the same way for everyone.
See: http://qa.php.net/reports/viewreports.php?version=5.3.10&test=%2Fext%2Fopenssl%2Ftests%2Fbug28382.phpt
I'm not sure if this is due to a change in the openssl library or in the extension, so perhaps the test
itself needs to change, but for now synch it with the new output and watch for failures.
Rasmus Lerdorf [Sun, 5 Feb 2012 06:09:22 +0000 (06:09 +0000)]
This test needs gc enabled
Gustavo André dos Santos Lopes [Sat, 4 Feb 2012 18:12:18 +0000 (18:12 +0000)]
- 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.
Xinchen Hui [Fri, 3 Feb 2012 16:27:35 +0000 (16:27 +0000)]
Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())
Gustavo André dos Santos Lopes [Fri, 3 Feb 2012 13:56:37 +0000 (13:56 +0000)]
- Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and
forbid \0. See bug #60227.
David Soria Parra [Fri, 3 Feb 2012 08:14:39 +0000 (08:14 +0000)]
mention git
Adam Harvey [Fri, 3 Feb 2012 01:21:24 +0000 (01:21 +0000)]
Fix bug #60933 (Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6) on PHP_5_3 and trunk.
Gustavo André dos Santos Lopes [Thu, 2 Feb 2012 18:24:53 +0000 (18:24 +0000)]
- Hopefully correct fix for bug #60227.
#No commit for 5.4 for now
Andrey Hristov [Thu, 2 Feb 2012 15:00:42 +0000 (15:00 +0000)]
assert
Dmitry Stogov [Thu, 2 Feb 2012 10:26:53 +0000 (10:26 +0000)]
Fixed memory leaks
Stanislav Malyshev [Wed, 1 Feb 2012 19:52:05 +0000 (19:52 +0000)]
fix UMR in php_register_variable_ex, reported by Stefan Esser
Dmitry Stogov [Wed, 1 Feb 2012 12:16:52 +0000 (12:16 +0000)]
Fixed basic HTTP authentication for WSDL sub requests.
Dmitry Stogov [Wed, 1 Feb 2012 11:26:57 +0000 (11:26 +0000)]
Fixed basic HTTP authentication for WSDL sub requests
Michael Wallner [Tue, 31 Jan 2012 10:47:21 +0000 (10:47 +0000)]
fix usage of php_output_(de)activate; I guess this code doesn't bother about one more hack;
Michael Wallner [Tue, 31 Jan 2012 08:51:24 +0000 (08:51 +0000)]
fix headers print to stdout/stderr if no output written; need to make some more testsbefore committing to PHP_5_4; fix crashes and invalid usage of output control in cli server while passing by
Pierre Joye [Tue, 31 Jan 2012 07:17:05 +0000 (07:17 +0000)]
- fix #55226, WS
Pierre Joye [Tue, 31 Jan 2012 07:14:36 +0000 (07:14 +0000)]
- fix #55226, fix build
Adam Harvey [Mon, 30 Jan 2012 13:29:15 +0000 (13:29 +0000)]
Fix bug #60801 (strpbrk() mishandles NUL byte) on trunk only for now.
Michael Wallner [Mon, 30 Jan 2012 12:17:51 +0000 (12:17 +0000)]
use stderr before, stdout after php_output_startup() and sapi_module.ub_write() after php_output_activate()
- fixes Bug #60920 CLI: php -v on STDERR
- fixes Bug #60923 Failing tests for sapi/cli
Pierre Joye [Mon, 30 Jan 2012 11:04:19 +0000 (11:04 +0000)]
- libssh2 1.3.0
Dmitry Stogov [Mon, 30 Jan 2012 10:51:02 +0000 (10:51 +0000)]
Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods
Dmitry Stogov [Mon, 30 Jan 2012 10:08:11 +0000 (10:08 +0000)]
Fixed bug #51860 (Include fails with toplevel symlink to /)
Derick Rethans [Sun, 29 Jan 2012 15:25:40 +0000 (15:25 +0000)]
- Reinstated correct return values after David's fix for #60218.
Derick Rethans [Sun, 29 Jan 2012 11:17:07 +0000 (11:17 +0000)]
CS fixes.
Rasmus Lerdorf [Sun, 29 Jan 2012 04:22:23 +0000 (04:22 +0000)]
createCollation() for pdo_sqlite as well
Closes bug #55226
Rasmus Lerdorf [Sun, 29 Jan 2012 04:20:50 +0000 (04:20 +0000)]
Missed the test
Rasmus Lerdorf [Sun, 29 Jan 2012 03:57:29 +0000 (03:57 +0000)]
Good patch from Brad Dewar that adds missing createCollation()
method. Fixes bug #60871 and is related to bug #55226
Rasmus Lerdorf [Sat, 28 Jan 2012 02:43:31 +0000 (02:43 +0000)]
Simple fix that just quotes the filenames in run-tests to support paths with spaces.
Fixes bug #60734
Felipe Pena [Sat, 28 Jan 2012 01:24:54 +0000 (01:24 +0000)]
- Fixed bug #60860 (session.save_handler=user without defined function core dumps)
Pierre Joye [Fri, 27 Jan 2012 17:35:01 +0000 (17:35 +0000)]
- update libs
Pierre Joye [Fri, 27 Jan 2012 17:31:17 +0000 (17:31 +0000)]
- update libs
Pierre Joye [Fri, 27 Jan 2012 13:27:03 +0000 (13:27 +0000)]
- update libs
Pierre Joye [Fri, 27 Jan 2012 10:56:33 +0000 (10:56 +0000)]
- fix #60895, possible invalid handler usage
Pierre Joye [Thu, 26 Jan 2012 12:11:02 +0000 (12:11 +0000)]
- openssl 0.9.8t, curl 7.24.0
Xinchen Hui [Thu, 26 Jan 2012 01:28:37 +0000 (01:28 +0000)]
WS, merged from trunk cause this issue, sorry
Xinchen Hui [Thu, 26 Jan 2012 01:21:35 +0000 (01:21 +0000)]
Fixed bug #60825 (Segfault when running symfony 2 tests)
Michael Wallner [Wed, 25 Jan 2012 19:36:36 +0000 (19:36 +0000)]
find a php-cgi which is a sibling of the php executable
Michael Wallner [Wed, 25 Jan 2012 17:22:46 +0000 (17:22 +0000)]
fix crash with display_startup_errors=1
Xinchen Hui [Tue, 24 Jan 2012 14:39:45 +0000 (14:39 +0000)]
Re-fixed bug #60825 (Segfault when running symfony 2 tests)
Michael Wallner [Mon, 23 Jan 2012 09:48:18 +0000 (09:48 +0000)]
LTP/gcov/lcov
- allow ltp v1.9
- make sure `test`s are catched by `if`s
- introduce LCOV_INCLUDE make variable, simple coverage for your extension:
./configure --enable-gcov && make lcov TESTS=~/src/pecl/http/test LCOV_INCLUDE=/http/
coverage takes just a few seconds instead of a few minutes for the full source tree
Rasmus Lerdorf [Mon, 23 Jan 2012 06:39:01 +0000 (06:39 +0000)]
Please test your tests
Gustavo André dos Santos Lopes [Sun, 22 Jan 2012 20:30:37 +0000 (20:30 +0000)]
- 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
Xinchen Hui [Sat, 21 Jan 2012 17:13:53 +0000 (17:13 +0000)]
Fixed bug #60825 (Segfault when running symfony 2 tests)
Nuno Lopes [Sat, 21 Jan 2012 11:32:56 +0000 (11:32 +0000)]
revert r319254 (fix bug #54682) since it is not correct
add test that was broken with that patch.
this bug is probably in libtidy itself and not in PHP. I didn't investigate it enough to confirm, though
Pierrick Charron [Fri, 20 Jan 2012 13:20:14 +0000 (13:20 +0000)]
Remove memory leak in substr_replace (to commit in 5.4 after code freeze)
Dmitry Stogov [Fri, 20 Jan 2012 12:30:57 +0000 (12:30 +0000)]
Fixed Bug #60809 (TRAITS - PHPDoc Comment Style Bug)
Fixed some other traits related bugs (uninitialized variable, return => continue)
Removed some trait related redundant code and variables
Scott MacVicar [Fri, 20 Jan 2012 05:31:53 +0000 (05:31 +0000)]
Fix CVE-2011-3389. Possible attack on CBC mode with TLS 1.0.
See http://www.openssl.org/~bodo/tls-cbc.txt
The biggest reason for this mode being in SSL_OP_ALL was older versions
of IE (2002) talking to servers using OpenSSL.
Can hopefully get this into 5.4.
Rasmus Lerdorf [Thu, 19 Jan 2012 22:35:22 +0000 (22:35 +0000)]
Missing ifdef here
Fixes bug 60811
Ferenc Kovacs [Thu, 19 Jan 2012 00:20:04 +0000 (00:20 +0000)]
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.
Pierre Joye [Wed, 18 Jan 2012 20:29:13 +0000 (20:29 +0000)]
- add test for bug #60761
Pierre Joye [Wed, 18 Jan 2012 20:22:47 +0000 (20:22 +0000)]
- add test for bug #60771
Pierre Joye [Wed, 18 Jan 2012 20:21:40 +0000 (20:21 +0000)]
- add test for bug #60761
Michael Wallner [Wed, 18 Jan 2012 10:16:37 +0000 (10:16 +0000)]
remove XFAIL for bug #47178
Michael Wallner [Wed, 18 Jan 2012 09:15:34 +0000 (09:15 +0000)]
merge ext/hash from trunk
Michael Wallner [Tue, 17 Jan 2012 17:21:32 +0000 (17:21 +0000)]
fix tests I borked
Michael Wallner [Tue, 17 Jan 2012 16:35:32 +0000 (16:35 +0000)]
remove Salsa10/Salsa20, which are actually stream ciphers not hash functions
Michael Wallner [Tue, 17 Jan 2012 15:25:54 +0000 (15:25 +0000)]
adapted tiger hash byte print order to those of md5 and sha1
see http://en.wikipedia.org/wiki/Tiger_(cryptography)
http://www.cs.technion.ac.il/~biham/Reports/Tiger/test-vectors-nessie-format.dat
Closes Bug #60221 Tiger hash output byte order
Xinchen Hui [Tue, 17 Jan 2012 14:32:01 +0000 (14:32 +0000)]
unnecessay slash
Sebastian Bergmann [Tue, 17 Jan 2012 13:46:31 +0000 (13:46 +0000)]
Revert r322390.
Sebastian Bergmann [Tue, 17 Jan 2012 12:59:33 +0000 (12:59 +0000)]
Implement ReflectionClass::setFinal() and ReflectionMethod::setFinal().
Patch by Jan Dolecek <juzna.cz@gmail.com>.
Dmitry Stogov [Tue, 17 Jan 2012 09:30:12 +0000 (09:30 +0000)]
Fixed workaround for bug #48034 on Windows (Crash when script is 8192 (8KB) bytes long)
Dmitry Stogov [Tue, 17 Jan 2012 08:11:32 +0000 (08:11 +0000)]
Regenerated scanners