#23297 [NEW]: segfault with CURLOPT_UPLOAD
| From: | greg at mtechsolutions dot ca | Date: | Mon, 21 Apr 2003 15:50:39 +0000 |
| Subject: | #23297 [NEW]: segfault with CURLOPT_UPLOAD | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37990@lists.php.net to get a copy of this message | ||
From: greg at mtechsolutions dot ca
Operating system: linux redhat 8.0
PHP version: 4.3.1
PHP Bug Type: cURL related
Bug description: segfault with CURLOPT_UPLOAD
As soon as I try to use curl_setopt with CURLOPT_UPLOAD, I get a segfault,
using php-cli 4.3.1.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://domain/upload");
curl_setopt($ch, CURLOPT_UPLOAD, 1);
$results = curl_exec($ch);
curl_close($ch);
This is similar to bug 22681, but it happens without anything to do with
fopen() as described in that bug.
--
Edit bug report at http://bugs.php.net/?id=23297&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23297&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23297&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23297&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23297&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23297&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23297&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23297&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23297&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23297&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23297&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23297&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23297&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23297&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23297&r=gnused