Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Windows crash in openssl call to i2d_X509().

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Windows: Apache + NOD32 = Crash... - I know that the issue between Apache and NOD32 has been before, with a suggested fix of with defined. But as of version 1.695 of NOD32 the problem is still very much evident. Has anyone out there..

Apache +OpenSSL - Hi Group, I'm having a problem with Apache 2.0.45 on Win32. I'm trying to install a chained SSL but on Apache, I get the error to configure verify locations for client The was purchased from..

apache 2 + ssl + openssl 0.9.7c solution! - after a while of search post after post, and site after site, i think i finally put together something here that works.. i hope it helps anyone out there... 1. Install OpenSSL the normal way: ../config make make install 2. configure openssl to be shared

Apache2 OpenSSL config problem - I'm trying to configure the lates version of Apache on my server with these --ena ble-ssl And i get this error: checking for SSL/TLS toolkit base.....

Apache/2..48 (Win32) DAV/2 PHP/4.3.4 mod_ssl/2.0.48 OpenSS.. - Hi all of you experts out there. Before I even ask, thank you for any and all help. I have 2 problems. 1 is the vhosts, can get it to work going by the DOCs and 2 is the SSL same thing again. I am not an expert in any way so, I don't even know what you.
Next:  Apache: mod_rewrite rules in .htaccess  
Author Message
user2945

External


Since: Aug 25, 2004
Posts: 1



(Msg. 1) Posted: Wed Aug 25, 2004 9:58 am
Post subject: Windows crash in openssl call to i2d_X509().
Archived from groups: mailing>openssl>cvs, others (more info?)

Hi,

I am using Openssl_0.9.7d with Apache 2 mod-ssl on windows. Windows
crashed in the call for i2d_X509(). Following is the code snippet in
authentication plugin for Apache 2 :

X509 *xs = NULL;
unsigned char *bytes, *p;
..
..
..
xs = sslconn->client_cert;
if (xs)
{
  //Debugging shows the structure of xs is fine.
  len=i2d_X509(xs, NULL);
  // The value is len comes out to be around 5MB (figure is aroung
5xxxxxx).
  if((bytes = (unsigned char *)malloc (len)) != NULL)
  {
   p=bytes;
   //Debugging shows the structure of xs is fine till this point.
   i2d_X509(xs, &p); //Windows crashed at this call.
  }
..
..
..
}

While debugging we found that the statement len=i2d_X509(xs, NULL);
returned value of len to be around 5MB. Then the second call to
i2d_X509(xs, &p); crashed windows.

On site <a style='text-decoration: underline;' href="http://www.openssl.org/news/," target="_blank">http://www.openssl.org/news/,</a> The OpenSSL Security Advisory [4
November 2003] for "Denial of Service in ASN.1 parsing" mentions about
openssl error in parsing.

The Recommendations section says use 0.9.7c. I tried this but still
windows crashed.

The site mentions "Patches for this issue have been created by Dr
Stephen Henson (steve@openssl.org) of the OpenSSL core team.". How can
I get this patch.

Can anyone please help me in this regard.

thanks and regards,
Sharad.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Windows crash in openssl call to i2d_X509(). 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]