Ulf Wendel
9b334da667
Fixing test - make sure it checks the same conditions for libmysql and mysqlnd
2010-05-31 12:55:59 +00:00
Ulf Wendel
fb80ebe102
Fixing test
2010-05-31 12:22:48 +00:00
Ulf Wendel
4b5666a539
Fixing mysqli_stmt_attr_set @ libmysql
2010-05-31 12:10:04 +00:00
Ulf Wendel
2613069cd4
Improve EXPECTF to work with other than default schemata
2010-05-31 10:52:14 +00:00
Pierre Joye
46c0f21386
- Added recent Windows versions to php_uname and fix undefined windows version
2010-05-30 07:46:45 +00:00
Pierre Joye
e2d9e0ae70
- ws
2010-05-30 07:36:19 +00:00
Jérôme Loyet
dbe35d87d6
fix commit 299383
2010-05-29 22:00:43 +00:00
Jérôme Loyet
e750930899
typo (thx to Brian P. Mercer)
2010-05-29 10:39:35 +00:00
Dmitry Stogov
54caf22325
Fixed bug #50976 (Soap headers Authorization not allowed)
2010-05-28 12:18:03 +00:00
Dmitry Stogov
42d25dc2b2
Fixed bug #50762 (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com)
2010-05-28 10:52:16 +00:00
Johannes Schlüter
901fc6f3a4
These files talk about PHP 3, flex, CVS, ... interesting to archeologists only
2010-05-27 23:12:44 +00:00
Johannes Schlüter
9cfcc89a0b
Update EXTENSIONS file
2010-05-27 23:08:39 +00:00
Johannes Schlüter
435405f5da
Update credits
2010-05-27 22:51:28 +00:00
Johannes Schlüter
bb3faf2d25
Make the credits script more verbose
2010-05-27 22:50:31 +00:00
Johannes Schlüter
a622dd6bfb
From user's perspective this was added
2010-05-27 22:41:36 +00:00
Jérôme Loyet
66ef4d185c
bug: include paths were not evaluated to to full path
2010-05-27 22:31:28 +00:00
Jérôme Loyet
ce03ced4d7
typo
2010-05-27 22:18:58 +00:00
Ulf Wendel
ba6ee3fc06
Open server bug: mysqlnd works around it, libmysql fails. Let's skip because MySQL Server version tests are tricky and error prone.
2010-05-27 13:01:17 +00:00
Andrey Hristov
3aa95c59cc
Check before use, because mysqlnd can return NULL
...
and this will crash. However, this can happen only in case of OOM.
2010-05-27 12:44:10 +00:00
Andrey Hristov
6ebe80be5d
Don't use NULL pointer, always check before use
2010-05-27 12:39:12 +00:00
Ulf Wendel
6356bcbbb9
Test fixes and updates to work with a wider range of MySQL server configs
2010-05-27 12:09:39 +00:00
Andrey Hristov
ce2fbe1931
Fix possible crashes, in case of OOM, due to half-baken
...
objects.
2010-05-27 12:05:02 +00:00
Andrey Hristov
5efee3d587
Fix crashes in the allocator in case of OOM.
2010-05-27 12:00:48 +00:00
Andrey Hristov
b7385f02fd
Fix deallocation which can crash if the object is half-baken.
...
Happens during OOM.
2010-05-27 08:51:46 +00:00
Antony Dovgal
4d005a8e65
merge FPM SAPI from trunk (as agreed with Johannes)
2010-05-26 15:14:43 +00:00
Andrey Hristov
ce136a825c
Don't use conn->net without checking if it is NULL, because
...
it can be NULL in OOM conditions. This would cause a crash.
2010-05-26 13:47:43 +00:00
Andrey Hristov
0d468290be
Fix test
2010-05-26 13:36:49 +00:00
Andrey Hristov
d6458c3b1e
Add checks to check the underlying pointer in the resource.
...
It can happen that the underlying pointer is freed (like in
the case of connection reconnect), and then it cannot be allocated
anymore, which means that NULL will be used consequently by the
functions that fetch the resource and the crash is immediate.
2010-05-26 07:28:43 +00:00
Felipe Pena
00191c3c34
- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)
2010-05-26 02:18:17 +00:00
Felipe Pena
c4be9c3890
- Fixed bug #51905 (ReflectionParameter fails if default value is an array with an access to self::)
2010-05-26 00:00:58 +00:00
Andrey Hristov
58f13c3c9f
Handle the situation when MYSQLND_PROTOCOL's methods return NULL.
...
mysqlnd should not crash but gracefully return with an error.
2010-05-25 23:18:13 +00:00
Andrey Hristov
bccf2cea5d
Handle the situation when mysql_init()/mysqlnd_init()
...
return NULL. It is a rare case of OOM but PHP shouldn't crash, if possible.
2010-05-25 22:55:10 +00:00
Felipe Pena
f3009cb596
- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array)
2010-05-25 22:46:17 +00:00
Andrey Hristov
c5ff0eb5b8
Gracefully handle OOM in mysqlnd_stmt_init. Release the handle
...
and return NULL.
2010-05-25 22:42:25 +00:00
Andrey Hristov
bcdc3b30f7
Init should return status value because initialization can fail.
...
In this case mysqlnd_init() should return NULL to the end-user.
2010-05-25 22:40:47 +00:00
Andrey Hristov
621cdd9019
Use the specialized macro for this case
2010-05-25 22:38:11 +00:00
Andrey Hristov
c389adb96a
Use only memory that has been allocated
2010-05-25 22:36:33 +00:00
Andrey Hristov
4abc7a1e69
Access memory which was really allocated
2010-05-25 22:34:47 +00:00
Andrey Hristov
348880ce66
Fix shared build
2010-05-25 21:54:21 +00:00
Andrey Hristov
337513ffa0
Handle OOM in the code that generates PS Execute requests
...
to the server. Fixes crashes in case of OOM.
2010-05-25 19:19:29 +00:00
Andrey Hristov
ed4ce335d8
Fix metadata duplicatin which wasn't crash-safe in case of OOM.
2010-05-25 18:14:37 +00:00
Rasmus Lerdorf
5583cd237f
Check for -1 as well here
2010-05-24 23:52:11 +00:00
Rasmus Lerdorf
159369c68c
Let's have a sane error message here instead of some cryptic zlib error
2010-05-24 23:27:39 +00:00
Andrey Hristov
29c99daa0f
Check set->data for validity before using it.
...
Prevents crashes after OOM.
2010-05-21 13:37:18 +00:00
Andrey Hristov
ef1eeff882
When OOM hits the wire, don't crash.
2010-05-21 13:06:52 +00:00
Andrey Hristov
9c90bf42c1
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
2010-05-21 11:09:28 +00:00
Ilia Alshanetsky
ea3a6539dc
Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
...
numeric strings to integers.
2010-05-20 19:37:52 +00:00
Christopher Jones
3bdc7518a2
New current()/next() test
2010-05-20 17:55:58 +00:00
Felipe Pena
b4500e9b85
- Added arginfo
2010-05-20 17:28:16 +00:00
Antony Dovgal
797bb31e24
fix ZTS build
2010-05-20 11:20:44 +00:00