|  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
 [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: Thu Aug 13 06:01:27 2020 UTC