]> granicus.if.org Git - php/log
php
13 years ago- Fix bug #60326, fix crash introduced by initial fix
Pierre Joye [Mon, 26 Dec 2011 22:53:12 +0000 (22:53 +0000)]
- Fix bug #60326, fix crash introduced by initial fix

13 years ago- Fix bug #60326, fix TS build (introduced by r321406)
Pierre Joye [Mon, 26 Dec 2011 12:32:05 +0000 (12:32 +0000)]
- Fix bug #60326, fix TS build (introduced by r321406)

13 years agofix bug #60326 - restore ob_gzhandler
Stanislav Malyshev [Mon, 26 Dec 2011 08:29:11 +0000 (08:29 +0000)]
fix bug #60326 - restore ob_gzhandler

13 years agofix test
Stanislav Malyshev [Mon, 26 Dec 2011 05:08:09 +0000 (05:08 +0000)]
fix test

13 years agofix bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
Stanislav Malyshev [Mon, 26 Dec 2011 05:01:46 +0000 (05:01 +0000)]
fix bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)

13 years agofix test - paths may be expressed in different way
Stanislav Malyshev [Mon, 26 Dec 2011 03:55:29 +0000 (03:55 +0000)]
fix test - paths may be expressed in different way

13 years agotest fixes
Stanislav Malyshev [Mon, 26 Dec 2011 03:22:07 +0000 (03:22 +0000)]
test fixes

13 years agofix uninitialized var that may lead to crash
Stanislav Malyshev [Mon, 26 Dec 2011 02:16:37 +0000 (02:16 +0000)]
fix uninitialized var that may lead to crash

13 years agofix tests
Stanislav Malyshev [Mon, 26 Dec 2011 01:08:47 +0000 (01:08 +0000)]
fix tests

13 years agoInitialize structure (some fields may be missed in array returned from user handler).
Dmitry Stogov [Thu, 22 Dec 2011 15:33:48 +0000 (15:33 +0000)]
Initialize structure (some fields may be missed in array returned from user handler).

13 years agoChange fatal error into warning and ignore arguments over limit
Dmitry Stogov [Thu, 22 Dec 2011 15:31:41 +0000 (15:31 +0000)]
Change fatal error into warning and ignore arguments over limit

13 years agotest for bug 60591
Xinchen Hui [Thu, 22 Dec 2011 08:08:52 +0000 (08:08 +0000)]
test for bug 60591

13 years agoFix bug #60591 (Memory leak when access a non-exists file)
Xinchen Hui [Thu, 22 Dec 2011 07:39:44 +0000 (07:39 +0000)]
Fix bug #60591 (Memory leak when access a non-exists file)

13 years agoback to dev
Stanislav Malyshev [Thu, 22 Dec 2011 03:27:00 +0000 (03:27 +0000)]
back to dev

13 years ago5.4.0rc4
Stanislav Malyshev [Thu, 22 Dec 2011 03:25:28 +0000 (03:25 +0000)]
5.4.0rc4

13 years agoFix warning on non-numeric offsets
Stanislav Malyshev [Thu, 22 Dec 2011 03:22:42 +0000 (03:22 +0000)]
Fix warning on non-numeric offsets

13 years ago- Fixed bug #60570 (http wrapper leaks context resource if request fails/is
Gustavo André dos Santos Lopes [Wed, 21 Dec 2011 15:44:58 +0000 (15:44 +0000)]
- Fixed bug #60570 (http wrapper leaks context resource if request fails/is
  redirected).

13 years agoFix tests
Xinchen Hui [Mon, 19 Dec 2011 16:57:36 +0000 (16:57 +0000)]
Fix tests

13 years agoFixed bug #60558 (Invalid read and writes)
Xinchen Hui [Mon, 19 Dec 2011 16:48:18 +0000 (16:48 +0000)]
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.

13 years agoRevert previous bad fix, introduce memory leak
Xinchen Hui [Mon, 19 Dec 2011 12:00:09 +0000 (12:00 +0000)]
Revert previous bad fix, introduce memory leak

13 years agoCodes standard & Remove useless empty lines
Xinchen Hui [Mon, 19 Dec 2011 10:05:48 +0000 (10:05 +0000)]
Codes standard & Remove useless empty lines

13 years agoFixed bug #60558 (Invalid read and writes)
Xinchen Hui [Mon, 19 Dec 2011 09:58:29 +0000 (09:58 +0000)]
Fixed bug #60558 (Invalid read and writes)

13 years agoAdd tests for OpenSSL crash.
Scott MacVicar [Mon, 19 Dec 2011 03:09:05 +0000 (03:09 +0000)]
Add tests for OpenSSL crash.

13 years agoimplement the solution for isset/string offsets, fix bug #60362
Stanislav Malyshev [Mon, 19 Dec 2011 02:05:03 +0000 (02:05 +0000)]
implement the solution for isset/string offsets, fix bug #60362

13 years agoFix segfault in older versions of OpenSSL (before 0.9.8i)
Scott MacVicar [Sun, 18 Dec 2011 05:14:32 +0000 (05:14 +0000)]
Fix segfault in older versions of OpenSSL (before 0.9.8i)

13 years agoFixed inconsistent and broken handling of private properties in traits.
Stefan Marr [Sat, 17 Dec 2011 14:26:39 +0000 (14:26 +0000)]
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.

13 years agoReduce memory usage
Xinchen Hui [Sat, 17 Dec 2011 03:57:01 +0000 (03:57 +0000)]
Reduce memory usage

13 years agoFixed bug #60523 (PHP Errors are not reported in browsers using built-in SAPI)
Xinchen Hui [Fri, 16 Dec 2011 19:25:03 +0000 (19:25 +0000)]
Fixed bug #60523 (PHP Errors are not reported in browsers using built-in SAPI)

13 years agoFixed bug #60536 (Traits Segfault)
Xinchen Hui [Fri, 16 Dec 2011 19:02:52 +0000 (19:02 +0000)]
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.

13 years agoAdded max_input_vars directive to prevent attacks based on hash collisions
Dmitry Stogov [Thu, 15 Dec 2011 10:31:02 +0000 (10:31 +0000)]
Added max_input_vars directive to prevent attacks based on hash collisions

13 years agofix for 5.5.19
Andrey Hristov [Wed, 14 Dec 2011 19:29:45 +0000 (19:29 +0000)]
fix for 5.5.19

13 years agoanother fix
Andrey Hristov [Wed, 14 Dec 2011 19:28:41 +0000 (19:28 +0000)]
another fix

13 years agofix test
Andrey Hristov [Wed, 14 Dec 2011 18:37:49 +0000 (18:37 +0000)]
fix test

13 years agofix test
Andrey Hristov [Wed, 14 Dec 2011 18:36:04 +0000 (18:36 +0000)]
fix test

13 years agofix typo
Andrey Hristov [Wed, 14 Dec 2011 17:59:11 +0000 (17:59 +0000)]
fix typo

13 years ago- add announce steps, s,cvs,svn, MFH
Pierre Joye [Wed, 14 Dec 2011 16:32:50 +0000 (16:32 +0000)]
- add announce steps, s,cvs,svn, MFH

13 years agofix test
Andrey Hristov [Wed, 14 Dec 2011 16:27:52 +0000 (16:27 +0000)]
fix test

13 years agoAdded max_input_vars directive to prevent attacks based on hash collisions
Dmitry Stogov [Wed, 14 Dec 2011 08:56:35 +0000 (08:56 +0000)]
Added max_input_vars directive to prevent attacks based on hash collisions

13 years ago- tmp dir is system depedent
Pierre Joye [Tue, 13 Dec 2011 23:18:12 +0000 (23:18 +0000)]
- tmp dir is system depedent

13 years ago- skip on win
Pierre Joye [Tue, 13 Dec 2011 23:04:01 +0000 (23:04 +0000)]
- skip on win

13 years ago - ignore notices here, not what we test (array to string conversion)
Pierre Joye [Tue, 13 Dec 2011 13:46:27 +0000 (13:46 +0000)]
 - ignore notices here, not what we test (array to string conversion)

13 years ago- use the test itself, making the test passes when ran outside the src tree
Pierre Joye [Mon, 12 Dec 2011 19:09:01 +0000 (19:09 +0000)]
- use the test itself, making the test passes when ran outside the src tree

13 years ago- copy run-test php
Pierre Joye [Mon, 12 Dec 2011 15:09:52 +0000 (15:09 +0000)]
- copy run-test php

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 14:03:24 +0000 (14:03 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 14:02:06 +0000 (14:02 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:56:42 +0000 (13:56 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:53:38 +0000 (13:53 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:49:21 +0000 (13:49 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:34:21 +0000 (13:34 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:31:43 +0000 (13:31 +0000)]
- skip on win

13 years agoThis test should no longer fail, and is perfectly okay for Linux to test on too.
Derick Rethans [Mon, 12 Dec 2011 12:57:46 +0000 (12:57 +0000)]
This test should no longer fail, and is perfectly okay for Linux to test on too.

13 years agobug fixed #48877 - bindValue and bindParam do not work for PDO Firebird
Popa Adrian Marius [Mon, 12 Dec 2011 06:33:43 +0000 (06:33 +0000)]
bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird

13 years ago- Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together
Gustavo André dos Santos Lopes [Sun, 11 Dec 2011 21:08:15 +0000 (21:08 +0000)]
- Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together
  with the last read.

13 years agobug fixed #48877 - bindValue and bindParam do not work for PDO Firebird
Popa Adrian Marius [Sat, 10 Dec 2011 22:04:23 +0000 (22:04 +0000)]
bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird

13 years ago- Fixed bug #60489 (Simple Typo In php.ini Files)
Felipe Pena [Fri, 9 Dec 2011 22:43:01 +0000 (22:43 +0000)]
- Fixed bug #60489 (Simple Typo In php.ini Files)
  patch by: danbrown at php.net

13 years agoadd $_SERVER["SERVER_NAME"] since it's handy
Xinchen Hui [Fri, 9 Dec 2011 16:16:31 +0000 (16:16 +0000)]
add $_SERVER["SERVER_NAME"] since it's handy

13 years agofix memory leak
Xinchen Hui [Fri, 9 Dec 2011 14:05:26 +0000 (14:05 +0000)]
fix memory leak

13 years agoAdded tests contributions on spl_autoload and stream_context_set_option()
Patrick Allaert [Fri, 9 Dec 2011 11:45:39 +0000 (11:45 +0000)]
Added tests contributions on spl_autoload and stream_context_set_option()

Thank you Jean-Marc Fontaine and Alter Way

13 years agotypo, sorry
Xinchen Hui [Fri, 9 Dec 2011 05:55:31 +0000 (05:55 +0000)]
typo, sorry

13 years agoFixed bug #60477 (Segfault after two multipart/form-data POST requests)
Xinchen Hui [Fri, 9 Dec 2011 05:37:41 +0000 (05:37 +0000)]
Fixed bug #60477 (Segfault after two multipart/form-data POST requests)

13 years agoFix skipif
Christopher Jones [Thu, 8 Dec 2011 20:43:23 +0000 (20:43 +0000)]
Fix skipif

13 years agoFix curl_copy_handle_basic_008.phpt when display_errors is On
Pierrick Charron [Thu, 8 Dec 2011 18:57:01 +0000 (18:57 +0000)]
Fix curl_copy_handle_basic_008.phpt when display_errors is On
(Thanks Chris Jones)

13 years agoUhh.. Can't believe noone noticed the gc option was missing from our ini files
Hannes Magnusson [Thu, 8 Dec 2011 14:57:02 +0000 (14:57 +0000)]
Uhh.. Can't believe noone noticed the gc option was missing from our ini files

13 years agoback to dev
Stanislav Malyshev [Thu, 8 Dec 2011 07:17:27 +0000 (07:17 +0000)]
back to dev

13 years ago5.4.0rc3
Stanislav Malyshev [Thu, 8 Dec 2011 07:15:44 +0000 (07:15 +0000)]
5.4.0rc3

13 years agoMake sure that we set the strong crypto result to false as well as returning false.
Scott MacVicar [Wed, 7 Dec 2011 20:50:33 +0000 (20:50 +0000)]
Make sure that we set the strong crypto result to false as well as returning false.

13 years agoTest cosmetics.
Derick Rethans [Wed, 7 Dec 2011 19:42:44 +0000 (19:42 +0000)]
Test cosmetics.

13 years agoSorting out the tests *once* more.
Derick Rethans [Wed, 7 Dec 2011 19:24:58 +0000 (19:24 +0000)]
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.

13 years agoFix test
Pierrick Charron [Wed, 7 Dec 2011 16:46:48 +0000 (16:46 +0000)]
Fix test

13 years agoAdd new test for CURLOPT_POSTFIELDS
Pierrick Charron [Wed, 7 Dec 2011 16:32:50 +0000 (16:32 +0000)]
Add new test for CURLOPT_POSTFIELDS

13 years ago- tests require 64bit integer
Pierre Joye [Wed, 7 Dec 2011 10:38:35 +0000 (10:38 +0000)]
- tests require 64bit integer

13 years agoImplemented FR #54514 (Get php binary path during script execution).
Xinchen Hui [Wed, 7 Dec 2011 10:33:13 +0000 (10:33 +0000)]
Implemented FR #54514 (Get php binary path during script execution).

13 years ago- print_r seems to display 0 or nothing for days, let make that test works in both...
Pierre Joye [Wed, 7 Dec 2011 09:03:07 +0000 (09:03 +0000)]
- 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

13 years ago- fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor...
Pierre Joye [Wed, 7 Dec 2011 08:39:43 +0000 (08:39 +0000)]
- fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor signature (fixes almost date_diff tests too)

13 years ago- rename to correct bug #
Pierre Joye [Wed, 7 Dec 2011 08:37:48 +0000 (08:37 +0000)]
- rename to correct bug #

13 years ago- set TZ
Pierre Joye [Wed, 7 Dec 2011 08:33:41 +0000 (08:33 +0000)]
- set TZ

13 years ago- force LF
Pierre Joye [Tue, 6 Dec 2011 13:42:08 +0000 (13:42 +0000)]
- force LF

13 years ago- add windows version of this test
Pierre Joye [Tue, 6 Dec 2011 13:35:41 +0000 (13:35 +0000)]
- add windows version of this test

13 years ago- add windows version of this test
Pierre Joye [Tue, 6 Dec 2011 13:34:45 +0000 (13:34 +0000)]
- add windows version of this test

13 years ago- force LF
Pierre Joye [Tue, 6 Dec 2011 13:16:40 +0000 (13:16 +0000)]
- force LF

13 years ago- force LF
Pierre Joye [Tue, 6 Dec 2011 13:07:08 +0000 (13:07 +0000)]
- force LF

13 years agoUse zbacktrace_ex instead of zbacktrace(actullay is dump_bt)
Xinchen Hui [Tue, 6 Dec 2011 12:32:59 +0000 (12:32 +0000)]
Use zbacktrace_ex instead of zbacktrace(actullay is dump_bt)
Use %p instead of "0x08x" (IMO this is used for print pointer, which, unfortunately, don't work under x64)
If there is any wrong, plz revert this, thanks

13 years ago- force LF as EOL as the code expects it.
Pierre Joye [Tue, 6 Dec 2011 11:58:05 +0000 (11:58 +0000)]
- force LF as EOL as the code expects it.
  however it sounds like a bug in the implementation
phar.c:720
if (4 != php_stream_read(fp, buffer, 4)) {
MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at manifest length)")
}

that code will fail if non LF eol are used. Or does phar supports only LF?

13 years agoAdd zbacktrace_ex to .gdbinit which will print extra argument info than zbacktrace
Xinchen Hui [Tue, 6 Dec 2011 09:56:01 +0000 (09:56 +0000)]
Add zbacktrace_ex to .gdbinit which will print extra argument info than zbacktrace
Implement FR #60448

13 years agoCoding standard
Pierrick Charron [Tue, 6 Dec 2011 06:44:22 +0000 (06:44 +0000)]
Coding standard

13 years ago- Fixed bug #53502 (strtotime with timezone memory leak).
Derick Rethans [Tue, 6 Dec 2011 06:21:08 +0000 (06:21 +0000)]
- Fixed bug #53502 (strtotime with timezone memory leak).
- Fixed bug #52062 (large timestamps with DateTime::getTimestamp and
  DateTime::setTimestamp).
- Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz'
  format).
- Fixed bug #51223 (Seg fault while creating (by unserialization)
  DatePeriod).

13 years ago- Added a test case for #53437.
Derick Rethans [Tue, 6 Dec 2011 06:07:41 +0000 (06:07 +0000)]
- Added a test case for #53437.

13 years ago- Fixed bug #52062: large timestamps with DateTime::getTimestamp and DateTime::setTim...
Derick Rethans [Tue, 6 Dec 2011 06:04:24 +0000 (06:04 +0000)]
- Fixed bug #52062: large timestamps with DateTime::getTimestamp and DateTime::setTimestamp.

13 years ago- Cosmetics for test case for #48678.
Derick Rethans [Tue, 6 Dec 2011 06:00:45 +0000 (06:00 +0000)]
- Cosmetics for test case for #48678.

13 years ago- Fixed test case for #54851.
Derick Rethans [Tue, 6 Dec 2011 05:59:24 +0000 (05:59 +0000)]
- Fixed test case for #54851.
- Make test case for #32555 the same for all branches.

13 years agoThis changes adds the --EXTENSION-- section to .phpt files as
Derick Rethans [Tue, 6 Dec 2011 05:44:54 +0000 (05:44 +0000)]
This changes adds the --EXTENSION-- section to .phpt files as
described in http://marc.info/?t=132248616300007&r=1&w=2.

13 years agoremove irrelevant codes in test
Xinchen Hui [Mon, 5 Dec 2011 12:46:38 +0000 (12:46 +0000)]
remove irrelevant codes in test

13 years agoAdd xfaild test for a secluded issue
Xinchen Hui [Mon, 5 Dec 2011 12:44:12 +0000 (12:44 +0000)]
Add xfaild test for a secluded issue

13 years agoFix typo
Xinchen Hui [Mon, 5 Dec 2011 12:33:56 +0000 (12:33 +0000)]
Fix typo

13 years agoFixed bug #60444 (Segmentation fault with include & class extending)
Dmitry Stogov [Mon, 5 Dec 2011 09:20:12 +0000 (09:20 +0000)]
Fixed bug #60444 (Segmentation fault with include & class extending)

13 years agoAdded myself as curl maintainer
Pierrick Charron [Sun, 4 Dec 2011 16:46:45 +0000 (16:46 +0000)]
Added myself as curl maintainer

13 years agoFixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
Ilia Alshanetsky [Sun, 4 Dec 2011 14:52:40 +0000 (14:52 +0000)]
Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
domain name addresses containing >1 -).

13 years agoFix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt...
Hannes Magnusson [Sun, 4 Dec 2011 12:34:19 +0000 (12:34 +0000)]
Fix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt return value

13 years agoFixed bug #60439curl_copy_handle segfault when used with CURLOPT_PROGRESSFUNCTION
Pierrick Charron [Sun, 4 Dec 2011 01:34:54 +0000 (01:34 +0000)]
Fixed bug #60439curl_copy_handle segfault when used with CURLOPT_PROGRESSFUNCTION

13 years agoExpose zend_signal_handler_unblock() to DSO extensions to allow usage of HANDLE_UNBLO...
Dmitry Stogov [Fri, 2 Dec 2011 12:14:16 +0000 (12:14 +0000)]
Expose zend_signal_handler_unblock() to DSO extensions to allow usage of HANDLE_UNBLOCK_INTERRUPTIONS macro