On Mon, Aug 20, 2001 at 12:33:58PM -0700, Patrick Li wrote:
> I am trying to investigate some random failure of the SSL client program
> that I wrote in openssl. I ran it under PURIFY and it pointed out that my
> program has performed uninitialized memory leak in HASH_UPDATE function
> (details stated below) and in asn1_Finish() function.
I don't have PURIFY. I don't see random failures. And I cannot see
anything wrong with the sequence shown.
That of course does not mean anything, there may be something odd
that needs to be tracked down, but I doubt that anybody can help you
without more information. (It may also be a false alarm. I don't know.)
Can you at least supply a call trace, such that one can see, from which
functions the offending sequence is called? Please remember my first
statement: I don't have (and never met) PURIFY, so I don't know which
capabilities you can use.
> I did all the properly initialization, SSL_library_init(),
> SSL_load_error_strings() already. Is there any other initialization
> functions that I need to call? Since my SSL client program is
> multithreaded, I also defined the mutex locking and thread id function.
Doesn't look bad at the first glance...
Sorry, no better help,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]