]>
granicus.if.org Git - php/log
Boris Lytochkin [Thu, 7 Feb 2013 10:48:28 +0000 (14:48 +0400)]
fix bug #64124 (IPv6 malformed)
hostname returned from zend_parse_parameters() was modified in
netsnmp_session_init() that caused imput parameter modification along with
unpredictable changes when parameter is a constant sctring.
One typo in comment was fixed.
Dmitry Stogov [Thu, 7 Feb 2013 09:10:04 +0000 (13:10 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Check if soap.wsdl_cache_dir confirms to open_basedir
Dmitry Stogov [Thu, 7 Feb 2013 09:04:47 +0000 (13:04 +0400)]
Check if soap.wsdl_cache_dir confirms to open_basedir
Remi Collet [Tue, 5 Feb 2013 11:28:47 +0000 (12:28 +0100)]
revert
Remi Collet [Mon, 4 Feb 2013 14:19:32 +0000 (15:19 +0100)]
Fixed bug #64142 (dval to lval different behavior on ppc64)
On x86_64:
(long)(double)
9223372036854775807 +1 = -
9223372036854775808
On ppc64
(long)(double)
9223372036854775807 -1 =
9223372036854775807
Andrey Hristov [Mon, 4 Feb 2013 13:27:56 +0000 (14:27 +0100)]
check the validity of the parameter
Andrey Hristov [Mon, 4 Feb 2013 13:15:58 +0000 (14:15 +0100)]
Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4
Gustavo Lopes [Sat, 2 Feb 2013 17:32:38 +0000 (18:32 +0100)]
Move macro back to .c file
Because it depends on a static function on that .c file.
Gustavo Lopes [Sat, 2 Feb 2013 14:31:44 +0000 (15:31 +0100)]
Merge branch 'sockets_54_improv' into PHP-5.4
* sockets_54_improv:
Fix wrong blocking state being set
Fix tests (Windows)
Remove a Windows only warning
Move & improve PHP_SOCKET_ERROR def
Move some declarations to sockets.c
Fix overbroad skipif include
Gustavo Lopes [Fri, 1 Feb 2013 15:38:54 +0000 (16:38 +0100)]
Fix wrong blocking state being set
Gustavo Lopes [Fri, 1 Feb 2013 13:58:35 +0000 (14:58 +0100)]
Fix tests (Windows)
Gustavo Lopes [Sat, 2 Feb 2013 11:44:00 +0000 (12:44 +0100)]
Remove a Windows only warning
Gustavo Lopes [Fri, 1 Feb 2013 13:39:56 +0000 (14:39 +0100)]
Move & improve PHP_SOCKET_ERROR def
Gustavo Lopes [Fri, 1 Feb 2013 13:35:14 +0000 (14:35 +0100)]
Move some declarations to sockets.c
Gustavo Lopes [Fri, 1 Feb 2013 10:12:11 +0000 (11:12 +0100)]
Fix overbroad skipif include
Remi Collet [Fri, 1 Feb 2013 18:23:25 +0000 (19:23 +0100)]
Fixed bug #64128 buit-in web server is broken on ppc64.
fdset management using bit operator is broken on non-x86 arch
and cause built-in server the enter an infinite loop of "select"
and never handle any request.
Andrey Hristov [Fri, 1 Feb 2013 16:21:50 +0000 (17:21 +0100)]
add new charset, from MySQL 5.6
Johannes Schlüter [Fri, 1 Feb 2013 11:31:07 +0000 (12:31 +0100)]
Fix typo in error message
Remi Collet [Thu, 31 Jan 2013 13:38:39 +0000 (14:38 +0100)]
Mark this test as requiring internet connecion.
Remi Collet [Thu, 31 Jan 2013 13:22:56 +0000 (14:22 +0100)]
Fix failed test: sys_errlist[116] have changed on recent glibc (Fedora 18)
old: Stale NFS file handle
new: Stale file handle
Johannes Schlüter [Wed, 30 Jan 2013 23:58:52 +0000 (00:58 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Conflicts:
configure.in
main/php_version.h
Johannes Schlüter [Wed, 30 Jan 2013 23:57:29 +0000 (00:57 +0100)]
This will be PHP 5.3.23
Lars Strojny [Wed, 30 Jan 2013 23:32:44 +0000 (00:32 +0100)]
NEWS entry new OpenSSL option [doc]
Daniel Lowrey [Wed, 30 Jan 2013 19:45:31 +0000 (14:45 -0500)]
Added ssl context option, "disable_compression"
The CRIME attack vector exploits TLS compression. This patch adds a stream context option
allowing servers to disable TLS compression for versions of OpenSSL >= 1.0.0 (which first
introduced the SSL_OP_NO_COMPRESSION option). A summary rundown of the CRIME attack can
be found at https://community.qualys.com/blogs/securitylabs/2012/09/14/crime-information-leakage-attack-against-ssltls
Thanks to @DaveRandom for pointing out the relevant section of code.
Nikita Popov [Wed, 30 Jan 2013 19:25:59 +0000 (20:25 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Wed, 30 Jan 2013 19:23:39 +0000 (20:23 +0100)]
Fixed bug #64106: Segfault on SplFixedArray[][x] = y when extended
Jelle Zijlstra [Wed, 30 Jan 2013 16:08:32 +0000 (11:08 -0500)]
Fix build problem in C++11
Stanislav Malyshev [Tue, 29 Jan 2013 20:33:45 +0000 (12:33 -0800)]
branched 5.4.12
Stanislav Malyshev [Tue, 29 Jan 2013 20:31:49 +0000 (12:31 -0800)]
update NEWS
Johannes Schlüter [Tue, 29 Jan 2013 18:49:43 +0000 (19:49 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Tue, 29 Jan 2013 18:49:39 +0000 (19:49 +0100)]
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
Johannes Schlüter [Tue, 29 Jan 2013 18:49:13 +0000 (19:49 +0100)]
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
Johannes Schlüter [Tue, 29 Jan 2013 18:47:45 +0000 (19:47 +0100)]
Fix bug #64099 (Wrong TSRM usage in zend_register_class_alias)
Stanislav Malyshev [Tue, 29 Jan 2013 08:24:23 +0000 (00:24 -0800)]
Fix bug #62524, only follow redirects in file streams for 3xx HTTP statuses
Andras Elso [Thu, 24 Jan 2013 16:12:13 +0000 (17:12 +0100)]
Fix missing parameter
Stanislav Malyshev [Tue, 22 Jan 2013 08:36:07 +0000 (00:36 -0800)]
fix tests
Gustavo Lopes [Wed, 23 Jan 2013 12:30:40 +0000 (13:30 +0100)]
NEWS for bug #64023 (see
aa0adce )
Gustavo Lopes [Tue, 22 Jan 2013 11:24:33 +0000 (12:24 +0100)]
Merge branch 'bug64023' into PHP-5.4
* bug64023:
Fix bug #64023 (__toString() & SplFileInfo)
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Gustavo Lopes [Sat, 19 Jan 2013 15:21:26 +0000 (16:21 +0100)]
Fix bug #64023 (__toString() & SplFileInfo)
Defining a __toString() method was having no effect when concatenating
the object. This was because the cast_object() handler would ignore
__toString().
Using echo() directly would actually use __toString(), but this was a
bug: the ECHO handler would try zend_std_cast_object_tostring() before
cast_object(), but cast_object() should have priority as
zend_std_cast_object_tostring() assumes an object with a
zend_class_entry.
Xinchen Hui [Mon, 21 Jan 2013 03:35:22 +0000 (11:35 +0800)]
Merge fix of #62836 to ?.re, and regenerate ?.c
Stanislav Malyshev [Fri, 18 Jan 2013 21:32:43 +0000 (13:32 -0800)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
fix bug #63462 (Magic methods called twice for unset protected properties)
Stanislav Malyshev [Mon, 14 Jan 2013 08:06:09 +0000 (00:06 -0800)]
fix bug #63462 (Magic methods called twice for unset protected properties)
Gustavo Lopes [Fri, 18 Jan 2013 11:12:08 +0000 (12:12 +0100)]
NEWS for bug #64011. See
77ee200
Gustavo Lopes [Fri, 18 Jan 2013 11:07:21 +0000 (12:07 +0100)]
Fix bug #64011 (get_html_translation_table())
get_html_translation_table() with encoding ISO-8859-1 and HTMLENTITIES
was broken. Only entities for characters U+0000 to U+0040 were being
included in the result.
Johannes Schlüter [Wed, 16 Jan 2013 16:38:41 +0000 (17:38 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 16 Jan 2013 16:38:17 +0000 (17:38 +0100)]
Fix NEWS after 5.3.21
Christopher Jones [Wed, 16 Jan 2013 04:38:24 +0000 (20:38 -0800)]
Fix News
Adam Harvey [Wed, 16 Jan 2013 02:18:00 +0000 (10:18 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Update the arguments in the prototype of fpm_socket_unix_test_connect().
Adam Harvey [Wed, 16 Jan 2013 02:06:56 +0000 (10:06 +0800)]
Update the arguments in the prototype of fpm_socket_unix_test_connect().
Fixes bug #63999 (php with fpm fails to build on Solaris 10 or 11).
Anatoliy Belsky [Tue, 15 Jan 2013 21:36:29 +0000 (22:36 +0100)]
fixed build
Gustavo Lopes [Mon, 14 Jan 2013 16:17:58 +0000 (17:17 +0100)]
NEWS for bug #63893
Gustavo Lopes [Tue, 15 Jan 2013 20:05:21 +0000 (21:05 +0100)]
Merge remote-tracking branch 'remotes/cataphract/strtr_wu94_54' into PHP-5.4
* remotes/cataphract/strtr_wu94_54:
Fixed inconsequential bug in strtr()
Remove _GNU_SOURCE, add local heap sort
The compiler can figure this out
Remove unused block
strtr() with 2nd param array - optimization
Refactoring, bugs & leaks
Optimize strtr w/ 2nd arg array
Gustavo Lopes [Tue, 15 Jan 2013 16:25:59 +0000 (17:25 +0100)]
Fixed inconsequential bug in strtr()
Adam Harvey [Tue, 15 Jan 2013 09:37:21 +0000 (17:37 +0800)]
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
This reverts commit
0510701474e8d99b5b30139b5599e44f9b555a5a .
Adam Harvey [Tue, 15 Jan 2013 09:35:34 +0000 (17:35 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Revert "Update fputcsv() to escape all characters equally."
Adam Harvey [Tue, 15 Jan 2013 09:33:54 +0000 (17:33 +0800)]
Revert "Update fputcsv() to escape all characters equally."
On second thoughts, while the behaviour _is_ broken, this isn't the right fix.
This reverts commit
9b5cb0e8059b1e8bec096067491ed8d75f878938 .
Stanislav Malyshev [Tue, 15 Jan 2013 08:06:35 +0000 (00:06 -0800)]
fix NEWS
Adam Harvey [Tue, 15 Jan 2013 07:49:13 +0000 (15:49 +0800)]
Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.
Xinchen Hui [Tue, 15 Jan 2013 07:32:42 +0000 (15:32 +0800)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Xinchen Hui [Tue, 15 Jan 2013 07:31:49 +0000 (15:31 +0800)]
Fixed bug #57702 (Multi-row BLOB fetches)
Adam Harvey [Tue, 15 Jan 2013 07:24:21 +0000 (15:24 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Update fputcsv() to escape all characters equally.
Adam Harvey [Tue, 15 Jan 2013 07:17:45 +0000 (15:17 +0800)]
Update fputcsv() to escape all characters equally.
At present, backslashes have special case handling within fputcsv(): when one
is encountered within a field that's being escaped, escaping stops until the
next instance of the enclosure character is hit. This can result in malformed
CSV.
Fixes bug #43225 (fputcsv incorrectly handles cells ending in \ followed by ").
Lars Strojny [Mon, 14 Jan 2013 20:35:48 +0000 (21:35 +0100)]
Bug #52958: Segfault in PDO_OCI on cleanup after running a long testsuite.
Lars Strojny [Mon, 14 Jan 2013 17:52:38 +0000 (18:52 +0100)]
Support BITMAPV5HEADER in getimagesize(): https://en.wikipedia.org/wiki/BMP_file_format#DIB_header_.28bitmap_information_header.29
Lars Strojny [Mon, 14 Jan 2013 16:59:11 +0000 (17:59 +0100)]
Fix bug #63916: PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite
Lars Strojny [Mon, 14 Jan 2013 16:35:07 +0000 (17:35 +0100)]
Fixed bug #63921: sqlite3::bindvalue and relative PHP functions aren't using sqlite3_*_int64 API
Gustavo Lopes [Thu, 10 Jan 2013 12:09:14 +0000 (13:09 +0100)]
Remove _GNU_SOURCE, add local heap sort
Gustavo Lopes [Wed, 9 Jan 2013 22:20:32 +0000 (23:20 +0100)]
The compiler can figure this out
Gustavo Lopes [Wed, 9 Jan 2013 22:20:11 +0000 (23:20 +0100)]
Remove unused block
Gustavo Lopes [Wed, 9 Jan 2013 21:29:28 +0000 (22:29 +0100)]
strtr() with 2nd param array - optimization
About a 1.25x speedup in my test script by writing the result string
only when a match is found and at the end instead of on each iteration.
Gustavo Lopes [Tue, 8 Jan 2013 23:33:14 +0000 (00:33 +0100)]
Refactoring, bugs & leaks
Gustavo Lopes [Mon, 7 Jan 2013 02:13:11 +0000 (03:13 +0100)]
Optimize strtr w/ 2nd arg array
Fixes bug #63893: poor efficiency of strtr() using array with keys of
very different length.
The implementation is basically all new, which carries some risk with
it.
The algorithm is described in "A Fast Algorithm For Multi-Pattern
Searching" (1994) by Sun Wu and Udi Manber.
Stanislav Malyshev [Mon, 14 Jan 2013 01:08:52 +0000 (17:08 -0800)]
fix bug #63982: isset() inconsistently produces a fatal error on protected property
Stanislav Malyshev [Mon, 14 Jan 2013 00:34:35 +0000 (16:34 -0800)]
different OSes have different messages, and that's not what the test is about anyway
Arnaud Le Blanc [Sun, 13 Jan 2013 14:45:15 +0000 (15:45 +0100)]
fixed alternate form for 'x' and 'X' formats
same fix exists in original code:
https://svn.apache.org/viewvc?view=revision&revision=
1152309
Dmitry Stogov [Thu, 10 Jan 2013 14:54:19 +0000 (18:54 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fixed uninitialized zval.type (Yoram)
Dmitry Stogov [Thu, 10 Jan 2013 14:53:10 +0000 (18:53 +0400)]
Fixed uninitialized zval.type (Yoram)
ULF WENDEL [Thu, 10 Jan 2013 13:51:14 +0000 (14:51 +0100)]
MySQL 5.6 EXPIRE PASSWORD flag tests
Remi Collet [Thu, 10 Jan 2013 10:17:53 +0000 (11:17 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle) See commit
c05ee74e7ff28b49018bf3e8f452bfd5386d1b68
Remi Collet [Thu, 10 Jan 2013 10:14:38 +0000 (11:14 +0100)]
Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle)
See commit
c05ee74e7ff28b49018bf3e8f452bfd5386d1b68
Andrey Hristov [Wed, 9 Jan 2013 18:14:48 +0000 (19:14 +0100)]
Add mysqli support - constants and checking in mysqli_options() for the
new constant for password expriration
Andrey Hristov [Wed, 9 Jan 2013 17:58:29 +0000 (18:58 +0100)]
backport handling of expired passwords in mysqlnd to 5.4
Andrey Hristov [Wed, 9 Jan 2013 17:39:59 +0000 (18:39 +0100)]
fix compilation error after merge
Andrey Hristov [Wed, 9 Jan 2013 17:27:50 +0000 (18:27 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Andrey Hristov [Wed, 9 Jan 2013 17:27:06 +0000 (18:27 +0100)]
Use during connect the flags set with set_client_option()
Dmitry Stogov [Wed, 9 Jan 2013 13:36:44 +0000 (17:36 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fixed compilator bug that might cause jump depended on unitialized value
Dmitry Stogov [Wed, 9 Jan 2013 13:16:47 +0000 (17:16 +0400)]
Fixed compilator bug that might cause jump depended on unitialized value
Dmitry Stogov [Wed, 9 Jan 2013 07:30:50 +0000 (11:30 +0400)]
Fixed bug #63882 (zend_std_compare_objects crash on recursion)
Xinchen Hui [Wed, 9 Jan 2013 02:55:50 +0000 (10:55 +0800)]
update NEWS
Xinchen Hui [Wed, 9 Jan 2013 02:54:23 +0000 (10:54 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Wed, 9 Jan 2013 02:53:20 +0000 (10:53 +0800)]
Fixed bug #63943 (Bad warning text from strpos() on empty needle)
Adam Harvey [Tue, 8 Jan 2013 03:40:51 +0000 (11:40 +0800)]
Add NEWS for the previously cherry picked commit.
George Wang [Fri, 12 Oct 2012 17:04:22 +0000 (13:04 -0400)]
sapi/litespeed/lsapi_main.c: Fix bug #63228
Fix compiling error at line 606 (error: format not a string
literal and no format arguments [-Werror=format-security]
Derick Rethans [Sun, 6 Jan 2013 15:09:55 +0000 (15:09 +0000)]
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
Derick Rethans [Sun, 6 Jan 2013 15:08:26 +0000 (15:08 +0000)]
Update news with new bug fix.
Derick Rethans [Sun, 6 Jan 2013 15:07:13 +0000 (15:07 +0000)]
Merge branch 'PHP-5.3' into PHP-5.4
Lars Strojny [Sun, 6 Jan 2013 13:46:49 +0000 (14:46 +0100)]
Adding test for bug #63462
Derick Rethans [Sun, 6 Jan 2013 13:38:22 +0000 (13:38 +0000)]
Fixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.
Lars Strojny [Sun, 6 Jan 2013 13:08:23 +0000 (14:08 +0100)]
Coding style, ANSI C compatibility
Xinchen Hui [Sun, 6 Jan 2013 02:22:15 +0000 (10:22 +0800)]
bump year