Andrey Hristov
a712d9cefb
Better fix for bug #51347 mysqli_close / connection memory leak
2010-04-01 12:46:21 +00:00
Ilia Alshanetsky
c2e16d3c5b
On beginTransaction() reset error state
2010-04-01 12:08:55 +00:00
Andrey Hristov
311ab2c822
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().
2010-04-01 11:50:24 +00:00
Pierre Joye
60176163f1
- fix build
2010-04-01 10:34:05 +00:00
Rasmus Lerdorf
b529350d4a
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
2010-03-31 23:56:30 +00:00
Rasmus Lerdorf
a5b5743d71
full_special_chars filter from trunk - approved by johannes
2010-03-31 22:59:09 +00:00
Johannes Schlüter
53d35553c6
It's 2010 already
2010-03-30 21:09:07 +00:00
Johannes Schlüter
4dc1cef4fe
Use php_error_docref instead of zend_error
2010-03-30 21:02:32 +00:00
Ilia Alshanetsky
658fe1d0c3
Upgraded bundled sqlite to version 3.6.23.1
2010-03-30 11:52:25 +00:00
Derick Rethans
462399b78b
- Updated to version 2010.7 (2010g)
2010-03-29 17:22:53 +00:00
Andrey Hristov
94cd357f5b
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.
2010-03-29 17:04:16 +00:00
Ilia Alshanetsky
e99039d692
Upgraded bundled PCRE to version 8.02.
2010-03-29 11:58:06 +00:00
Christopher Jones
3e58dee19a
Fix #51220 by adding . Also improve reliability for tests using undefined behavior.
2010-03-26 19:38:26 +00:00
Andrey Hristov
ec36ac1610
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.
2010-03-26 16:58:25 +00:00
Adam Harvey
53cfb3d53d
Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone).
2010-03-26 04:31:26 +00:00
Stanislav Malyshev
252082192a
fix the protos
2010-03-25 19:17:17 +00:00
Christopher Jones
1a6f4efbad
Fixed bug #51291 (oci_error doesn't report last error when called two times)
2010-03-24 22:08:55 +00:00
Hannes Magnusson
abd893a2ae
Fix tests
2010-03-24 22:06:21 +00:00
Hannes Magnusson
a1cce74e96
Fix test (the key can be negative)
2010-03-24 21:57:30 +00:00
Andrey Hristov
78887ff757
Fix a segfault when using a mysqli object after unsuccesssful connect, the
...
handle should have been allocated with mysqli_init().
2010-03-24 15:17:57 +00:00
Andrey Hristov
9f20131311
fix build failure after recent commit by Kalle
2010-03-24 10:06:42 +00:00
Takeshi Abe
a46e108b83
Fixed bug #51263 (imagettftext and rotated text uses wrong baseline)
2010-03-24 04:12:19 +00:00
Kalle Sommer Nielsen
c8b33a6a01
Fix declaring
2010-03-23 13:21:22 +00:00
Ilia Alshanetsky
8a9364080b
Added test for bug #51338
2010-03-23 11:51:38 +00:00
Christopher Jones
ec3a46e194
name changes for consistency with planned additions
2010-03-22 22:37:20 +00:00
Ilia Alshanetsky
995d15ebcc
Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on).
2010-03-22 12:16:45 +00:00
Felipe Pena
3488cd43be
- Fixed bug #49429 , #51331 (odbc_autocommit doesn't work)
2010-03-20 18:19:16 +00:00
Christopher Jones
ad0e1ae3f1
New tests for existing functionality
2010-03-19 22:15:40 +00:00
Andrei Zmievski
f92fae2f66
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.
2010-03-18 22:37:25 +00:00
Andrei Zmievski
3220f15ca2
Fix a few problems with large (2G-4G) file uploads. Added
...
--enable-large-uploads-fix switch because one change was in SAPI.h structure.
2010-03-18 21:07:38 +00:00
Andrey Hristov
981ba00606
Fix for complaint from the Zend MM, efree of a NULL pointer.
2010-03-17 18:08:25 +00:00
Andrey Hristov
4941b23bcd
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.
2010-03-17 18:00:47 +00:00
Andrey Hristov
3ff193c05e
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.
2010-03-17 11:40:37 +00:00
Christopher Jones
825d1abdfe
Update oci_commit tests
2010-03-16 23:13:50 +00:00
Andrey Hristov
7496cc761e
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.
2010-03-16 12:36:57 +00:00
Rob Richards
da538251c1
- Fix win32 build.
2010-03-15 16:20:19 +00:00
Moriyoshi Koizumi
82fd4858b8
- Fix win32 build. (notified by Rob. Thanks)
2010-03-15 14:19:51 +00:00
Felipe Pena
54fc4537c6
- Fix mem. leak
2010-03-13 20:26:51 +00:00
Raphael Geissert
d8da372fd0
Fix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
...
requests (bug #51288 )
2010-03-13 18:40:29 +00:00
Christopher Jones
1c6ea06c73
New OCI8 test
2010-03-13 00:25:11 +00:00
Moriyoshi Koizumi
73ba495674
- Forgot to commit this patch. Sorry.
2010-03-12 16:19:25 +00:00
Andrey Hristov
ccfd9cd744
allow persistency of PS
2010-03-12 13:03:46 +00:00
Jani Taskinen
af49e58f51
- Reverted r296062 and r296065
2010-03-12 10:28:59 +00:00
Moriyoshi Koizumi
ea539c8b88
- Update the bundled libmbfl to the latest on upstream.
2010-03-12 04:55:37 +00:00
Christopher Jones
321ca32642
New and improved DBA tests
2010-03-12 00:27:57 +00:00
Hannes Magnusson
3f15f8f4e3
Fix build (see r296062)
2010-03-11 19:50:04 +00:00
Michael Wallner
5b277c4da0
add backlock socket context option for stream_socket_server(),
...
which had a hardcoded backlog of 5 at two occurrances
2010-03-11 16:37:24 +00:00
Jani Taskinen
b4e1296756
- Fix conflict
2010-03-11 11:23:38 +00:00
Jani Taskinen
06f072cb5e
MFH: Improved / fixed output buffering (Michael Wallner)
2010-03-11 10:24:29 +00:00
Adam Harvey
f60946eb54
Fixed bug #51269 (zlib.output_compression Overwrites Vary Header).
2010-03-11 06:20:22 +00:00