1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Commit Graph

62303 Commits

Author SHA1 Message Date
Stanislav Malyshev 2f15c1d717 fix uninitialized var that may lead to crash 2011-12-26 02:16:37 +00:00
Stanislav Malyshev e4f40a3375 fix tests 2011-12-26 01:08:47 +00:00
Dmitry Stogov 0e563dfa93 Initialize structure (some fields may be missed in array returned from user handler). 2011-12-22 15:33:48 +00:00
Dmitry Stogov cef0d27af9 Change fatal error into warning and ignore arguments over limit 2011-12-22 15:31:41 +00:00
Xinchen Hui 2217bba732 test for bug 60591 2011-12-22 08:08:52 +00:00
Xinchen Hui 77b97de8df Fix bug #60591 (Memory leak when access a non-exists file) 2011-12-22 07:39:44 +00:00
Stanislav Malyshev 48a688ffa0 back to dev 2011-12-22 03:27:00 +00:00
Stanislav Malyshev 1a79692791 5.4.0rc4 2011-12-22 03:25:28 +00:00
Stanislav Malyshev 0610ca459a Fix warning on non-numeric offsets 2011-12-22 03:22:42 +00:00
Gustavo André dos Santos Lopes f24f2b4df6 - Fixed bug #60570 (http wrapper leaks context resource if request fails/is
redirected).
2011-12-21 15:44:58 +00:00
Xinchen Hui 2fe9f37026 Fix tests 2011-12-19 16:57:36 +00:00
Xinchen Hui 2f62602c03 Fixed bug #60558 (Invalid read and writes)
Re-Fixed bug #60536 (Traits Segfault)
#Thanks to tony2001, I found the previous fix -r321089 is actually not a correct one.
#The key problem there is because the traits didn't correct set the property_info.offset
#for private properties. so here come the new fix.
2011-12-19 16:48:18 +00:00
Xinchen Hui 7fcba87e68 Revert previous bad fix, introduce memory leak 2011-12-19 12:00:09 +00:00
Xinchen Hui 1a4a527c37 Codes standard & Remove useless empty lines 2011-12-19 10:05:48 +00:00
Xinchen Hui d589d33468 Fixed bug #60558 (Invalid read and writes) 2011-12-19 09:58:29 +00:00
Scott MacVicar c36926ba4c Add tests for OpenSSL crash. 2011-12-19 03:09:05 +00:00
Stanislav Malyshev 622412d8e6 implement the solution for isset/string offsets, fix bug #60362 2011-12-19 02:05:03 +00:00
Scott MacVicar beda5efd41 Fix segfault in older versions of OpenSSL (before 0.9.8i) 2011-12-18 05:14:32 +00:00
Stefan Marr 3dc9f0abe6 Fixed inconsistent and broken handling of private properties in traits.
# The handling of private properties in classes is now consistent with private properties in traits.
# Perviously, privates could cause strict warnings, are were not properly merged into the class when
# the parent class had a private property of the same name. Now, we introduce it without notice,
# since it is a new and independent property, just like in normal classes.
# This problem was diagnosed while working on Bug #60536.
2011-12-17 14:26:39 +00:00
Xinchen Hui db63456a8d Reduce memory usage 2011-12-17 03:57:01 +00:00
Xinchen Hui 80ab69876c Fixed bug #60523 (PHP Errors are not reported in browsers using built-in SAPI) 2011-12-16 19:25:03 +00:00
Xinchen Hui 01dc47631e Fixed bug #60536 (Traits Segfault)
# this is a tough one, I think I should explain
# Zend use zend_object->properties_table both as zval ** and zval ***
# if a zend_object->properties is not initialized, the properties_table is zval **
# while in rebuild_object_properties, zend will store the zval ** to zend_object->properties
# then stash the zval ***(ie, zobj->properties_table[0] is zval ** now) to  zobj->properties_table[0] 
# so when a zend_object inherit form multi parent and these parent have a same property_info->offset 
# properties, will result in a repeat zval **->zval ** transform, which will lead to a segmentfault
# *may be* this fix is not the best fix, we should not use this tricky way, and rewrite this mechanism.
2011-12-16 19:02:52 +00:00
Dmitry Stogov e467a791d3 Added max_input_vars directive to prevent attacks based on hash collisions 2011-12-15 10:31:02 +00:00
Andrey Hristov 4dfd69e84b fix for 5.5.19 2011-12-14 19:29:45 +00:00
Andrey Hristov 9e14665237 another fix 2011-12-14 19:28:41 +00:00
Andrey Hristov b8697d07f8 fix test 2011-12-14 18:37:49 +00:00
Andrey Hristov 3ef71f9726 fix test 2011-12-14 18:36:04 +00:00
Andrey Hristov 9033d60caf fix typo 2011-12-14 17:59:11 +00:00
Pierre Joye 4faab885ec - add announce steps, s,cvs,svn, MFH 2011-12-14 16:32:50 +00:00
Andrey Hristov e38daffe60 fix test 2011-12-14 16:27:52 +00:00
Dmitry Stogov 6fb3897f80 Added max_input_vars directive to prevent attacks based on hash collisions 2011-12-14 08:56:35 +00:00
Pierre Joye f94cc91dda - tmp dir is system depedent 2011-12-13 23:18:12 +00:00
Pierre Joye 3b8e237128 - skip on win 2011-12-13 23:04:01 +00:00
Pierre Joye 609ade1bed - ignore notices here, not what we test (array to string conversion) 2011-12-13 13:46:27 +00:00
Pierre Joye df3cd84f80 - use the test itself, making the test passes when ran outside the src tree 2011-12-12 19:09:01 +00:00
Pierre Joye 9cfc56d445 - copy run-test php 2011-12-12 15:09:52 +00:00
Pierre Joye b54e8fa231 - skip on win 2011-12-12 14:03:24 +00:00
Pierre Joye a275c409c6 - skip on win 2011-12-12 14:02:06 +00:00
Pierre Joye 02e898c9e0 - skip on win 2011-12-12 13:56:42 +00:00
Pierre Joye b02c751074 - skip on win 2011-12-12 13:53:38 +00:00
Pierre Joye df3c9a79fe - skip on win 2011-12-12 13:49:21 +00:00
Pierre Joye 582363d9c8 - skip on win 2011-12-12 13:34:21 +00:00
Pierre Joye d15e57d5db - skip on win 2011-12-12 13:31:43 +00:00
Derick Rethans 31afa034f0 This test should no longer fail, and is perfectly okay for Linux to test on too. 2011-12-12 12:57:46 +00:00
Popa Adrian Marius b2bf466363 bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird 2011-12-12 06:33:43 +00:00
Gustavo André dos Santos Lopes 52c36e60c4 - Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together
with the last read.
2011-12-11 21:08:15 +00:00
Popa Adrian Marius 74343ca506 bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird 2011-12-10 22:04:23 +00:00
Felipe Pena 9e06b00e71 - Fixed bug #60489 (Simple Typo In php.ini Files)
patch by: danbrown at php.net
2011-12-09 22:43:01 +00:00
Xinchen Hui e29c46a50d add $_SERVER["SERVER_NAME"] since it's handy 2011-12-09 16:16:31 +00:00
Xinchen Hui 8fff0e86d7 fix memory leak 2011-12-09 14:05:26 +00:00