]>
granicus.if.org Git - php/log
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
Rob Richards [Wed, 5 May 2010 11:40:11 +0000 (11:40 +0000)]
fix bug #48601 (xpath() returns FALSE for legitimate query)
add test
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)
Rob Richards [Tue, 4 May 2010 15:41:49 +0000 (15:41 +0000)]
fix bug #49490 (XPath namespace prefix conflict)
add test
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)
Andrey Hristov [Tue, 4 May 2010 14:02:42 +0000 (14:02 +0000)]
OOM stability fixes
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
Rob Richards [Tue, 4 May 2010 12:55:26 +0000 (12:55 +0000)]
fix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable)
Adam Harvey [Tue, 4 May 2010 11:59:54 +0000 (11:59 +0000)]
Fix misordered news item.
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.
Adam Harvey [Tue, 4 May 2010 11:01:46 +0000 (11:01 +0000)]
Well, as long as we're dealing with typos... :)
Felipe Pena [Tue, 4 May 2010 10:59:26 +0000 (10:59 +0000)]
- Fix typo
Pierre Joye [Tue, 4 May 2010 09:51:03 +0000 (09:51 +0000)]
- fix build
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.
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
Dmitry Stogov [Tue, 4 May 2010 08:02:51 +0000 (08:02 +0000)]
Fixed a possible memory corruption in addcslashes().
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)
Andrey Hristov [Mon, 3 May 2010 19:32:07 +0000 (19:32 +0000)]
Handle OOM in mysqlnd_res::store_result_fetch_data
Pierre Joye [Mon, 3 May 2010 19:29:05 +0000 (19:29 +0000)]
- fix build (declaration must be first)
Andrey Hristov [Mon, 3 May 2010 19:09:45 +0000 (19:09 +0000)]
Handle OOM in mysqlnd_fetch_row_buffered_c()
Andrey Hristov [Mon, 3 May 2010 19:02:48 +0000 (19:02 +0000)]
Handle OOM in mysqlnd_fetch_row_unbuffered_c()
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.
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
Andrey Hristov [Mon, 3 May 2010 17:07:18 +0000 (17:07 +0000)]
Handle gracefully OOM in mysqlnd_mempool_create and up the stack
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
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
Andrey Hristov [Mon, 3 May 2010 16:09:05 +0000 (16:09 +0000)]
Remove unused parameter
Ilia Alshanetsky [Mon, 3 May 2010 14:41:40 +0000 (14:41 +0000)]
Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())
Pierre Joye [Mon, 3 May 2010 14:29:07 +0000 (14:29 +0000)]
- WS
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
Andrey Hristov [Mon, 3 May 2010 14:16:04 +0000 (14:16 +0000)]
Handle OOM when resizing blocks during data fetch
Andrey Hristov [Mon, 3 May 2010 13:51:30 +0000 (13:51 +0000)]
Fix compiler warnings - unused functions
Andrey Hristov [Mon, 3 May 2010 13:45:58 +0000 (13:45 +0000)]
Better handing of OOM in mysqlnd::set_client_option
Pierre Joye [Mon, 3 May 2010 09:05:30 +0000 (09:05 +0000)]
- update bison version (mike)
Felipe Pena [Sun, 2 May 2010 20:11:22 +0000 (20:11 +0000)]
- Revert accidental changes
Ilia Alshanetsky [Sun, 2 May 2010 19:34:21 +0000 (19:34 +0000)]
- Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser
Raphael Geissert [Sun, 2 May 2010 05:01:51 +0000 (05:01 +0000)]
Fix bug in unaligned memory access fix
Raphael Geissert [Sat, 1 May 2010 23:32:40 +0000 (23:32 +0000)]
Fix unaligned memory accesses in enchant (bug #51289)
Felipe Pena [Sat, 1 May 2010 18:54:49 +0000 (18:54 +0000)]
- Fixed bug #51719 (typo in function prototype)
Raphael Geissert [Sat, 1 May 2010 18:30:38 +0000 (18:30 +0000)]
Fix another typo s/exlcusive/exclusive
Raphael Geissert [Sat, 1 May 2010 18:27:42 +0000 (18:27 +0000)]
Fix typos s/connnection/connection
Pierre Joye [Fri, 30 Apr 2010 08:15:09 +0000 (08:15 +0000)]
- Fix #51688, ini per dir crashes when invalid document root are given
Andrey Hristov [Thu, 29 Apr 2010 15:49:51 +0000 (15:49 +0000)]
Handle OOM cases, in case of persistent connections this is real
and the Zend MM won't help.
Andrey Hristov [Thu, 29 Apr 2010 15:17:44 +0000 (15:17 +0000)]
Fix valgrind warning, usage of nirvana memory
Andrey Hristov [Thu, 29 Apr 2010 13:19:57 +0000 (13:19 +0000)]
Add a test case for the recently fixed memleak
Andrey Hristov [Thu, 29 Apr 2010 13:13:41 +0000 (13:13 +0000)]
Fix possible crashes in case of OOM, as well as a leak.
Andrey Hristov [Thu, 29 Apr 2010 12:07:02 +0000 (12:07 +0000)]
Try blob columns instead of int, and insert a lot of data at once
Andrey Hristov [Thu, 29 Apr 2010 11:49:08 +0000 (11:49 +0000)]
Fix crash if OOM and USE_ZEND_ALLOC=0
Christopher Jones [Thu, 29 Apr 2010 05:07:16 +0000 (05:07 +0000)]
Bug #51691 (Unnecessary realloc causes crashes in PHP trunk tests with interned strings). Updated tests check some other edge cases
Derick Rethans [Wed, 28 Apr 2010 23:03:36 +0000 (23:03 +0000)]
- Updated to version 2010.9 (2010i)
Pierre Joye [Wed, 28 Apr 2010 22:25:31 +0000 (22:25 +0000)]
- we don't need that anymore
Christopher Jones [Wed, 28 Apr 2010 17:26:59 +0000 (17:26 +0000)]
Mask schemaname in error messages
Andrey Hristov [Wed, 28 Apr 2010 15:35:52 +0000 (15:35 +0000)]
Fixed few buffer overflows reported by Stefan Esser.
Pierre Joye [Wed, 28 Apr 2010 14:35:42 +0000 (14:35 +0000)]
- - Fixed #51128, imagefill() doesn't work with large images
Pierre Joye [Wed, 28 Apr 2010 14:10:01 +0000 (14:10 +0000)]
- fix possible Dechunking Filter Buffer Overflow
Andrey Hristov [Wed, 28 Apr 2010 12:29:13 +0000 (12:29 +0000)]
const-ify fields
Ilia Alshanetsky [Wed, 28 Apr 2010 12:10:10 +0000 (12:10 +0000)]
Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski.
Pierre Joye [Wed, 28 Apr 2010 08:23:44 +0000 (08:23 +0000)]
- Fix #51671, imagefill does not work correctly for small images
Pierre Joye [Wed, 28 Apr 2010 08:04:52 +0000 (08:04 +0000)]
- WS
Ilia Alshanetsky [Tue, 27 Apr 2010 17:13:24 +0000 (17:13 +0000)]
Fixed string format validation inside phar extension. Reported by Stefan Esser
Andrey Hristov [Tue, 27 Apr 2010 12:32:34 +0000 (12:32 +0000)]
Fixed very rare memory leak in mysqlnd, when binding thousands of columns
Andrey Hristov [Tue, 27 Apr 2010 11:02:51 +0000 (11:02 +0000)]
Of course, 64*4 is 256, not 1024
Andrey Hristov [Tue, 27 Apr 2010 10:53:27 +0000 (10:53 +0000)]
Move the macro to mysqlnd_enum_n_def.h, because it can be reused
in other places. Also, premultiply the values by 4 and add some
reserve for future releases of the server.
Etienne Kneuss [Tue, 27 Apr 2010 08:56:01 +0000 (08:56 +0000)]
Fixed #48361 (SplFileInfo::getPathName() should return the parent
Andrey Hristov [Tue, 27 Apr 2010 08:45:23 +0000 (08:45 +0000)]
Test case for the buffer overflow in mysqlnd_change_user
Andrey Hristov [Tue, 27 Apr 2010 08:26:24 +0000 (08:26 +0000)]
Fixed buffer overflow in mysqlnd_change_user
Hannes Magnusson [Tue, 27 Apr 2010 08:23:25 +0000 (08:23 +0000)]
- Unifiy that message
- Mention php.ini
Hannes Magnusson [Tue, 27 Apr 2010 08:17:17 +0000 (08:17 +0000)]
Fix test
Andrey Hristov [Tue, 27 Apr 2010 08:02:08 +0000 (08:02 +0000)]
Fixed possible buffer overflow in mysqlnd_conn__list_fields.
Etienne Kneuss [Tue, 27 Apr 2010 05:58:39 +0000 (05:58 +0000)]
Fix #51374 (Wrongly initialized object properties)
Pierrick Charron [Tue, 27 Apr 2010 05:56:56 +0000 (05:56 +0000)]
Fixed bug #51670 getColumnMeta causes segfault when re-executing query after calling nextRowset
Etienne Kneuss [Tue, 27 Apr 2010 04:57:48 +0000 (04:57 +0000)]
Fix #49723 (Skip seek when unnecessary)
Kalle Sommer Nielsen [Mon, 26 Apr 2010 23:55:03 +0000 (23:55 +0000)]
Merge safe_mode changes into extensions that are in sync in both branches
Ilia Alshanetsky [Mon, 26 Apr 2010 18:35:54 +0000 (18:35 +0000)]
Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser
Pierre Joye [Mon, 26 Apr 2010 10:34:53 +0000 (10:34 +0000)]
- Fix #51582, Don't assume UINT64_C it's ever available
Felipe Pena [Sun, 25 Apr 2010 23:25:15 +0000 (23:25 +0000)]
- BFN #51624
Hannes Magnusson [Sun, 25 Apr 2010 18:55:06 +0000 (18:55 +0000)]
mention which setting!
Etienne Kneuss [Sun, 25 Apr 2010 05:18:42 +0000 (05:18 +0000)]
Fix #51532 (Invalid prototype for SplFileInfo::fscanf)
Felipe Pena [Sat, 24 Apr 2010 16:59:09 +0000 (16:59 +0000)]
- Fixed memory leak
Christopher Jones [Sat, 24 Apr 2010 00:44:56 +0000 (00:44 +0000)]
Initialize vars to prevent valgrind warnings in some cases
Andrey Hristov [Fri, 23 Apr 2010 13:54:40 +0000 (13:54 +0000)]
Fix for bug #51647 Certificate file without private key (pk in another file) doesn't work
Felipe Pena [Fri, 23 Apr 2010 13:32:03 +0000 (13:32 +0000)]
- Fixed compiler warnings
Felipe Pena [Thu, 22 Apr 2010 20:54:35 +0000 (20:54 +0000)]
- Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile errors)
Andrey Hristov [Thu, 22 Apr 2010 16:28:50 +0000 (16:28 +0000)]
Change the way the allocator is called - through an abstraction
to give the possibility of pluggability. Thanks to the macros
already used the changes are not pervasive.
Andrey Hristov [Thu, 22 Apr 2010 16:22:56 +0000 (16:22 +0000)]
Fix problem spotted by Felipe.
Antony Dovgal [Thu, 22 Apr 2010 15:59:44 +0000 (15:59 +0000)]
revert most of the Andrey's patch that causes segfaults
(as agreed with Pierre)
Andrey Hristov [Thu, 22 Apr 2010 15:14:45 +0000 (15:14 +0000)]
adding what last commit was missing
Andrey Hristov [Thu, 22 Apr 2010 15:07:40 +0000 (15:07 +0000)]
Remove dead code and add possibility to fine tune the size of
a mempool (used for result sets).
Andrey Hristov [Thu, 22 Apr 2010 13:03:44 +0000 (13:03 +0000)]
Add the posibility to switch off the compilation of statistics
collection, for those who want to optimize the last percent of their
binaries.
Antony Dovgal [Thu, 22 Apr 2010 11:56:08 +0000 (11:56 +0000)]
initialize variable. this code still segfaults in OpenSSL, no idea why
Pierre Joye [Thu, 22 Apr 2010 11:49:10 +0000 (11:49 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Pierre Joye [Thu, 22 Apr 2010 08:58:07 +0000 (08:58 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Adam Harvey [Thu, 22 Apr 2010 02:22:49 +0000 (02:22 +0000)]
Fix for bug #51604 (newline in end of header is shown in start of message).
Patch by Daniel Egeberg.
Felipe Pena [Wed, 21 Apr 2010 22:30:06 +0000 (22:30 +0000)]
- Changed order to FR
Felipe Pena [Wed, 21 Apr 2010 22:22:31 +0000 (22:22 +0000)]
- Fixed bug #51627 (script path not correctly evaluated)
Patch by: russell dot tempero at rightnow dot com
Felipe Pena [Wed, 21 Apr 2010 14:19:27 +0000 (14:19 +0000)]
- Fixed bug #51562 (query timeout in mssql can not be changed per query)
Patch by: ejsmont dot artur at gmail dot com
Felipe Pena [Wed, 21 Apr 2010 12:52:24 +0000 (12:52 +0000)]
- Fix mem. leak
Andrey Hristov [Tue, 20 Apr 2010 20:02:32 +0000 (20:02 +0000)]
Hardening the reads of mysqlnd.
All packets but the row data packet are read into preallocated buffer,
either on the stack or on the heap (cmd_buffer). The size of the buffer
is always checked to skip buffer overruns. Only up to the size of the
buffer is stored into the buffer but packet->header.size has the size of
all data sent. In this case network layer bails.
This patch hardenes the reads, so if packets are malformed and shorter
than they should be there will be no further reads in the buffer.
In short, detection of malformed packets.
Andrey Hristov [Tue, 20 Apr 2010 19:09:56 +0000 (19:09 +0000)]
put the trigger in the right place
Andrey Hristov [Tue, 20 Apr 2010 18:04:24 +0000 (18:04 +0000)]
It is possible that change user tries an user who has old password.
Instead of error message that doesn't say much there is more information now.