]> granicus.if.org Git - php/log
php
14 years agoFix unaligned memory accesses in enchant (bug #51289)
Raphael Geissert [Sat, 1 May 2010 23:32:40 +0000 (23:32 +0000)]
Fix unaligned memory accesses in enchant (bug #51289)

14 years ago- Fixed bug #51719 (typo in function prototype)
Felipe Pena [Sat, 1 May 2010 18:54:49 +0000 (18:54 +0000)]
- Fixed bug #51719 (typo in function prototype)

14 years agoFix another typo s/exlcusive/exclusive
Raphael Geissert [Sat, 1 May 2010 18:30:38 +0000 (18:30 +0000)]
Fix another typo s/exlcusive/exclusive

14 years agoFix typos s/connnection/connection
Raphael Geissert [Sat, 1 May 2010 18:27:42 +0000 (18:27 +0000)]
Fix typos s/connnection/connection

14 years ago- Fix #51688, ini per dir crashes when invalid document root are given
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

14 years agoHandle OOM cases, in case of persistent connections this is real
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.

14 years agoFix valgrind warning, usage of nirvana memory
Andrey Hristov [Thu, 29 Apr 2010 15:17:44 +0000 (15:17 +0000)]
Fix valgrind warning, usage of nirvana memory

14 years agoAdd a test case for the recently fixed memleak
Andrey Hristov [Thu, 29 Apr 2010 13:19:57 +0000 (13:19 +0000)]
Add a test case for the recently fixed memleak

14 years agoFix possible crashes in case of OOM, as well as a leak.
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.

14 years agoTry blob columns instead of int, and insert a lot of data at once
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

14 years agoFix crash if OOM and USE_ZEND_ALLOC=0
Andrey Hristov [Thu, 29 Apr 2010 11:49:08 +0000 (11:49 +0000)]
Fix crash if OOM and USE_ZEND_ALLOC=0

14 years agoBug #51691 (Unnecessary realloc causes crashes in PHP trunk tests with interned strin...
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

14 years ago- Updated to version 2010.9 (2010i)
Derick Rethans [Wed, 28 Apr 2010 23:03:36 +0000 (23:03 +0000)]
- Updated to version 2010.9 (2010i)

14 years ago- we don't need that anymore
Pierre Joye [Wed, 28 Apr 2010 22:25:31 +0000 (22:25 +0000)]
- we don't need that anymore

14 years agoMask schemaname in error messages
Christopher Jones [Wed, 28 Apr 2010 17:26:59 +0000 (17:26 +0000)]
Mask schemaname in error messages

14 years agoFixed few buffer overflows reported by Stefan Esser.
Andrey Hristov [Wed, 28 Apr 2010 15:35:52 +0000 (15:35 +0000)]
Fixed few buffer overflows reported by Stefan Esser.

14 years ago- - Fixed #51128, imagefill() doesn't work with large images
Pierre Joye [Wed, 28 Apr 2010 14:35:42 +0000 (14:35 +0000)]
- - Fixed #51128, imagefill() doesn't work with large images

14 years ago- fix possible Dechunking Filter Buffer Overflow
Pierre Joye [Wed, 28 Apr 2010 14:10:01 +0000 (14:10 +0000)]
- fix possible Dechunking Filter Buffer Overflow

14 years agoconst-ify fields
Andrey Hristov [Wed, 28 Apr 2010 12:29:13 +0000 (12:29 +0000)]
const-ify fields

14 years agoFixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz...
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.

14 years ago- Fix #51671, imagefill does not work correctly for small images
Pierre Joye [Wed, 28 Apr 2010 08:23:44 +0000 (08:23 +0000)]
- Fix #51671, imagefill does not work correctly for small images

14 years ago- WS
Pierre Joye [Wed, 28 Apr 2010 08:04:52 +0000 (08:04 +0000)]
- WS

14 years agoFixed string format validation inside phar extension. Reported by Stefan Esser
Ilia Alshanetsky [Tue, 27 Apr 2010 17:13:24 +0000 (17:13 +0000)]
Fixed string format validation inside phar extension. Reported by Stefan Esser

14 years agoFixed very rare memory leak in mysqlnd, when binding thousands of columns
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

14 years agoOf course, 64*4 is 256, not 1024
Andrey Hristov [Tue, 27 Apr 2010 11:02:51 +0000 (11:02 +0000)]
Of course, 64*4 is 256, not 1024

14 years agoMove the macro to mysqlnd_enum_n_def.h, because it can be reused
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.

14 years agoFixed #48361 (SplFileInfo::getPathName() should return the parent
Etienne Kneuss [Tue, 27 Apr 2010 08:56:01 +0000 (08:56 +0000)]
Fixed #48361 (SplFileInfo::getPathName() should return the parent

14 years agoTest case for the buffer overflow in mysqlnd_change_user
Andrey Hristov [Tue, 27 Apr 2010 08:45:23 +0000 (08:45 +0000)]
Test case for the buffer overflow in mysqlnd_change_user

14 years agoFixed 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

14 years ago- Unifiy that message
Hannes Magnusson [Tue, 27 Apr 2010 08:23:25 +0000 (08:23 +0000)]
- Unifiy that message
- Mention php.ini

14 years agoFix test
Hannes Magnusson [Tue, 27 Apr 2010 08:17:17 +0000 (08:17 +0000)]
Fix test

14 years agoFixed possible buffer overflow in mysqlnd_conn__list_fields.
Andrey Hristov [Tue, 27 Apr 2010 08:02:08 +0000 (08:02 +0000)]
Fixed possible buffer overflow in mysqlnd_conn__list_fields.

14 years agoFix #51374 (Wrongly initialized object properties)
Etienne Kneuss [Tue, 27 Apr 2010 05:58:39 +0000 (05:58 +0000)]
Fix #51374 (Wrongly initialized object properties)

14 years agoFixed bug #51670 getColumnMeta causes segfault when re-executing query after calling...
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

14 years agoFix #49723 (Skip seek when unnecessary)
Etienne Kneuss [Tue, 27 Apr 2010 04:57:48 +0000 (04:57 +0000)]
Fix #49723 (Skip seek when unnecessary)

14 years agoMerge safe_mode changes into extensions that are in sync in both branches
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

14 years agoFixed handling of session variable serialization on certain prefix characters. Report...
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

14 years ago- Fix #51582, Don't assume UINT64_C it's ever available
Pierre Joye [Mon, 26 Apr 2010 10:34:53 +0000 (10:34 +0000)]
- Fix #51582, Don't assume UINT64_C it's ever available

14 years ago- BFN #51624
Felipe Pena [Sun, 25 Apr 2010 23:25:15 +0000 (23:25 +0000)]
- BFN #51624

14 years agomention which setting!
Hannes Magnusson [Sun, 25 Apr 2010 18:55:06 +0000 (18:55 +0000)]
mention which setting!

14 years agoFix #51532 (Invalid prototype for SplFileInfo::fscanf)
Etienne Kneuss [Sun, 25 Apr 2010 05:18:42 +0000 (05:18 +0000)]
Fix #51532 (Invalid prototype for SplFileInfo::fscanf)

14 years ago- Fixed memory leak
Felipe Pena [Sat, 24 Apr 2010 16:59:09 +0000 (16:59 +0000)]
- Fixed memory leak

14 years agoInitialize vars to prevent valgrind warnings in some cases
Christopher Jones [Sat, 24 Apr 2010 00:44:56 +0000 (00:44 +0000)]
Initialize vars to prevent valgrind warnings in some cases

14 years agoFix for bug #51647 Certificate file without private key (pk in another file) doesn...
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

14 years ago- Fixed compiler warnings
Felipe Pena [Fri, 23 Apr 2010 13:32:03 +0000 (13:32 +0000)]
- Fixed compiler warnings

14 years ago- Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile errors)
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)

14 years agoChange the way the allocator is called - through an abstraction
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.

14 years agoFix problem spotted by Felipe.
Andrey Hristov [Thu, 22 Apr 2010 16:22:56 +0000 (16:22 +0000)]
Fix problem spotted by Felipe.

14 years agorevert most of the Andrey's patch that causes segfaults
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)

14 years agoadding what last commit was missing
Andrey Hristov [Thu, 22 Apr 2010 15:14:45 +0000 (15:14 +0000)]
adding what last commit was missing

14 years agoRemove dead code and add possibility to fine tune the size of
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).

14 years agoAdd the posibility to switch off the compilation of statistics
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.

14 years agoinitialize variable. this code still segfaults in OpenSSL, no idea why
Antony Dovgal [Thu, 22 Apr 2010 11:56:08 +0000 (11:56 +0000)]
initialize variable. this code still segfaults in OpenSSL, no idea why

14 years ago- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Pierre Joye [Thu, 22 Apr 2010 11:49:10 +0000 (11:49 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading

14 years ago- 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

14 years agoFix for bug #51604 (newline in end of header is shown in start of message).
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.

14 years ago- Changed order to FR
Felipe Pena [Wed, 21 Apr 2010 22:30:06 +0000 (22:30 +0000)]
- Changed order to FR

14 years ago- Fixed bug #51627 (script path not correctly evaluated)
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

14 years ago- Fixed bug #51562 (query timeout in mssql can not be changed per query)
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

14 years ago- Fix mem. leak
Felipe Pena [Wed, 21 Apr 2010 12:52:24 +0000 (12:52 +0000)]
- Fix mem. leak

14 years agoHardening the reads of mysqlnd.
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.

14 years agoput the trigger in the right place
Andrey Hristov [Tue, 20 Apr 2010 19:09:56 +0000 (19:09 +0000)]
put the trigger in the right place

14 years agoIt is possible that change user tries an user who has old password.
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.

14 years ago- Improve test
Felipe Pena [Tue, 20 Apr 2010 16:45:46 +0000 (16:45 +0000)]
- Improve test

14 years ago- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML)
Felipe Pena [Tue, 20 Apr 2010 16:24:21 +0000 (16:24 +0000)]
- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML)

14 years ago- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Felipe Pena [Tue, 20 Apr 2010 15:59:01 +0000 (15:59 +0000)]
- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
  Patch by: cbandy at jbandy dot com

14 years agoFixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled)
Dmitry Stogov [Tue, 20 Apr 2010 15:41:35 +0000 (15:41 +0000)]
Fixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled)

14 years ago- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter)
Felipe Pena [Tue, 20 Apr 2010 14:11:53 +0000 (14:11 +0000)]
- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter)

14 years ago- Fix copyrights
Felipe Pena [Tue, 20 Apr 2010 13:50:34 +0000 (13:50 +0000)]
- Fix copyrights

14 years agofix build
Antony Dovgal [Tue, 20 Apr 2010 12:50:02 +0000 (12:50 +0000)]
fix build

14 years agoFixed bug #48781 (Cyclical garbage collector memory leak)
Dmitry Stogov [Tue, 20 Apr 2010 12:30:35 +0000 (12:30 +0000)]
Fixed bug #48781 (Cyclical garbage collector memory leak)

14 years ago- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Felipe Pena [Tue, 20 Apr 2010 11:49:23 +0000 (11:49 +0000)]
- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com

14 years agofix infinite loop in the test
Antony Dovgal [Tue, 20 Apr 2010 10:04:26 +0000 (10:04 +0000)]
fix infinite loop in the test

14 years agoAdded explanatory comments to filter_input and filter_input_array to document
Adam Harvey [Tue, 20 Apr 2010 04:31:11 +0000 (04:31 +0000)]
Added explanatory comments to filter_input and filter_input_array to document
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).

14 years agofix 64-bit integer overflow in mhash_keygen_s2k
Stanislav Malyshev [Tue, 20 Apr 2010 00:45:07 +0000 (00:45 +0000)]
fix 64-bit integer overflow in mhash_keygen_s2k

14 years ago- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)
Felipe Pena [Sun, 18 Apr 2010 18:07:27 +0000 (18:07 +0000)]
- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)

14 years agoAdd fix made previously
Christopher Jones [Fri, 16 Apr 2010 22:34:25 +0000 (22:34 +0000)]
Add fix made previously

14 years agoAdd attribution (thanks Felipe)
Christopher Jones [Fri, 16 Apr 2010 22:06:52 +0000 (22:06 +0000)]
Add attribution (thanks Felipe)

14 years agoFixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name)
Christopher Jones [Fri, 16 Apr 2010 20:36:40 +0000 (20:36 +0000)]
Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name)

14 years agoMerge Kalle's tidy-up from trunk to keep files in sync
Christopher Jones [Fri, 16 Apr 2010 19:47:23 +0000 (19:47 +0000)]
Merge Kalle's tidy-up from trunk to keep files in sync

14 years agoFix php.ini comment typo
Christopher Jones [Thu, 15 Apr 2010 19:22:01 +0000 (19:22 +0000)]
Fix php.ini comment typo

14 years agoLast batch of int/uint comparison fixes
Andrey Hristov [Thu, 15 Apr 2010 15:58:26 +0000 (15:58 +0000)]
Last batch of int/uint comparison fixes

14 years agoMore int/uint comparison warning fixes
Andrey Hristov [Thu, 15 Apr 2010 15:53:58 +0000 (15:53 +0000)]
More int/uint comparison warning fixes

14 years agoFix some int/uint comparison warnings
Andrey Hristov [Thu, 15 Apr 2010 15:28:00 +0000 (15:28 +0000)]
Fix some int/uint comparison warnings

14 years agoRemove unused file
Andrey Hristov [Thu, 15 Apr 2010 15:22:56 +0000 (15:22 +0000)]
Remove unused file

14 years agomore WS
Andrey Hristov [Thu, 15 Apr 2010 15:16:29 +0000 (15:16 +0000)]
more WS

14 years agoCS + WS changes
Andrey Hristov [Thu, 15 Apr 2010 12:55:04 +0000 (12:55 +0000)]
CS + WS changes

14 years agofinal fix for long opts in getopt()
Antony Dovgal [Thu, 15 Apr 2010 11:50:43 +0000 (11:50 +0000)]
final fix for long opts in getopt()

14 years agoFix for bug#49234 method not found ssl_set
Andrey Hristov [Thu, 15 Apr 2010 11:01:30 +0000 (11:01 +0000)]
Fix for bug#49234 method not found ssl_set
Patch was tested and compiles on Windows. (Thanks Kalle)

14 years agodiscard first TWO symbols of a long argument
Antony Dovgal [Wed, 14 Apr 2010 15:49:38 +0000 (15:49 +0000)]
discard first TWO symbols of a long argument

14 years ago- #35638, add udate to imap_fetch_overview
Pierre Joye [Wed, 14 Apr 2010 09:45:37 +0000 (09:45 +0000)]
- #35638, add udate to imap_fetch_overview

14 years agosimplify configure check for nanosleep()
Antony Dovgal [Tue, 13 Apr 2010 12:41:46 +0000 (12:41 +0000)]
simplify configure check for nanosleep()

14 years ago- begintransaction entry
Pierre Joye [Mon, 12 Apr 2010 19:57:07 +0000 (19:57 +0000)]
- begintransaction entry

14 years agoFixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default)
Ilia Alshanetsky [Mon, 12 Apr 2010 14:04:45 +0000 (14:04 +0000)]
Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default)

14 years ago- [doc] merge stream_set_read_buffer, equivalent of stream_set_write_buffer for read...
Pierre Joye [Mon, 12 Apr 2010 13:10:05 +0000 (13:10 +0000)]
- [doc] merge stream_set_read_buffer, equivalent of stream_set_write_buffer for read operations. Fixing possible bad effects while reading devices

14 years agofix bug #50828 (DOMNotation is not subclass of DOMNode)
Rob Richards [Fri, 9 Apr 2010 11:34:34 +0000 (11:34 +0000)]
fix bug #50828 (DOMNotation is not subclass of DOMNode)

14 years agomake sure the actual length of the argument passed matches the
Antony Dovgal [Thu, 8 Apr 2010 15:27:21 +0000 (15:27 +0000)]
make sure the actual length of the argument passed matches the
length of the argument declared
this fixes things like `php --zend-exten=1` or `php-fpm --fpm-con=conf`

14 years agoFixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
Andrey Hristov [Thu, 8 Apr 2010 13:20:37 +0000 (13:20 +0000)]
Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
because on 32bit SIZEOF_LONG is 4 and INT64 from MySQL is 8 everything
was converted to string, even if it was able to put it in a long.
This closes Request #50651 Native type cast returns wrong result

14 years agoFixing the second test
Andrey Hristov [Thu, 8 Apr 2010 13:18:52 +0000 (13:18 +0000)]
Fixing the second test

14 years agoone more fix and both work with libmysql and mysqlnd
Andrey Hristov [Thu, 8 Apr 2010 10:53:38 +0000 (10:53 +0000)]
one more fix and both work with libmysql and mysqlnd