Scott Miller wrote:
> 
> Richard Levitte - VMS Whacker wrote:
> >
> > I recall something silly about free(NULL).  How about you try purify
> > on the following program:
> >
> > ----------------------
> > #include <stdio.h>
> > #include <stdlib.h>
> >
> > main()
> > {
> >         free(NULL);
> > }
> > ----------------------
> 
> The above program ran fine, while bntest still dies tragically.
> I remain mystified. (thanks though)
> 
> I should also have mentioned that I am seeing LOTS of
> 'Uninitialized memory reads', such as:
> 
>             SHA1_Update    [libcrypto.a]
>             ssleay_rand_bytes [md_rand.c]
>             bnrand         [bn_rand.c]
>             test_div_recp  [bntest.o]
>             main           [bntest.o]
>             _start         [crt1.o]
> 
> Could this be related?

Yes, but highly suspicious ... have you got threading flags (or some
other thing) out of sync between library build and application build?

_start is not likely to have that kind of fault, I'd've thought!

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to