Bug #77746 [Fbk->NoF]: curl_setopt crashes PHP when passing object instead of array as third argument.
| From: | php-bugs at lists dot php dot net | Date: | Sun, 24 Mar 2019 04:22:05 +0000 |
| Subject: | Bug #77746 [Fbk->NoF]: curl_setopt crashes PHP when passing object instead of array as third argument. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-220159@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77746&edit=1
ID: 77746
Updated by: php-bugs@lists.php.net
Reported by: pixel at hugbox dot org
Summary: curl_setopt crashes PHP when passing object instead of
array as third argument.
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Unknown/Other Function
Operating System: Linux
PHP Version: 7.3.3
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2019-03-15 11:52:38] danack@php.net
Please can you provide a complete example that shows this. I can't reproduce with:
$curlobj = curl_init();
class Foo {}
curl_setopt ($curlobj, CURLOPT_HTTPHEADER, new Foo());
echo "fin";
Also, please could you provide a backtrace if possible: https://bugs.php.net/bugs-generating-backtrace.php
------------------------------------------------------------------------
[2019-03-15 11:38:34] pixel at hugbox dot org
Description:
------------
curl_setopt ($curlobj, CURLOPT_HTTPHEADER, new WhatEverObjInsteadOfArray());
causes a segmentation fault in all versions since PHP-5.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77746&edit=1