|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47674 curl_setopt segfault
Submitted: 2009-03-16 13:04 UTC Modified: 2009-03-16 13:11 UTC
From: phpbugs at rizzt dot kicks-ass dot org Assigned:
Status: Not a bug Package: cURL related
PHP Version: 5.2.9 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: phpbugs at rizzt dot kicks-ass dot org
New email:
PHP Version: OS:


 [2009-03-16 13:04 UTC] phpbugs at rizzt dot kicks-ass dot org
I was able to reproduce the crash described in

Reproduce code:
$var = 60;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $var);
echo "done\n";

Expected result:

Actual result:
Segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-16 13:11 UTC]
Resubmitting same bug twice still does not make it PHP bug.
It still does not crash for me with that script of yours.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 14 23:01:26 2020 UTC