[Bug 217138] New: Wrong library initialization causes errors

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 24 09:34:54 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217138

           Summary: Wrong library initialization causes errors
           Product: Fedora Core
           Version: fc6
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: urgent
          Priority: normal
         Component: perl-Crypt-SSLeay
        AssignedTo: rnorwood at redhat.com
        ReportedBy: despairr at gmail.com
                CC: fedora-perl-devel-list at redhat.com


Description of problem:
Usage of Crypt::SSLeay, for example when making https requests via LWP using
client certificates - causes errors. At least on AMD x86_64 architecture.

Version-Release number of selected component (if applicable):
Crypt-SSLeay-0.51

How reproducible:

Make HTTPS request via LWP using client certificate
(use $ENV{HTTPS_CERT_FILE} and $ENV{HTTPS_KEY_FILE})
with Crypt::SSLeay module installed.
For example, request to https://w3s.webmoney.ru/asp/XMLOperationsCert.asp.
  
Actual results:

You will get a segfault on x86_64 architecture.

Expected results:

Successful request.

Additional info:

In perl-Crypt-SSLeay-0.51-9.2.2.1.src.rpm there is a patch file
perl-Crypt-SSLeay-openssl-098.patch for Crypt-SSLeay-0.51.
This patch file should be modified: you should place SSL_library_init() call
INSTEAD of SSLeay_add_all_algorithms(). Not after it.

Links to discussions about the problem:

http://www.nntp.perl.org/group/perl.libwww/6722
http://www.mail-archive.com/libwww@perl.org/msg06114.html
http://rt.cpan.org/Public/Bug/Display.html?id=16735

------- Additional Comments From despairr at gmail.com  2006-11-24 04:34 EST -------
Created an attachment (id=142052)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=142052&action=view)
Fixed patch that makes things working


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the perl-devel mailing list