Bug #70330 [Opn->Csd]: Segmentation Fault with multiple "curl_copy_handle"
| From: | laruence@php.net | Date: | Sun, 23 Aug 2015 05:08:36 +0000 |
| Subject: | Bug #70330 [Opn->Csd]: Segmentation Fault with multiple "curl_copy_handle" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195433@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70330&edit=1
ID: 70330
Updated by: laruence@php.net
Reported by: r dot deloge at uni-alteri dot com
Summary: Segmentation Fault with multiple "curl_copy_handle"
-Status: Open
+Status: Closed
Type: Bug
Package: cURL related
Operating System: Linus
PHP Version: 7.0.0RC1
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4df6f2644252de00d70577c00a120ff674fee029
Log: Fixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle")
Previous Comments:
------------------------------------------------------------------------
[2015-08-23 00:50:28] r dot deloge at uni-alteri dot com
Description:
------------
Hi,
There are a bug with PHP 7 (it works with PHP5.4 to 5.6) when there are several calls to the method
curl_copy_handle() with several cURL handles.
Test script:
---------------
<?php
//Cause a segmentation fault or a zend_mm_heap corrupted error
$t2 = curl_init();
$t3 = curl_copy_handle($t2);
$t3 = curl_copy_handle($t2);
$t4 = curl_init();
$t3 = curl_copy_handle($t4);
$t5 = curl_init();
$t6 = curl_copy_handle($t5);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70330&edit=1