#21581 [NEW]: CURL_EXEC CRASH WITH CURLOPT_FILE
| From: | patrick dot audemard at free dot fr | Date: | Sat, 11 Jan 2003 14:15:54 +0000 |
| Subject: | #21581 [NEW]: CURL_EXEC CRASH WITH CURLOPT_FILE | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-29765@lists.php.net to get a copy of this message | ||
From: patrick.audemard@free.fr
Operating system: WINDOWS 2000
PHP version: 4.3.0
PHP Bug Type: Reproducible crash
Bug description: CURL_EXEC CRASH WITH CURLOPT_FILE
PHP 4.3.0 crash (php.exe or WEB server) when you use the example code in
PHP Manual. This bug was reported in version 4.2.3 (ID : 19301 ).
$ch = curl_init ("http://www.ebay.com");
$fp = fopen ("output/result.txt", "w");
curl_setopt ($ch, CURLOPT_FILE, $fp);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
curl_close ($ch);
fclose ($fp);
It's very easy to reproduce.
--
Edit bug report at http://bugs.php.net/?id=21581&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21581&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21581&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21581&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21581&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21581&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21581&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21581&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21581&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21581&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21581&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21581&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21581&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21581&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21581&r=gnused