|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-26 17:08 UTC] adrieder at sbox dot tugraz dot at
[2004-08-26 18:33 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 23:00:01 2025 UTC |
Description: ------------ openssl_pkcs7_encrypt() causes a reproducible segfault when running on Sparc/Solaris 9. it happens when it is invoced as apache (1.3.31) module and on the command line aswell. My system: Sparc/Solaris 9 gcc-3.2.1 apache-1.3.31 php-3.4.8 openssl-0.9.7d Reproduce code: --------------- <?php $cert = "<paste your public key here (PEM formated)>"; openssl_pkcs7_encrypt("/tmp/aaaa_test", "/tmp/aaaa_out", $cert, array('To' => 'test@example.net')); ?> Expected result: ---------------- /tmp/aaaa_out should contain encrypted data from /tmp/aaaa_test Actual result: -------------- segmentation fault core dumped.