1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 07:28:09 +02:00
Commit Graph

59146 Commits

Author SHA1 Message Date
Felipe Pena ac181e07ef - Removed unused variables 2010-04-22 13:28:53 +00:00
Andrey Hristov 12c9bde2e7 Add the posibility to switch off the compilation of statistics
collection, for those who want to optimize the last percent of their
binaries.
2010-04-22 13:03:44 +00:00
Dmitry Stogov fb9d95e5a4 ZEND_RETURN is splitted into two new instructions ZEND_RETURN and ZEND_RETURN_BY_REF 2010-04-22 11:56:45 +00:00
Antony Dovgal 64a97ee663 initialize variable. this code still segfaults in OpenSSL, no idea why 2010-04-22 11:56:08 +00:00
Pierre Joye f66e02b8fc - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 11:49:10 +00:00
Pierre Joye b1e3ae0e99 - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 08:58:07 +00:00
Jérôme Loyet 7ac145d9f3 correct wrong comparison (thx to felipe) 2010-04-22 07:14:06 +00:00
Adam Harvey c6e8a8957b Fix for bug #51604 (newline in end of header is shown in start of message).
Patch by Daniel Egeberg.
2010-04-22 02:22:49 +00:00
Kalle Sommer Nielsen e73a794105 Removed the session 4.2 bug compatibility mode 2010-04-22 01:07:48 +00:00
Kalle Sommer Nielsen 518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Felipe Pena 696f6c7c93 - Fix ZTS build 2010-04-21 23:22:20 +00:00
Kalle Sommer Nielsen 956a9cdc6e Updated copyright year 2010-04-21 23:19:39 +00:00
Kalle Sommer Nielsen b8ada243fe Drop php_register_var(), Thanks Felipe 2010-04-21 23:16:56 +00:00
Kalle Sommer Nielsen c8a7cb6a45 Updated copyright year 2010-04-21 23:07:54 +00:00
Kalle Sommer Nielsen 3f29144348 Removed session_is_registered(), session_register() and session_unregister().
-- They are no longer needed without register_globals
2010-04-21 23:03:16 +00:00
Jérôme Loyet 3defa292f2 switch the configuration syntax from xml to ini
It's been describe in the RFC: http://wiki.php.net/rfc/fpm/ini_syntax
2010-04-21 22:56:33 +00:00
Kalle Sommer Nielsen 9d395a4a2b Removed import_request_variables(), this is not needed anymore without register_globals 2010-04-21 22:23:55 +00:00
Felipe Pena 10e7361027 - Fixed bug #51627 (script path not correctly evaluated)
Patch by: russell dot tempero at rightnow dot com
2010-04-21 22:22:31 +00:00
Felipe Pena 5e2cba90c9 - Dropped unused HL_BG_COLOR (Kalle) 2010-04-21 22:06:18 +00:00
Kalle Sommer Nielsen 3e6678de4d Added missing zend_parse_parameters_none() call to sys_getloadavg() 2010-04-21 22:04:19 +00:00
Kalle Sommer Nielsen 9a38f301d6 Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3. 2010-04-21 21:56:24 +00:00
Pierrick Charron 508cfb7210 Remove unused variable 2010-04-21 16:00:46 +00:00
Felipe Pena 9f700c417b - Fix ZTS build 2010-04-21 15:08:10 +00:00
Dmitry Stogov 7a2fd62c39 Eliminated unnecessary compile-time hash_value recalculation for interned strings 2010-04-21 14:58:33 +00:00
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