Bug #76416 [Opn->Fbk]: cURL request to SSL resource crashes with segmentation fault
| From: | rasmus@php.net | Date: | Tue, 05 Jun 2018 22:15:38 +0000 |
| Subject: | Bug #76416 [Opn->Fbk]: cURL request to SSL resource crashes with segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215503@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76416&edit=1
ID: 76416
Updated by: rasmus@php.net
Reported by: vojta at webow dot ski
Summary: cURL request to SSL resource crashes with
segmentation fault
-Status: Open
+Status: Feedback
Type: Bug
Package: OpenSSL related
Operating System: Alpine 3.7.0
PHP Version: 7.2.6
Block user comment: N
Private report: N
New Comment:
Works fine for me here with 7.2.6. What does the backtrace look like in that segfault?
Previous Comments:
------------------------------------------------------------------------
[2018-06-05 14:47:33] vojta at webow dot ski
Description:
------------
Custom PHP-FPM in docker, it works just fine with libressl
OpenSSL 1.0.2o
curl 7.60.0
'./configure' '--enable-fpm' '--with-fpm-user=www-data'
'--with-fpm-group=www-data' '--enable-cli' '--build=x86_64-linux-musl'
'--with-config-file-path=/usr/local/etc/php'
'--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--with-php-config'
'--with-mysqli' '--with-pdo-mysql' '--with-openssl'
'--with-gd' '--with-iconv' '--with-zlib' '--with-curl'
'--with-png-dir' '--with-jpeg-dir' '--with-freetype-dir'
'--with-xmlrpc' '--with-mhash' '--enable-xml'
'--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization'
'--enable-mbregex' '--enable-gd-native-ttf' '--enable-pcntl'
'--enable-sockets' '--enable-zip' '--enable-soap'
'--enable-session' '--enable-opcache' '--enable-bcmath'
'--enable-exif' '--enable-fileinfo' '--enable-ftp'
'--with-libedit' '--disable-cgi' '--disable-rpath'
'--enable-mbstring' '--enable-mysqlnd' '--with-pcre-regex=/usr'
'build_alias=x86_64-linux-musl'
Test script:
---------------
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.wordpress.org/plugins/info/1.1');
curl_exec($ch);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76416&edit=1