Got a crash running the following program using Crypt::SSLeay:

  use LWP::Simple ;
  print get "https://castor.e-lingo.com:4433" ;

I am running Windows 2000 (x86), ActiveState Perl 5.6.0,
Crypt::SSLeay 0.17 with openssl 0.9.5a.  SSLeay compiled using
Microsoft compiler 12.00.8168 (MSC 6.0) (no cygnus tools)

The problem occurs in the following code (from SSLeay.xs):

SV*
subject_name(cert)
...
           RETVAL = newSVpv(str, 0);
           free(str);  /* crash here */
...

SV*
issuer_name(cert)
...
           RETVAL = newSVpv(str, 0);
           free(str); /* crash here */
...

The problem goes away if the free(str) statements are commented out.
The problem does not occur under Unix (FreeBSD).

--chris

-- 
christopher hogan                           e: [EMAIL PROTECTED]
software engineer                           v: (650) 212-8556
e-lingo corporation                         f: (650) 212-8501
"translating the internet"                  i: http://www.e-lingo.com/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to