Commit Graph

61314 Commits

Author SHA1 Message Date
Rasmus Lerdorf
71af9259e3 Use property_info.name here instead since *name might be free'ed at this point
@dmitry please review
2011-08-07 00:01:17 +00:00
Rasmus Lerdorf
1a9f66d6d4 Avoid a potential double-free here 2011-08-06 23:42:52 +00:00
Rasmus Lerdorf
facfed523d Not our issue, but fixing here for now and reporting upstream 2011-08-06 23:34:13 +00:00
Rasmus Lerdorf
1bc34a491c Fix another Coverity warning by initializing this to NULL prior to the strtok_r call 2011-08-06 21:10:29 +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
Rasmus Lerdorf
dc1e148165 Another potential missing va_end() found by Coverity 2011-08-05 22:26:16 +00:00
Christopher Jones
68f785ac70 Improve test portabilty 2011-08-05 22:18:50 +00:00
Rasmus Lerdorf
1ac9192d46 Fix missing va_end() found by Coverity 2011-08-05 22:18:42 +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
Pierre Joye
38cb153c42 - update libcurl to 7.21.7 2011-08-03 13:19:03 +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
Dmitry Stogov
6803a38928 Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off) 2011-08-02 07:38:23 +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
Jérôme Loyet
3bd0db004e - Fixed bug #55340 (segfault when using some arguments -- bug introduced by commit r313351) 2011-08-02 00:58:51 +00:00
Dmitry Stogov
d4a80cfa8d Fixed bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made w/o instantiating) 2011-08-01 15:23:16 +00:00
Dmitry Stogov
74f68932b7 Added support for Class::{expr}() syntax (Pierrick) 2011-08-01 12:08:44 +00:00
Dmitry Stogov
8ff0701e8d Fixed bug #50816 (Using class constants in array definition fails). 2011-08-01 11:21:23 +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
2f1752cb49 retore open_basedir check for unlink 2011-07-31 22:43:21 +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
Felipe Pena
4442b3f7a8 - Fixed tests 2011-07-31 18:51:15 +00:00
Stefan Marr
88f497f27d Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC] 2011-07-31 18:18:56 +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
Stefan Marr
70aad763e9 Fixed test which was assuming that E_STRICT is not on by default. 2011-07-31 16:15:40 +00:00
Felipe Pena
b07c3c3e01 - Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
patch by: Gustavo Lopes (cataphract@php)
2011-07-31 12:27:47 +00:00
Pierre Joye
d7819b62cc - Fix #55301 (sybase part, take #2) check if malloc succeded 2011-07-28 21:16:51 +00:00