Test: /ext/curl/tests/bug54798.phpt - Version 7.3.1        

Bug #54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec
Submitted: 2011-05-17 16:25:32 Modified: 2011-09-12 09:19:17
From: shein Assigned: bjori
Status: Closed Package: cURL related
PHP Version: trunk-SVN-2011-05-17 (SVN) OS: Ubuntu Linux 11.04 x86

There are 2 different diffs reported by users for this test.

Count Diff
197 (99%)
002+ Ok for CURLOPT_STDERR
003+
004+ Warning: curl_exec(): CURLOPT_WRITEHEADER resource has gone away, resetting to default in %s/bug54798.php on line 24
005+ Ok for CURLOPT_WRITEHEADER
006+
007+ Warning: curl_exec(): CURLOPT_FILE resource has gone away, resetting to default in %s/bug54798.php on line 24
008+ Hello World!
002- %aOk for CURLOPT_STDERR
003- %aOk for CURLOPT_WRITEHEADER
005- %aOk for CURLOPT_INFILE
010+
011+ Warning: curl_exec(): CURLOPT_INFILE resource has gone away, resetting to default in %s/bug54798.php on line 24
012+ Ok for CURLOPT_INFILE
1 (1%)
002- %aOk for CURLOPT_STDERR
003- %aOk for CURLOPT_WRITEHEADER
004- %aOk for CURLOPT_FILE
005- %aOk for CURLOPT_INFILE
006- ===DONE===