ID:               29849
 User updated by:  adrieder at sbox dot tugraz dot at
 Reported By:      adrieder at sbox dot tugraz dot at
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Sparc/Solaris 9
 PHP Version:      4.3.8
 New Comment:

It seems to be related to openssl-0.9.7d under Solaris.
An update to the current stable openssl snapshot solves the problem.

Sorry and Thanks anyway!


Previous Comments:
------------------------------------------------------------------------

[2004-08-26 15:05:24] adrieder at sbox dot tugraz dot at

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' => '[EMAIL PROTECTED]'));
?>

Expected result:
----------------
/tmp/aaaa_out should contain encrypted data from /tmp/aaaa_test

Actual result:
--------------
segmentation fault core dumped.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29849&edit=1

Reply via email to