Description of problem: openssl crashes on a corrupt pkcs12 file. Version-Release number of selected component (if applicable): arch [swig-1.3.31]$ rpm -q openssl openssl-0.9.7a-43.14 How reproducible: always Steps to Reproduce: 1. download the attachment "crash.pkcs12" 2. run "openssl pkcs12 -in crash.pkcs12" 3. when prompted for password, specify anything Actual results: see "Segmentation fault" Expected results: Additional info:
Created attachment 157503 [details] this file will crash "openssl pkcs12 -in"
openssl 0.9.7h is the earliest that doesn not crash with this bug.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Created attachment 162011 [details] another crash file another pkcs12 file that crashes 'openssl pkcs12 -in'
Created attachment 162012 [details] another crash file another pkcs12 file that crashes 'openssl pkcs12 -in'
Created attachment 162013 [details] another crash file another pkcs12 file that crashes 'openssl pkcs12 -in'
my app links with openssl lib and will crash when trying to import these files.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2007-1003.html