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

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 is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Warning: curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %s/bug54798.php on line 24 002+ * About to connect() to localhost port 8964 (#0) 003+ * Trying 127.0.0.1... 004+ * Connected to localhost (127.0.0.1) port 8964 (#0) 005+ > GET / HTTP/1.1 006+ Host: localhost:8964 007+ Accept: */* 008+ 009+ < HTTP/1.1 200 OK 010+ < Host: localhost:8964 011+ < Date: Tue, 23 Nov 2021 00:57:09 GMT 012+ < Connection: close 013+ < X-Powered-By: PHP/7.4.26 014+ < Content-type: text/html; charset=UTF-8 015+ < 016+ * Closing connection 0 005- %AHello World! 006- Hello World!Ok for CURLOPT_FILE 019+ Warning: curl_exec(): CURLOPT_WRITEHEADER resource has gone away, resetting to default in %s/bug54798.php on line 24 022+ Warning: curl_exec(): CURLOPT_FILE resource has gone away, resetting to default in %s/bug54798.php on line 24 023+ Ok for CURLOPT_FILE 025+ Warning: curl_exec(): CURLOPT_INFILE resource has gone away, resetting to default in %s/bug54798.php on line 24