1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Commit Graph

62286 Commits

Author SHA1 Message Date
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
Patrick Allaert ea25a9be03 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:45:39 +00:00
Xinchen Hui 665ff3444a typo, sorry 2011-12-09 05:55:31 +00:00
Xinchen Hui 147c414279 Fixed bug #60477 (Segfault after two multipart/form-data POST requests) 2011-12-09 05:37:41 +00:00
Christopher Jones 726b31cfc9 Fix skipif 2011-12-08 20:43:23 +00:00
Pierrick Charron 4b860ccdad Fix curl_copy_handle_basic_008.phpt when display_errors is On
(Thanks Chris Jones)
2011-12-08 18:57:01 +00:00
Hannes Magnusson d0f7573b39 Uhh.. Can't believe noone noticed the gc option was missing from our ini files 2011-12-08 14:57:02 +00:00
Stanislav Malyshev 8559b09566 back to dev 2011-12-08 07:17:27 +00:00
Stanislav Malyshev 00f2a9b2ba 5.4.0rc3 2011-12-08 07:15:44 +00:00
Scott MacVicar 287e1917cf Make sure that we set the strong crypto result to false as well as returning false. 2011-12-07 20:50:33 +00:00
Derick Rethans 38eecffe0d Test cosmetics. 2011-12-07 19:42:44 +00:00
Derick Rethans 6c242d9dd7 Sorting out the tests *once* more.
Please keep them consistent and only change them if you are 110% certain what
you're doing. Otherwise -> please ask.
2011-12-07 19:24:58 +00:00
Pierrick Charron 2e87cd3399 Fix test 2011-12-07 16:46:48 +00:00
Pierrick Charron 572e36e2e4 Add new test for CURLOPT_POSTFIELDS 2011-12-07 16:32:50 +00:00
Pierre Joye d4ef7ab7df - tests require 64bit integer 2011-12-07 10:38:35 +00:00
Xinchen Hui 5aa1fb6074 Implemented FR #54514 (Get php binary path during script execution). 2011-12-07 10:33:13 +00:00
Pierre Joye 321172e479 - print_r seems to display 0 or nothing for days, let make that test works in both cases, that's not the purpose of this test to test print_r 2011-12-07 09:03:07 +00:00
Pierre Joye 93af22bbb9 - fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor signature (fixes almost date_diff tests too) 2011-12-07 08:39:43 +00:00