php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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
Description:
------------
I was able to reproduce the crash described in http://bugs.php.net/?
id=47616

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



Expected result:
----------------
done

Actual result:
--------------
Segmentation fault





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-16 13:11 UTC] jani@php.net
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: Wed Apr 01 00:01:22 2020 UTC