Commit Graph

25886 Commits

Author SHA1 Message Date
Rasmus Lerdorf
c70aa9436a These naked strcpy()s scare me 2011-08-07 00:18:38 +00:00
Rasmus Lerdorf
facfed523d Not our issue, but fixing here for now and reporting upstream 2011-08-06 23:34:13 +00:00
Rui Hirokawa
bc514c8339 changed mapping of 0xa5 for SJIS-mac to prevent security attack. 2011-08-06 15:23:06 +00:00
Felipe Pena
9480eace41 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Rui Hirokawa
fc3e0ff1ec fixed encoding conversion when http_input=auto. 2011-08-06 12:19:16 +00:00
Rui Hirokawa
70eb1c1267 improved error handling for ill-formed utf-8 based on the Unicode recommendation. 2011-08-06 04:25:44 +00:00
Rui Hirokawa
b3414d3c02 added ill-formed utf-8 check for 0xEDXXXX. 2011-08-06 02:22:15 +00:00
Rui Hirokawa
2bc6bcb96e updated libmbfl version to 1.3.1. 2011-08-06 01:48:45 +00:00
Felipe Pena
9c289189d3 - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
Felipe Pena
65e381ba1d - Fixed bug #55313 (Number of retries not set when params specified)
patch by: kevin at kevinlocke dot name
2011-08-06 00:59:21 +00:00
Rasmus Lerdorf
c9342c81d6 efree match_sets on an error here - found by Coverity 2011-08-05 22:39:40 +00:00
Christopher Jones
68f785ac70 Improve test portabilty 2011-08-05 22:18:50 +00:00
Andrey Hristov
5f1107144a Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections 2011-08-05 13:39:30 +00:00
Rui Hirokawa
5bd3e8324d added check for invalid utf-8 encoding (merge from libmbfl-1.3.1). 2011-08-05 04:28:24 +00:00
Rui Hirokawa
bab1e815d2 removed invalid 5,6 byte encoding from utf-8 based on Unicode 5.2. 2011-08-04 12:11:04 +00:00
Felipe Pena
8cf0864b8c - Added missing check (thanks neweracracker at gmail dot com) 2011-08-04 10:56:59 +00:00
Andrey Hristov
11f198b203 Add mysqli_error_list() that returns an array with errors. Typically only
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed
2011-08-04 09:51:26 +00:00
Felipe Pena
463de70efd - Fixed possible efree(NULL) (bug #55296) 2011-08-04 00:59:43 +00:00
Rui Hirokawa
99a4948062 MF PHP_5_4. 2011-08-03 12:09:28 +00:00
Andrey Hristov
45867c1750 Remove a warning by explicitly compiling out a non-used variable 2011-08-02 15:30:58 +00:00
Andrey Hristov
71cb8322f5 completely compile out a currently non-needed function 2011-08-02 14:18:56 +00:00
Andrey Hristov
1abe1fb48f compile out both parts of the code that are currently unused - fixes a compilation warning 2011-08-02 14:02:21 +00:00
Andrey Hristov
4d31e1d143 fix warnings due to change in zend_property_info (structure extended in the middle!!) 2011-08-02 13:41:20 +00:00
Rui Hirokawa
5771c1fb86 added version number of libmbfl. 2011-08-02 03:18:53 +00:00
Rui Hirokawa
52948b534c added new files of libmbfl 1.3.0. 2011-08-02 02:50:11 +00:00
Rui Hirokawa
17dc1d2610 updated libmbfl for version 1.3.0. 2011-08-02 02:42:41 +00:00
Stanislav Malyshev
5c42cde3cb fix params parsing 2011-08-01 04:29:37 +00:00
Stanislav Malyshev
30aa3cea6a fix tests 2011-08-01 03:42:02 +00:00
Stanislav Malyshev
553a08c4e1 fix failing tests 2011-08-01 01:00:57 +00:00
Stanislav Malyshev
b56c6b24ff fix termination in sha-512 too 2011-07-31 23:14:04 +00:00
Stanislav Malyshev
d868c71617 fix salt truncation bug in sha256 2011-07-31 21:47:03 +00:00
Pierre Joye
991e108a85 - blowfish 1.2 update, 2nd part 2011-07-31 20:50:09 +00:00
Stefan Marr
dbc6849bca Added __TRAIT__ magic constant [TRAITS] [DOC]
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits.
# Since traits are not types, there are not many valid use cases, and trying
# to use __TRAIT__ to make traits more like classes is discouraged.
2011-07-31 17:39:30 +00:00
Stefan Marr
03f514d0a0 Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
Pierre Joye
d7819b62cc - Fix #55301 (sybase part, take #2) check if malloc succeded 2011-07-28 21:16:51 +00:00
Pierre Joye
7cf389ad2c - Fix #55301 (mssql part) check if malloc succeded 2011-07-28 11:01:04 +00:00
Pierre Joye
5703457cd0 - Fix #55301 (sybase part) check if malloc succeded 2011-07-28 10:58:28 +00:00
Pierre Joye
96b142795c - Fix #55301 (url scanner part) check if malloc succeded 2011-07-28 10:52:45 +00:00
Pierre Joye
7053100f3d - Fix #55301 (readline part) check if malloc succeded 2011-07-28 10:42:45 +00:00
Pierre Joye
27cb62423c - Fix #55301 (interbase part) check if malloc succeded 2011-07-28 10:39:08 +00:00
Pierre Joye
e28e0ef658 - Fix #55301 (pdo_odbc part) check if malloc succeded 2011-07-28 10:37:04 +00:00
Pierre Joye
0c715414e0 - Fix #55301 (com_dotnet part) check if malloc succeded 2011-07-28 10:34:16 +00:00
Pierre Joye
40b059de97 - Fix #55301 (curl part) check if malloc succeded 2011-07-28 10:31:34 +00:00
Pierre Joye
7b9071f71d - do safemode/open basedir checks 1st, and use only expand not realpath (it is done by the safemode/openbasedir check already) 2011-07-27 14:58:30 +00:00
Andrey Hristov
2e1825830f longer error messages, don't cut them 2011-07-27 10:26:59 +00:00
Peter Cowburn
4d28bb722b added (recursive)callbackfilteriterator to spl_classes() (bug #55287) 2011-07-27 08:48:08 +00:00
Christopher Jones
823d7a0534 Add explicit casts to remove some of Pierre's snapshot build warnings 2011-07-27 00:04:23 +00:00
Pierre Joye
fc8afdf178 - Fixed bug 55124, recursive mkdir fails with current (dot) directory in path 2011-07-26 17:44:20 +00:00
Ulf Wendel
498aaae6d8 Double check if line is sill usable and connected to last successfully selected db. 2011-07-26 16:14:59 +00:00
Ulf Wendel
8e3de07b4f Check what happens if switching DB via API fails. Expected: no change of current DB/schema. 2011-07-26 15:37:59 +00:00