]> granicus.if.org Git - php/log
php
15 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

15 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)

15 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)

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

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

15 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)

15 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

15 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

15 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).

15 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

15 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)

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

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

15 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)

15 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

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

15 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

15 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

15 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

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

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

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

15 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()

15 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)

15 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

15 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

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

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

15 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)

15 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

15 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)

15 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`

15 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

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

15 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

15 years agofix build
Antony Dovgal [Thu, 8 Apr 2010 09:56:18 +0000 (09:56 +0000)]
fix build

15 years agoFix for bug #51026 ssl not working
Andrey Hristov [Thu, 8 Apr 2010 09:01:21 +0000 (09:01 +0000)]
Fix for bug #51026 ssl not working

15 years ago- WS
Pierre Joye [Thu, 8 Apr 2010 07:55:35 +0000 (07:55 +0000)]
- WS

15 years ago- WS
Pierre Joye [Thu, 8 Apr 2010 07:50:05 +0000 (07:50 +0000)]
- WS

15 years agoAnother fix for the 16 chars user limitation of MySQL
Andrey Hristov [Wed, 7 Apr 2010 18:28:46 +0000 (18:28 +0000)]
Another fix for the 16 chars user limitation of MySQL

15 years agoFix test. The usernames in the server are 16 chars long
Andrey Hristov [Wed, 7 Apr 2010 18:05:42 +0000 (18:05 +0000)]
Fix test. The usernames in the server are 16 chars long

15 years agoFix the Windows build (void* arithmetic) as well as --disable-zlib
Andrey Hristov [Tue, 6 Apr 2010 18:14:23 +0000 (18:14 +0000)]
Fix the Windows build (void* arithmetic) as well as --disable-zlib
build.

15 years agoStricly C
Andrey Hristov [Tue, 6 Apr 2010 14:33:55 +0000 (14:33 +0000)]
Stricly C

15 years agofix typo
Antony Dovgal [Tue, 6 Apr 2010 13:42:21 +0000 (13:42 +0000)]
fix typo

15 years agoRecommit with an Windows build fix:
Andrey Hristov [Tue, 6 Apr 2010 13:28:23 +0000 (13:28 +0000)]
Recommit with an Windows build fix:
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)

15 years agochange namespaced ctors - only __construct would work
Stanislav Malyshev [Sun, 4 Apr 2010 23:28:20 +0000 (23:28 +0000)]
change namespaced ctors - only __construct would work

15 years ago- Fix tests
Felipe Pena [Sun, 4 Apr 2010 17:21:27 +0000 (17:21 +0000)]
- Fix tests

15 years ago- Fix test
Felipe Pena [Sun, 4 Apr 2010 16:57:44 +0000 (16:57 +0000)]
- Fix test

15 years ago- Fixed tests
Felipe Pena [Sat, 3 Apr 2010 15:42:42 +0000 (15:42 +0000)]
- Fixed tests

15 years ago- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
Felipe Pena [Fri, 2 Apr 2010 21:44:09 +0000 (21:44 +0000)]
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)

15 years agofix bug #48983 (DomDocument : saveHTMLFile wrong charset)
Rob Richards [Fri, 2 Apr 2010 20:08:15 +0000 (20:08 +0000)]
fix bug #48983 (DomDocument : saveHTMLFile wrong charset)

15 years agoFix tests
Rasmus Lerdorf [Fri, 2 Apr 2010 18:27:48 +0000 (18:27 +0000)]
Fix tests

15 years agoUpdate the FILTER_VALIDATE_EMAIL filter to fix bug #49576
Rasmus Lerdorf [Fri, 2 Apr 2010 17:56:37 +0000 (17:56 +0000)]
Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576

15 years agofix WS
Rob Richards [Fri, 2 Apr 2010 16:19:23 +0000 (16:19 +0000)]
fix WS

15 years agore-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
Rob Richards [Fri, 2 Apr 2010 16:15:06 +0000 (16:15 +0000)]
re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
add test
BFN

15 years agofix #49192 - crash in GC when get_properties handler returns null
Stanislav Malyshev [Thu, 1 Apr 2010 22:54:03 +0000 (22:54 +0000)]
fix #49192 - crash in GC when get_properties handler returns null

15 years ago- revert revision 297277, break the builds (declaration must go 1st, size of void...
Pierre Joye [Thu, 1 Apr 2010 20:21:50 +0000 (20:21 +0000)]
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3

15 years agofix #51394 - try harder to find script lineno when exception happens
Stanislav Malyshev [Thu, 1 Apr 2010 19:36:56 +0000 (19:36 +0000)]
fix #51394 - try harder to find script lineno when exception happens

15 years agoAdd new full_special_chars filter to tests
Rasmus Lerdorf [Thu, 1 Apr 2010 18:04:57 +0000 (18:04 +0000)]
Add new full_special_chars filter to tests

15 years agoFix inconsistencies
Andrey Hristov [Thu, 1 Apr 2010 13:26:41 +0000 (13:26 +0000)]
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)

15 years agoBetter fix for bug #51347 mysqli_close / connection memory leak
Andrey Hristov [Thu, 1 Apr 2010 12:46:21 +0000 (12:46 +0000)]
Better fix for bug #51347 mysqli_close / connection memory leak

15 years agoOn beginTransaction() reset error state
Ilia Alshanetsky [Thu, 1 Apr 2010 12:08:55 +0000 (12:08 +0000)]
On beginTransaction() reset error state

15 years agoFixed bug #51347 mysqli_close / connection memory leak
Andrey Hristov [Thu, 1 Apr 2010 11:50:24 +0000 (11:50 +0000)]
Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().

15 years ago- fix build
Pierre Joye [Thu, 1 Apr 2010 10:34:05 +0000 (10:34 +0000)]
- fix build

15 years agoFix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
Rasmus Lerdorf [Wed, 31 Mar 2010 23:56:30 +0000 (23:56 +0000)]
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'

15 years agofull_special_chars filter from trunk - approved by johannes
Rasmus Lerdorf [Wed, 31 Mar 2010 22:59:09 +0000 (22:59 +0000)]
full_special_chars filter from trunk - approved by johannes

15 years agoIt's 2010 already
Johannes Schlüter [Tue, 30 Mar 2010 21:09:07 +0000 (21:09 +0000)]
It's 2010 already

15 years agoUse php_error_docref instead of zend_error
Johannes Schlüter [Tue, 30 Mar 2010 21:02:32 +0000 (21:02 +0000)]
Use php_error_docref instead of zend_error

15 years agoUpgraded bundled sqlite to version 3.6.23.1
Ilia Alshanetsky [Tue, 30 Mar 2010 11:52:25 +0000 (11:52 +0000)]
Upgraded bundled sqlite to version 3.6.23.1

15 years ago- Updated to version 2010.7 (2010g)
Derick Rethans [Mon, 29 Mar 2010 17:22:53 +0000 (17:22 +0000)]
- Updated to version 2010.7 (2010g)

15 years agoMake it coupled - what is allocated with mnd_ should be freed
Andrey Hristov [Mon, 29 Mar 2010 17:04:16 +0000 (17:04 +0000)]
Make it coupled - what is allocated with mnd_ should be freed
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.
Fixed some failing tests.

15 years agoUpgraded bundled PCRE to version 8.02.
Ilia Alshanetsky [Mon, 29 Mar 2010 11:58:06 +0000 (11:58 +0000)]
Upgraded bundled PCRE to version 8.02.

15 years agoFix #51220 by adding . Also improve reliability for tests using undefined behavior.
Christopher Jones [Fri, 26 Mar 2010 19:38:26 +0000 (19:38 +0000)]
Fix #51220 by adding . Also improve reliability for tests using undefined behavior.

15 years agoFix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
Andrey Hristov [Fri, 26 Mar 2010 16:58:25 +0000 (16:58 +0000)]
Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode
(ext/mysql and ingres) needs the socket.
Fix possible crashes in mysqlnd. When packets are shorter, functions should
return error.

15 years agoFixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone).
Adam Harvey [Fri, 26 Mar 2010 04:31:26 +0000 (04:31 +0000)]
Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone).

15 years agofix the protos
Stanislav Malyshev [Thu, 25 Mar 2010 19:17:17 +0000 (19:17 +0000)]
fix the protos

15 years agoFixed bug #51291 (oci_error doesn't report last error when called two times)
Christopher Jones [Wed, 24 Mar 2010 22:08:55 +0000 (22:08 +0000)]
Fixed bug #51291 (oci_error doesn't report last error when called two times)

15 years agoFix tests
Hannes Magnusson [Wed, 24 Mar 2010 22:06:21 +0000 (22:06 +0000)]
Fix tests

15 years agoFix test (the key can be negative)
Hannes Magnusson [Wed, 24 Mar 2010 21:57:30 +0000 (21:57 +0000)]
Fix test (the key can be negative)

15 years agoFix a segfault when using a mysqli object after unsuccesssful connect, the
Andrey Hristov [Wed, 24 Mar 2010 15:17:57 +0000 (15:17 +0000)]
Fix a segfault when using a mysqli object after unsuccesssful connect, the
handle should have been allocated with mysqli_init().

15 years agofix build failure after recent commit by Kalle
Andrey Hristov [Wed, 24 Mar 2010 10:06:42 +0000 (10:06 +0000)]
fix build failure after recent commit by Kalle

15 years agoFixed bug #51263 (imagettftext and rotated text uses wrong baseline)
Takeshi Abe [Wed, 24 Mar 2010 04:12:19 +0000 (04:12 +0000)]
Fixed bug #51263 (imagettftext and rotated text uses wrong baseline)

15 years agoFix declaring
Kalle Sommer Nielsen [Tue, 23 Mar 2010 13:21:22 +0000 (13:21 +0000)]
Fix declaring

15 years agoAdded test for bug #51338
Ilia Alshanetsky [Tue, 23 Mar 2010 11:51:38 +0000 (11:51 +0000)]
Added test for bug #51338

15 years agoname changes for consistency with planned additions
Christopher Jones [Mon, 22 Mar 2010 22:37:20 +0000 (22:37 +0000)]
name changes for consistency with planned additions

15 years agoFixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on).
Ilia Alshanetsky [Mon, 22 Mar 2010 12:16:45 +0000 (12:16 +0000)]
Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on).

15 years ago- Fixed bug #49429, #51331 (odbc_autocommit doesn't work)
Felipe Pena [Sat, 20 Mar 2010 18:19:16 +0000 (18:19 +0000)]
- Fixed bug #49429, #51331 (odbc_autocommit doesn't work)

15 years agoNew tests for existing functionality
Christopher Jones [Fri, 19 Mar 2010 22:15:40 +0000 (22:15 +0000)]
New tests for existing functionality

15 years agoI am sorry I tried fixing PHP without extensive discussion on the mailing list.
Andrei Zmievski [Thu, 18 Mar 2010 22:37:25 +0000 (22:37 +0000)]
I am sorry I tried fixing PHP without extensive discussion on the mailing list.
I am sorry I tried fixing PHP without extensive discussion on the mailing list.
I am sorry I tried fixing PHP without extensive discussion on the mailing list.

Hope all the relevant parties are satisfied.

15 years agoFix a few problems with large (2G-4G) file uploads. Added
Andrei Zmievski [Thu, 18 Mar 2010 21:07:38 +0000 (21:07 +0000)]
Fix a few problems with large (2G-4G) file uploads. Added
--enable-large-uploads-fix switch because one change was in SAPI.h structure.

15 years agoFix for complaint from the Zend MM, efree of a NULL pointer.
Andrey Hristov [Wed, 17 Mar 2010 18:08:25 +0000 (18:08 +0000)]
Fix for complaint from the Zend MM, efree of a NULL pointer.

15 years agoFix a bug that a statement that is reset doesn't clean
Andrey Hristov [Wed, 17 Mar 2010 18:00:47 +0000 (18:00 +0000)]
Fix a bug that a statement that is reset doesn't clean
the wire properly (as it is done when the statement is closed).
If there is more that one result sets returned from the PS
(like a call to SP that returns at least one RSet next to the
status rset) then the line was blocked. PS Multi-Res is not supported
in any libmysql from a GA-ed MySQL.

15 years agofix valgrind warning introduced with the latest patch. The memory
Andrey Hristov [Wed, 17 Mar 2010 11:40:37 +0000 (11:40 +0000)]
fix valgrind warning introduced with the latest patch. The memory
should be calloc-ed, not malloced, because the code that uses the
stmt storage needs that.

15 years agoUpdate oci_commit tests
Christopher Jones [Tue, 16 Mar 2010 23:13:50 +0000 (23:13 +0000)]
Update oci_commit tests

15 years agodecouple the methods in MYSQLND_STMT from the data,
Andrey Hristov [Tue, 16 Mar 2010 12:36:57 +0000 (12:36 +0000)]
decouple the methods in MYSQLND_STMT from the data,
needed to move to a new structure MYSQLND_STMT. Makes
the code cleaner and less error-prone.
Also fix PDO/MySQL which directly touch mysqlnd internals
instead of using API calls.

15 years ago- Fix win32 build.
Rob Richards [Mon, 15 Mar 2010 16:20:19 +0000 (16:20 +0000)]
- Fix win32 build.

15 years ago- Fix win32 build. (notified by Rob. Thanks)
Moriyoshi Koizumi [Mon, 15 Mar 2010 14:19:51 +0000 (14:19 +0000)]
- Fix win32 build. (notified by Rob. Thanks)

15 years ago- Fix mem. leak
Felipe Pena [Sat, 13 Mar 2010 20:26:51 +0000 (20:26 +0000)]
- Fix mem. leak

15 years agoFix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
Raphael Geissert [Sat, 13 Mar 2010 18:40:29 +0000 (18:40 +0000)]
Fix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
requests (bug #51288)

15 years agoNew OCI8 test
Christopher Jones [Sat, 13 Mar 2010 00:25:11 +0000 (00:25 +0000)]
New OCI8 test