> On Wed, 2010-07-07 at 21:28 +0200, Dr. Stephen Henson wrote:
> > On Wed, Jul 07, 2010, Brian Makin wrote:
> > 
> > > 
> > > The snapshots all seem to be failing in make test...
> > > Is this a known issue or might it be a problem on my end?
> > > 
> > > Testing key generation with NIST Binary-Curve K-571 .... ok
> > > Testing key generation with NIST Binary-Curve B-571 .... ok
> > > sh ./testenc
> > > cat
> > > ./testenc: line 10: 26677 Segmentation fault      (core dumped) $cmd enc
> > > < $test > $test.cipher
> > > ./testenc: line 11: 26684 Segmentation fault      (core dumped) $cmd enc
> > > < $test.cipher > $test.clear
> > > cmp: EOF on ./p.clear
> > > 
> > 
> > Just tested it under Linux and don't get any crashes. Does reverting that
> > change I made stop it crashing?
> > 
> > Steve.
> > --
> > Dr Stephen N. Henson. OpenSSL project core developer.
> > Commercial tech support now available see: http://www.openssl.org
> > ______________________________________________________________________
> > OpenSSL Project                                 http://www.openssl.org
> > User Support Mailing List                    openssl-users@openssl.org
> > Automated List Manager                           majord...@openssl.org
> 
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org

Ahh, got it.
in crypto/evp/evp_pbe.c:EvP_PBE_alg_add
pbe_tmp isn't initialized which means sometimes it has a bogus value.

119c119
<       EVP_PBE_CTL *pbe_tmp = NULL, pbelu;
---
>       EVP_PBE_CTL *pbe_tmp, pbelu;

Is that all that is needed or is this indicative of a lower level
problem? 

-- 
BRIAN MAKIN
Senior Software Engineer
ma...@vivisimo.com

Vivisimo [Search Done Rightâ„¢]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499
vivisimo.com

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to