Bug #48203 [ReO->Asn]: crash when CURLOPT_STDERR is set to regular file
| From: | felipe@php.net | Date: | Sat, 11 Jun 2011 22:55:23 +0000 |
| Subject: | Bug #48203 [ReO->Asn]: crash when CURLOPT_STDERR is set to regular file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161323@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=48203&edit=1
ID: 48203
Updated by: felipe@php.net
Reported by: php-bug at paulsohier dot nl
Summary: crash when CURLOPT_STDERR is set to regular file
-Status: Re-Opened
+Status: Assigned
Type: Bug
Package: cURL related
Operating System: *
PHP Version: 5.*, 6CVS (2009-05-09)
-Assigned To: jani
+Assigned To: iliaa
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-06-09 09:31:15] shein@php.net
The following patch has been added/updated:
Patch Name: reset_to_default_with_multi.patch.txt
Revision: 1307604675
URL: http://bugs.php.net/patch-display.php?bug=48203&patch=reset_to_default_with_multi.patch.txt&revision=1307604675
------------------------------------------------------------------------
[2011-06-09 09:30:05] shein@php.net
Added patch for updated tests (tests were commited here
http://news.php.net/php.cvs/65161). See also
discussion here:
http://markmail.org/message/dfjgty27qfhj4ulf
------------------------------------------------------------------------
[2011-06-09 09:16:16] shein@php.net
Automatic comment from SVN on behalf of shein
Revision: http://svn.php.net/viewvc/?view=revision&revision=311959
Log: Updated (currently failing) test for bug48203 with curl_stderr and added also curl_multi_exec
variant of this test.
------------------------------------------------------------------------
[2009-05-26 17:16:53] jani@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2009-05-26 12:34:48] jani@php.net
This fixes all the test cases I could come up with:
http://pecl.php.net/~jani/patches/bug48203.patch
Even the quite insane ones too. It falls back to using STDERR which is the default anyway if the
file pointer is closed prematurely.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=48203
--
Edit this bug report at http://bugs.php.net/bug.php?id=48203&edit=1