]> granicus.if.org Git - php/log
php
14 years ago- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed...
Felipe Pena [Wed, 26 May 2010 02:18:17 +0000 (02:18 +0000)]
- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)

14 years ago- Fixed bug #51905 (ReflectionParameter fails if default value is an array with an...
Felipe Pena [Wed, 26 May 2010 00:00:58 +0000 (00:00 +0000)]
- Fixed bug #51905 (ReflectionParameter fails if default value is an array with an access to self::)

14 years agoHandle the situation when MYSQLND_PROTOCOL's methods return NULL.
Andrey Hristov [Tue, 25 May 2010 23:18:13 +0000 (23:18 +0000)]
Handle the situation when MYSQLND_PROTOCOL's methods return NULL.
mysqlnd should not crash but gracefully return with an error.

14 years agoHandle the situation when mysql_init()/mysqlnd_init()
Andrey Hristov [Tue, 25 May 2010 22:55:10 +0000 (22:55 +0000)]
Handle the situation when mysql_init()/mysqlnd_init()
return NULL. It is a rare case of OOM but PHP shouldn't crash, if possible.

14 years ago- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant...
Felipe Pena [Tue, 25 May 2010 22:46:17 +0000 (22:46 +0000)]
- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)

14 years agoGracefully handle OOM in mysqlnd_stmt_init. Release the handle
Andrey Hristov [Tue, 25 May 2010 22:42:25 +0000 (22:42 +0000)]
Gracefully handle OOM in mysqlnd_stmt_init. Release the handle
and return NULL.

14 years agoInit should return status value because initialization can fail.
Andrey Hristov [Tue, 25 May 2010 22:40:47 +0000 (22:40 +0000)]
Init should return status value because initialization can fail.
In this case mysqlnd_init() should return NULL to the end-user.

14 years agoUse the specialized macro for this case
Andrey Hristov [Tue, 25 May 2010 22:38:11 +0000 (22:38 +0000)]
Use the specialized macro for this case

14 years agoUse only memory that has been allocated
Andrey Hristov [Tue, 25 May 2010 22:36:33 +0000 (22:36 +0000)]
Use only memory that has been allocated

14 years agoAccess memory which was really allocated
Andrey Hristov [Tue, 25 May 2010 22:34:47 +0000 (22:34 +0000)]
Access memory which was really allocated

14 years agoFix shared build
Andrey Hristov [Tue, 25 May 2010 21:54:21 +0000 (21:54 +0000)]
Fix shared build

14 years agoHandle OOM in the code that generates PS Execute requests
Andrey Hristov [Tue, 25 May 2010 19:19:29 +0000 (19:19 +0000)]
Handle OOM in the code that generates PS Execute requests
to the server. Fixes crashes in case of OOM.

14 years agoFix metadata duplicatin which wasn't crash-safe in case of OOM.
Andrey Hristov [Tue, 25 May 2010 18:14:37 +0000 (18:14 +0000)]
Fix metadata duplicatin which wasn't crash-safe in case of OOM.

14 years agoCheck for -1 as well here
Rasmus Lerdorf [Mon, 24 May 2010 23:52:11 +0000 (23:52 +0000)]
Check for -1 as well here

14 years agoLet's have a sane error message here instead of some cryptic zlib error
Rasmus Lerdorf [Mon, 24 May 2010 23:27:39 +0000 (23:27 +0000)]
Let's have a sane error message here instead of some cryptic zlib error

14 years agoCheck set->data for validity before using it.
Andrey Hristov [Fri, 21 May 2010 13:37:18 +0000 (13:37 +0000)]
Check set->data for validity before using it.
Prevents crashes after OOM.

14 years agoWhen OOM hits the wire, don't crash.
Andrey Hristov [Fri, 21 May 2010 13:06:52 +0000 (13:06 +0000)]
When OOM hits the wire, don't crash.

14 years agoFix for Bug #51870
Andrey Hristov [Fri, 21 May 2010 11:09:28 +0000 (11:09 +0000)]
Fix for Bug #51870
PDO::fetchAll after a PDO::execute with bindings lead to a segv.

It is only in unreleased code and thus doesn't deserve a NEWS entry

14 years agoAdded support for JSON_NUMERIC_CHECK option in json_encode() that converts
Ilia Alshanetsky [Thu, 20 May 2010 19:37:52 +0000 (19:37 +0000)]
Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
numeric strings to integers.

14 years agoNew current()/next() test
Christopher Jones [Thu, 20 May 2010 17:55:58 +0000 (17:55 +0000)]
New current()/next() test

14 years ago- Added arginfo
Felipe Pena [Thu, 20 May 2010 17:28:16 +0000 (17:28 +0000)]
- Added arginfo

14 years agofix ZTS build
Antony Dovgal [Thu, 20 May 2010 11:20:44 +0000 (11:20 +0000)]
fix ZTS build

14 years agoMFH: Add IV to openssl_(en|de)crypt()
Sara Golemon [Wed, 19 May 2010 21:18:16 +0000 (21:18 +0000)]
MFH: Add IV to openssl_(en|de)crypt()
Add openssl_cipher_iv_length()

14 years ago* fixed bug #47842 sscanf() does not support 64-bit values
Michael Wallner [Wed, 19 May 2010 11:28:08 +0000 (11:28 +0000)]
* fixed bug #47842      sscanf() does not support 64-bit values

14 years ago- #51854, fix logic (patch by Tjerk)
Pierre Joye [Tue, 18 May 2010 19:39:39 +0000 (19:39 +0000)]
- #51854, fix logic (patch by Tjerk)

14 years agoRemove duplicated code.
Andrey Hristov [Tue, 18 May 2010 11:50:31 +0000 (11:50 +0000)]
Remove duplicated code.
Use one centralized functions for data extraction.

14 years agofix typo
Michael Wallner [Tue, 18 May 2010 08:02:10 +0000 (08:02 +0000)]
fix typo

14 years agoadd missing news about backlog socket context option for stream_socket_server()
Michael Wallner [Tue, 18 May 2010 07:49:15 +0000 (07:49 +0000)]
add missing news about backlog socket context option for stream_socket_server()

14 years ago* fixed bug #49819: STDOUT losing data with posix_isatty()
Michael Wallner [Tue, 18 May 2010 07:25:29 +0000 (07:25 +0000)]
* fixed bug #49819: STDOUT losing data with posix_isatty()

14 years ago- #43233
Pierre Joye [Mon, 17 May 2010 20:22:20 +0000 (20:22 +0000)]
- #43233

14 years ago- #43233, sasl support for ldap on windows
Pierre Joye [Mon, 17 May 2010 20:09:42 +0000 (20:09 +0000)]
- #43233, sasl support for ldap on windows

14 years ago- 51844
Pierre Joye [Mon, 17 May 2010 18:56:43 +0000 (18:56 +0000)]
- 51844

14 years ago- #51844, checkdnsrr does not support types other than MX
Pierre Joye [Mon, 17 May 2010 18:55:35 +0000 (18:55 +0000)]
- #51844, checkdnsrr does not support types other than MX

14 years agoFixed a possible crash because of recursive GC invocation
Dmitry Stogov [Mon, 17 May 2010 07:50:33 +0000 (07:50 +0000)]
Fixed a possible crash because of recursive GC invocation

14 years agotypo
Rasmus Lerdorf [Sat, 15 May 2010 15:37:18 +0000 (15:37 +0000)]
typo

14 years ago- Fixed bug #51827 (Bad warning when register_shutdown_function called with wrong...
Felipe Pena [Fri, 14 May 2010 23:48:03 +0000 (23:48 +0000)]
- Fixed bug #51827 (Bad warning when register_shutdown_function called with wrong num of parameters)

14 years agoresult_meta local storage
Andrey Hristov [Fri, 14 May 2010 16:42:17 +0000 (16:42 +0000)]
result_meta local storage

14 years agoAllow overloading of mysqlnd_result_meta_init().
Andrey Hristov [Fri, 14 May 2010 15:11:56 +0000 (15:11 +0000)]
Allow overloading of mysqlnd_result_meta_init().
Add free space for future hooks.

14 years agoExport MYSQLND_PROTOCOL methods
Andrey Hristov [Fri, 14 May 2010 13:32:27 +0000 (13:32 +0000)]
Export MYSQLND_PROTOCOL methods

14 years ago- Give possibility to overload mysqlnd_result_init().
Andrey Hristov [Fri, 14 May 2010 13:18:39 +0000 (13:18 +0000)]
- Give possibility to overload mysqlnd_result_init().
- Always use conn->m->stmt_init instead of mysqlnd_stmt_init()

14 years agoOOM fixes
Andrey Hristov [Fri, 14 May 2010 13:04:33 +0000 (13:04 +0000)]
OOM fixes

14 years ago- initialize some variables
Andrey Hristov [Thu, 13 May 2010 15:29:08 +0000 (15:29 +0000)]
- initialize some variables
- initialize the methods in a shorter way, use the compiler.
 = on structures copies them. Allows also exportability of
 the methods.

14 years agoExport the methods of MYSQLND_NET
Andrey Hristov [Thu, 13 May 2010 14:15:23 +0000 (14:15 +0000)]
Export the methods of MYSQLND_NET

14 years agoExport the result_metadata methods to external modules.
Andrey Hristov [Thu, 13 May 2010 11:16:11 +0000 (11:16 +0000)]
Export the result_metadata methods to external modules.

14 years agoBetter fix for #51605
Andrey Hristov [Thu, 13 May 2010 11:05:09 +0000 (11:05 +0000)]
Better fix for #51605

14 years agoFixed a possible resource destruction issues in shm_put_var()
Dmitry Stogov [Thu, 13 May 2010 08:34:06 +0000 (08:34 +0000)]
Fixed a possible resource destruction issues in shm_put_var()

14 years agoFixed a possible memory corruption in ArrayObject::uasort() Reported by Stefan Esser
Dmitry Stogov [Thu, 13 May 2010 08:09:54 +0000 (08:09 +0000)]
Fixed a possible memory corruption in ArrayObject::uasort() Reported by Stefan Esser

14 years ago- Fixed bug #51791 (constant() aborts execution when fail to check undefined constant)
Felipe Pena [Thu, 13 May 2010 02:13:30 +0000 (02:13 +0000)]
- Fixed bug #51791 (constant() aborts execution when fail to check undefined constant)

14 years agoErrors using reserved words as methods
Christopher Jones [Wed, 12 May 2010 21:34:32 +0000 (21:34 +0000)]
Errors using reserved words as methods

14 years agoFixed a possible memory corruption in parse_str(). Reported by Stefan Esser
Dmitry Stogov [Wed, 12 May 2010 11:32:25 +0000 (11:32 +0000)]
Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser

14 years agoFixed a possible information leak because of interruption of XOR operator
Dmitry Stogov [Wed, 12 May 2010 11:10:06 +0000 (11:10 +0000)]
Fixed a possible information leak because of interruption of XOR operator

14 years agoFixed a possible memory corruption in pack(). Reported by Stefan Esser
Dmitry Stogov [Wed, 12 May 2010 11:04:57 +0000 (11:04 +0000)]
Fixed a possible memory corruption in pack(). Reported by Stefan Esser

14 years agoFixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike)
Michael Wallner [Wed, 12 May 2010 09:37:25 +0000 (09:37 +0000)]
Fixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike)

14 years agoRestructure into PHP/PECL/PEAR component areas (at the expense of duplication)
Christopher Jones [Tue, 11 May 2010 18:25:44 +0000 (18:25 +0000)]
Restructure into PHP/PECL/PEAR component areas (at the expense of duplication)

14 years agoFixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3)
Dmitry Stogov [Tue, 11 May 2010 16:09:43 +0000 (16:09 +0000)]
Fixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3)

14 years agoOne more time fixing the tests, lets use $IS_MYSQLND which comes from connect.inc
Andrey Hristov [Tue, 11 May 2010 15:55:07 +0000 (15:55 +0000)]
One more time fixing the tests, lets use $IS_MYSQLND which comes from connect.inc

14 years agohere comes the news, too
Andrey Hristov [Tue, 11 May 2010 15:50:21 +0000 (15:50 +0000)]
here comes the news, too

14 years agoFix for mysqli_stmt_execute.phpt, should be ran only against
Andrey Hristov [Tue, 11 May 2010 15:49:03 +0000 (15:49 +0000)]
Fix for mysqli_stmt_execute.phpt, should be ran only against
4.1+ servers. MySQL's SLEEP function is available since 5.0.12, thus
the tests that use this function should be ran only if the server
is at least 5.0.12.

14 years agoThese tests should be run only if mysqli uses mysqlnd. Part of fix for
Andrey Hristov [Tue, 11 May 2010 15:27:03 +0000 (15:27 +0000)]
These tests should be run only if mysqli uses mysqlnd. Part of fix for
Bug #51712 Test mysql_mysqlnd_read_timeout_long must fail on MySQL4

14 years agoDocument CGI options in the manpage (bug #51718)
Raphael Geissert [Tue, 11 May 2010 15:07:31 +0000 (15:07 +0000)]
Document CGI options in the manpage (bug #51718)
Patch by Daniel Egeberg

14 years agoRemoved double allocation of buffer inside openssl_random_pseudo_bytes() and cleanup...
Ilia Alshanetsky [Tue, 11 May 2010 14:31:00 +0000 (14:31 +0000)]
Removed double allocation of buffer inside openssl_random_pseudo_bytes() and cleanup code

14 years agoFixed a possible memory corruption in substr_replace()
Dmitry Stogov [Tue, 11 May 2010 11:59:13 +0000 (11:59 +0000)]
Fixed a possible memory corruption in substr_replace()

14 years agoFixed a possible memory corruption because of unexpected call-time pass by refernce...
Dmitry Stogov [Tue, 11 May 2010 10:41:19 +0000 (10:41 +0000)]
Fixed a possible memory corruption because of unexpected call-time pass by refernce and following memory clobbering through callbacks.

14 years agoFix for bug #51605 (Mysqli zombie links)
Andrey Hristov [Tue, 11 May 2010 10:03:16 +0000 (10:03 +0000)]
Fix for bug #51605 (Mysqli zombie links)

14 years ago- Fixed bug #51740 (acinclude.m4 macro PHP_CHECK_SIZEOF is not properly quoted)
Felipe Pena [Wed, 5 May 2010 21:55:44 +0000 (21:55 +0000)]
- Fixed bug #51740 (acinclude.m4 macro PHP_CHECK_SIZEOF is not properly quoted)
  Patch by: dave dot mulford at gmail dot com

14 years agofix bug #48601 (xpath() returns FALSE for legitimate query)
Rob Richards [Wed, 5 May 2010 11:40:11 +0000 (11:40 +0000)]
fix bug #48601 (xpath() returns FALSE for legitimate query)
add test

14 years agoFixed bug #50698 (SoapClient should handle wsdls with some incompatiable endpoints...
Dmitry Stogov [Wed, 5 May 2010 07:43:45 +0000 (07:43 +0000)]
Fixed bug #50698 (SoapClient should handle wsdls with some incompatiable endpoints). (Justin Dearing)

14 years agofix bug #49490 (XPath namespace prefix conflict)
Rob Richards [Tue, 4 May 2010 15:41:49 +0000 (15:41 +0000)]
fix bug #49490 (XPath namespace prefix conflict)
add test

14 years ago- Fixed bug #49081 (DateTime::diff() mistake if start in January and interval >
Derick Rethans [Tue, 4 May 2010 15:11:41 +0000 (15:11 +0000)]
- Fixed bug #49081 (DateTime::diff() mistake if start in January and interval >
  28 days). (Derick)

14 years agoOOM stability fixes
Andrey Hristov [Tue, 4 May 2010 14:02:42 +0000 (14:02 +0000)]
OOM stability fixes

14 years agoAdd possibility to control the allocator in when PHP is compiled
Andrey Hristov [Tue, 4 May 2010 13:49:43 +0000 (13:49 +0000)]
Add possibility to control the allocator in when PHP is compiled
with debug

14 years agofix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable)
Rob Richards [Tue, 4 May 2010 12:55:26 +0000 (12:55 +0000)]
fix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable)

14 years agoFix misordered news item.
Adam Harvey [Tue, 4 May 2010 11:59:54 +0000 (11:59 +0000)]
Fix misordered news item.

14 years agoFix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
Adam Harvey [Tue, 4 May 2010 11:56:59 +0000 (11:56 +0000)]
Fix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
Thanks to Hiroaki Kawai for the original patch.

14 years agoWell, as long as we're dealing with typos... :)
Adam Harvey [Tue, 4 May 2010 11:01:46 +0000 (11:01 +0000)]
Well, as long as we're dealing with typos... :)

14 years ago- Fix typo
Felipe Pena [Tue, 4 May 2010 10:59:26 +0000 (10:59 +0000)]
- Fix typo

14 years ago- fix build
Pierre Joye [Tue, 4 May 2010 09:51:03 +0000 (09:51 +0000)]
- fix build

14 years agoAlter the getmxrr() test to use lists.php.net (which we presumably control)
Adam Harvey [Tue, 4 May 2010 09:41:47 +0000 (09:41 +0000)]
Alter the getmxrr() test to use lists.php.net (which we presumably control)
instead of ez.no (which we presumably don't) for the single MX record test.

14 years ago- Fixed bug #51732, Fileinfo __construct or open does not work with NULL
Pierre Joye [Tue, 4 May 2010 08:48:58 +0000 (08:48 +0000)]
- Fixed bug #51732, Fileinfo __construct or open does not work with NULL

14 years agoFixed a possible memory corruption in addcslashes().
Dmitry Stogov [Tue, 4 May 2010 08:02:51 +0000 (08:02 +0000)]
Fixed a possible memory corruption in addcslashes().

14 years ago- revert fix for #51723 in 5.2, vc6 does not support strtoi64, use builtin functioon...
Pierre Joye [Mon, 3 May 2010 19:51:59 +0000 (19:51 +0000)]
- revert fix for #51723 in 5.2, vc6 does not support strtoi64, use builtin functioon in 5.3 (trunk is vc9+ only)

14 years agoHandle OOM in mysqlnd_res::store_result_fetch_data
Andrey Hristov [Mon, 3 May 2010 19:32:07 +0000 (19:32 +0000)]
Handle OOM in mysqlnd_res::store_result_fetch_data

14 years ago- fix build (declaration must be first)
Pierre Joye [Mon, 3 May 2010 19:29:05 +0000 (19:29 +0000)]
- fix build (declaration must be first)

14 years agoHandle OOM in mysqlnd_fetch_row_buffered_c()
Andrey Hristov [Mon, 3 May 2010 19:09:45 +0000 (19:09 +0000)]
Handle OOM in mysqlnd_fetch_row_buffered_c()

14 years agoHandle OOM in mysqlnd_fetch_row_unbuffered_c()
Andrey Hristov [Mon, 3 May 2010 19:02:48 +0000 (19:02 +0000)]
Handle OOM in mysqlnd_fetch_row_unbuffered_c()

14 years agoHandle OOM stemming from mysqlnd_result_init in the same
Andrey Hristov [Mon, 3 May 2010 18:50:47 +0000 (18:50 +0000)]
Handle OOM stemming from mysqlnd_result_init in the same
function and up the stack.

14 years ago- #51273, Content-length header is limited to 32bit integer with apache2/windows
Pierre Joye [Mon, 3 May 2010 17:47:58 +0000 (17:47 +0000)]
- #51273, Content-length header is limited to 32bit integer with apache2/windows

14 years agoHandle gracefully OOM in mysqlnd_mempool_create and up the stack
Andrey Hristov [Mon, 3 May 2010 17:07:18 +0000 (17:07 +0000)]
Handle gracefully OOM in mysqlnd_mempool_create and up the stack

14 years ago- Replaced 'zend_hash_find' to 'zend_hash_quick_find' on zend_hash_compare() function
Felipe Pena [Mon, 3 May 2010 16:36:04 +0000 (16:36 +0000)]
- Replaced 'zend_hash_find' to 'zend_hash_quick_find' on zend_hash_compare() function

14 years agoHandle OOM in block_alloc_get_chunk, and also in the caller
Andrey Hristov [Mon, 3 May 2010 16:20:46 +0000 (16:20 +0000)]
Handle OOM in block_alloc_get_chunk, and also in the caller
in mysqlnd_wireprotocol.c

14 years agoRemove unused parameter
Andrey Hristov [Mon, 3 May 2010 16:09:05 +0000 (16:09 +0000)]
Remove unused parameter

14 years agoFixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())
Ilia Alshanetsky [Mon, 3 May 2010 14:41:40 +0000 (14:41 +0000)]
Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())

14 years ago- WS
Pierre Joye [Mon, 3 May 2010 14:29:07 +0000 (14:29 +0000)]
- WS

14 years agoOne more case to handle in case of OOM, in block_alloc_resize_chunk
Andrey Hristov [Mon, 3 May 2010 14:26:08 +0000 (14:26 +0000)]
One more case to handle in case of OOM, in block_alloc_resize_chunk

14 years agoHandle OOM when resizing blocks during data fetch
Andrey Hristov [Mon, 3 May 2010 14:16:04 +0000 (14:16 +0000)]
Handle OOM when resizing blocks during data fetch

14 years agoFix compiler warnings - unused functions
Andrey Hristov [Mon, 3 May 2010 13:51:30 +0000 (13:51 +0000)]
Fix compiler warnings - unused functions

14 years agoBetter handing of OOM in mysqlnd::set_client_option
Andrey Hristov [Mon, 3 May 2010 13:45:58 +0000 (13:45 +0000)]
Better handing of OOM in mysqlnd::set_client_option

14 years ago- update bison version (mike)
Pierre Joye [Mon, 3 May 2010 09:05:30 +0000 (09:05 +0000)]
- update bison version (mike)

14 years ago- Revert accidental changes
Felipe Pena [Sun, 2 May 2010 20:11:22 +0000 (20:11 +0000)]
- Revert accidental changes

14 years ago- Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser
Ilia Alshanetsky [Sun, 2 May 2010 19:34:21 +0000 (19:34 +0000)]
- Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser