[openssl.org #408] Segmentation Fault (openssl-0.9.7-beta6)

2003-01-29 Thread Stephen Henson via RT

[guest - Tue Jan 28 16:53:17 2003]:

> Just got
> openssl-0.9.7-stable-SNAP-20030127.tar.gz
> and tried again.
> Seems like problem is fixed :-)
> 

OK, ticket resolved.

Steve.

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #408] Segmentation Fault (openssl-0.9.7-beta6)

2003-01-28 Thread via RT

Just got
openssl-0.9.7-stable-SNAP-20030127.tar.gz
and tried again.
Seems like problem is fixed :-)

thanks a lot,
best regards,

   Claudius Thomas([EMAIL PROTECTED])



__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #408] Segmentation Fault (openssl-0.9.7-beta6)

2003-01-28 Thread Stephen Henson via RT

[guest - Tue Jan 28 14:07:57 2003]:

> Sorry, just noticed the problem has been discussed here already.
> I'm having exactly the same problem with 0.9.7/Win32 and
> i found several other notes about that on the web.
> Problem seems to be somwhere in
> 
> free(void * 0x5000) line 956 + 11 bytes
> CRYPTO_free(void * 0x5000) line 364 + 10 bytes
> ASN1_STRING_free(asn1_string_st * 0x) line 390 + 21 bytes
> 
> (see my own ticket 481 where i included complete info/stack trace)
> 

What about the 0.9.7a snapshots? The bug is present in 0.9.7 release.

A symptom of the original bug was that some subsequent call to free()
would crash, though which one varied depending on the systems malloc
behaviour.

Assuming you still get this with the 0.9.7a snapshot...

Your test command seems to include an external extension file, do you
still get the problem if you don't include the -extfile command line
switch. If not can you upload that file as well?

Steve.

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #408] Segmentation Fault (openssl-0.9.7-beta6)

2003-01-28 Thread via RT

Sorry, just noticed the problem has been discussed here already.
I'm having exactly the same problem with 0.9.7/Win32 and
i found several other notes about that on the web.
Problem seems to be somwhere in

free(void * 0x5000) line 956 + 11 bytes
CRYPTO_free(void * 0x5000) line 364 + 10 bytes
ASN1_STRING_free(asn1_string_st * 0x) line 390 + 21 bytes

(see my own ticket 481 where i included complete info/stack trace)

regards,

Claudius Thomas ([EMAIL PROTECTED])
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #408] Segmentation Fault (openssl-0.9.7-beta6)

2003-01-10 Thread Lutz Jaenicke via RT

[levitte - Fri Dec 20 09:28:56 2002]: 
 
> Looks to me like everything was successful, really, even index.txt is 
> up to date.  Do you have the possibility to debug and find out 
exactly 
> where the segfault happened? 
>  
> [[EMAIL PROTECTED] - Wed Dec 18 17:22:44 2002]: 
>  
> > While executing the following command, openssl gave a segmentation 
> > fault. I am 
> > using openssl-0.9.7-beta6. I am also attaching the index.txt, 
> > openssl.cnf, 
> > newcert.pem, and newreq.pem files. 
> > 
> > %> openssl ca -policy policy_anything -out newcert.pem -passin 
> > pass:whatever 
> > -key whatever -extensions xpclient_ext -extfile xpextensions 
> -infiles 
> > newreq.pem 
 
... 
 
Changes were made in ca.c with respect to PR#430 which also dealt 
with a segmentation fault. 
Can you reproduce the problem with 0.9.7 release? 
If you can reproduce it, does it still appear with the latest 0.9.7a 
development snapshot? 
 
Best regards, 
  Lutz 
 
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #408] Segmentation Fault (openssl-0.9.7-beta6)

2002-12-20 Thread Richard Levitte via RT

Looks to me like everything was successful, really, even index.txt is up to date.  Do 
you have the possibility to debug and find out exactly where the segfault happened?

[[EMAIL PROTECTED] - Wed Dec 18 17:22:44 2002]:

> While executing the following command, openssl gave a segmentation
> fault. I am
> using openssl-0.9.7-beta6. I am also attaching the index.txt,
> openssl.cnf,
> newcert.pem, and newreq.pem files.
> 
> %> openssl ca -policy policy_anything -out newcert.pem -passin
> pass:whatever
> -key whatever -extensions xpclient_ext -extfile xpextensions -infiles
> newreq.pem
> %> 
> %> Using configuration from /usr/local/ssl/openssl.cnf
> Check that the request matches the signature
> Signature ok
> Certificate Details:
> Serial Number: 3 (0x3)
> Validity
> Not Before: Dec 17 23:57:10 2002 GMT
> Not After : Dec 17 23:57:10 2003 GMT
> Subject:
> countryName   = AU
> stateOrProvinceName   = Some-State
> organizationName  = Internet Widgits Pty Ltd
> commonName= Client1
> X509v3 extensions:
> X509v3 Extended Key Usage:
> TLS Web Client Authentication
> Certificate is to be certified until Dec 17 23:57:10 2003 GMT (365
> days)
> Sign the certificate? [y/n]:y
> 
> 1 out of 1 certificate requests certified, commit? [y/n]y
> Write out database with 1 new entries
> Data Base Updated
> Segmentation fault
> 


-- 
Richard Levitte
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #408] Segmentation Fault (openssl-0.9.7-beta6)

2002-12-18 Thread Kenneth Cheung via RT

While executing the following command, openssl gave a segmentation fault. I am 
using openssl-0.9.7-beta6. I am also attaching the index.txt, openssl.cnf, 
newcert.pem, and newreq.pem files.

%> openssl ca -policy policy_anything -out newcert.pem -passin pass:whatever 
-key whatever -extensions xpclient_ext -extfile xpextensions -infiles 
newreq.pem
%> 
%> Using configuration from /usr/local/ssl/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 3 (0x3)
Validity
Not Before: Dec 17 23:57:10 2002 GMT
Not After : Dec 17 23:57:10 2003 GMT
Subject:
countryName   = AU
stateOrProvinceName   = Some-State
organizationName  = Internet Widgits Pty Ltd
commonName= Client1
X509v3 extensions:
X509v3 Extended Key Usage:
TLS Web Client Authentication
Certificate is to be certified until Dec 17 23:57:10 2003 GMT (365 days)
Sign the certificate? [y/n]:y

1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
Segmentation fault


-- 
Kenneth Cheung
UNP Wireless Team
University of British Columbia

Office: (604) 822-0253
Cell: (604) 307-9922

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]