1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00
Commit Graph

59122 Commits

Author SHA1 Message Date
Felipe Pena 12c8bfb021 - Fixed bug #51562 (query timeout in mssql can not be changed per query)
Patch by: ejsmont dot artur at gmail dot com
2010-04-21 14:19:27 +00:00
Felipe Pena 623a25728a - Fix mem. leak 2010-04-21 12:52:24 +00:00
Kalle Sommer Nielsen febee11285 Removed register_globals 2010-04-21 01:27:22 +00:00
Jérôme Loyet bae9248602 typo 2010-04-20 23:31:13 +00:00
Jérôme Loyet 5556956899 Add a check request_method. If fcgi protocol is not followed, a segfault can occur. 2010-04-20 23:28:20 +00:00
Jérôme Loyet ca8756478a Change php_defines in configuration file to php_value,php_admin_value,php_flag,php_admin_flag (as in the apache sapi).
php_admin* sets values as ZEND_INI_SYSTEM mode while php_* sets values as ZEND_INI_USER
2010-04-20 21:13:40 +00:00
Andrey Hristov 6dec27d58b Hardening the reads of mysqlnd.
All packets but the row data packet are read into preallocated buffer,
either on the stack or on the heap (cmd_buffer). The size of the buffer
is always checked to skip buffer overruns. Only up to the size of the
buffer is stored into the buffer but packet->header.size has the size of
all data sent. In this case network layer bails.

This patch hardenes the reads, so if packets are malformed and shorter
than they should be there will be no further reads in the buffer.
In short, detection of malformed packets.
2010-04-20 20:02:32 +00:00
Stanislav Malyshev 10a9f48eee add test for self:: and static:: 2010-04-20 19:46:30 +00:00
Andrey Hristov f2d23c7f37 put the trigger in the right place 2010-04-20 19:09:56 +00:00
Andrey Hristov eda9959e36 It is possible that change user tries an user who has old password.
Instead of error message that doesn't say much there is more information now.
2010-04-20 18:04:24 +00:00
Felipe Pena 6df7a7d7b5 - Improve test 2010-04-20 16:45:46 +00:00
Felipe Pena 3a0a2af52c - Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML) 2010-04-20 16:24:21 +00:00
Felipe Pena b7bd1167a9 - Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Patch by: cbandy at jbandy dot com
2010-04-20 15:59:01 +00:00
Dmitry Stogov e7d3ec6dee Fixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled) 2010-04-20 15:41:35 +00:00
Johannes Schlüter 5ec6f1e9a1 WS 2010-04-20 15:29:03 +00:00
Felipe Pena 8c14acfc82 - Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter) 2010-04-20 14:11:53 +00:00
Felipe Pena 6d951e2ded - Fix copyrights 2010-04-20 13:50:34 +00:00
Antony Dovgal 9aa82f22f2 fix ZTS build 2010-04-20 12:53:43 +00:00
Antony Dovgal 91a214008c fix build 2010-04-20 12:50:02 +00:00
Dmitry Stogov b6ae8a964b Fixed bug #48781 (Cyclical garbage collector memory leak) 2010-04-20 12:30:35 +00:00
Felipe Pena f507cc9cf6 - Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com
2010-04-20 11:49:23 +00:00
Dmitry Stogov 7f18561bdc Updated version numbers 2010-04-20 11:17:25 +00:00
Dmitry Stogov 453b49ed20 Added a number of small performance tweaks and optimizations
. ZEND_RECV now always has IS_CV as its result
  . ZEND_CATCH now has to be used only with constant class names
  . ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
2010-04-20 11:16:39 +00:00
Dmitry Stogov 0bba0bfdc8 regenerated files 2010-04-20 11:14:07 +00:00
Dmitry Stogov 41b6410418 Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed. 2010-04-20 11:07:05 +00:00
Dmitry Stogov dd5c478be6 Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed. 2010-04-20 11:05:54 +00:00
Dmitry Stogov 94dd83722b Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table 2010-04-20 10:57:45 +00:00
Dmitry Stogov ea53dc5af6 Added an optimization which saves memory and emalloc/efree calls for empty HashTables 2010-04-20 10:49:22 +00:00
Dmitry Stogov c373e5efdc Added a micro benchmark which measures the performance of some primitive operations. It's usefult to detect performance evaluation caused by new patches. 2010-04-20 10:44:19 +00:00
Antony Dovgal f151e24218 fix infinite loop in the test 2010-04-20 10:04:26 +00:00
Adam Harvey afa1045305 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).
2010-04-20 04:31:11 +00:00
Stanislav Malyshev 129019b9fc fix 64-bit integer overflow in mhash_keygen_s2k 2010-04-20 00:45:07 +00:00
Jérôme Loyet 213436c3fb true/false was not a valid value for boolean directives 2010-04-19 20:45:03 +00:00
Stanislav Malyshev c93a4f192b restore $this support for closures to its former glory 2010-04-19 19:45:03 +00:00
Jérôme Loyet 5a211da7af correct path in the man page 2010-04-19 18:02:36 +00:00
Felipe Pena 6f03cbf664 - Fixed bug #51590 (JSON_ERROR_UTF8 is undefined) 2010-04-18 18:07:27 +00:00
Stanislav Malyshev b65385aa44 fix non-ts build 2010-04-16 23:36:53 +00:00
Christopher Jones 9cd79b40c5 Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) 2010-04-16 20:36:40 +00:00
Stefan Marr b501570ab0 Added traits test cases. No engine changes for now. [TRAITS]
#Getting accustomed to the infrastructure.
#Any comments are welcome, especially with regard to syntax and keywords.
2010-04-15 21:39:20 +00:00
Christopher Jones 4cf81c81d0 Fix php.ini comment typo 2010-04-15 19:22:01 +00:00
Kalle Sommer Nielsen a5304b138f Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session) 2010-04-15 16:36:08 +00:00
Andrey Hristov fb76a3f2db Last batch of int/uint comparison fixes 2010-04-15 15:58:26 +00:00
Andrey Hristov 7f43fc3b02 More int/uint comparison warning fixes 2010-04-15 15:53:58 +00:00
Andrey Hristov f40779091c Fix some int/uint comparison warnings 2010-04-15 15:28:00 +00:00
Andrey Hristov 8912e8f04e Remove unused file 2010-04-15 15:22:56 +00:00
Andrey Hristov 6f0adc06fa more WS 2010-04-15 15:16:29 +00:00
Andrey Hristov a9880e78c6 CS + WS changes 2010-04-15 12:55:04 +00:00
Antony Dovgal 76b60a3412 final fix for long opts in getopt() 2010-04-15 11:50:43 +00:00
Kalle Sommer Nielsen 0cee5edcfb Bump PHP_API_VERSION 2010-04-15 11:18:28 +00:00
Andrey Hristov c04f752625 Fix for bug#49234 method not found ssl_set
Patch was tested and compiles on Windows. (Thanks Kalle)
2010-04-15 11:01:30 +00:00