Bug #76416 [NEW]: cURL request to SSL resource crashes with segmentation fault

From: Date: Tue, 05 Jun 2018 14:47:36 +0000
Subject: Bug #76416 [NEW]: cURL request to SSL resource crashes with segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215502@lists.php.net to get a copy of this message
From: vojta at webow dot ski Operating system: Alpine 3.7.0 PHP version: 7.2.6 Package: OpenSSL related Bug Type: Bug Bug description:cURL request to SSL resource crashes with segmentation fault 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 bug report at https://bugs.php.net/bug.php?id=76416&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76416&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76416&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76416&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76416&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76416&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76416&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76416&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76416&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76416&r=support Expected behavior: https://bugs.php.net/fix.php?id=76416&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76416&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76416&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76416&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76416&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76416&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76416&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76416&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76416&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76416&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76416&r=mysqlcfg

« previous php.bugs (#215502) next »