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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC