I'm building a C99 app on ubuntu 10.4 using openssl. Valgrind is
reporting hundreds of the errors below. I have read through the
manual/help and used the techniques described in the excellent article
http://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto.
99% of these are caused by a value created in RAND_load_file (I am
seperately investigating building openssl with -DPURIFY). I could get
rid of all these if I could tell Valgrind to ignore any value created by
RAND_load_file. Is there such a capability?
==00:00:00:17.356 30844== Conditional jump or move depends on
uninitialised value(s)
==00:00:00:17.356 30844== at 0x423F92B: SHA1_Final (in
/lib/i686/cmov/libcrypto.so.0.9.8)
==00:00:00:17.356 30844== by 0x42ABBB6: ??? (in
/lib/i686/cmov/libcrypto.so.0.9.8)
==00:00:00:17.356 30844== by 0x42A7614: EVP_DigestFinal_ex (in
/lib/i686/cmov/libcrypto.so.0.9.8)
==00:00:00:17.356 30844== by 0x4247F2F: HMAC_Final (in
/lib/i686/cmov/libcrypto.so.0.9.8)
==00:00:00:17.356 30844== by 0x41D3931: tls1_mac (in
/lib/i686/cmov/libssl.so.0.9.8)
==00:00:00:17.356 30844== by 0x41CD932: ssl3_read_bytes (in
/lib/i686/cmov/libssl.so.0.9.8)
==00:00:00:17.356 30844== by 0x41CEA15: ssl3_get_message (in
/lib/i686/cmov/libssl.so.0.9.8)
==00:00:00:17.356 30844== by 0x41CF00D: ssl3_get_finished (in
/lib/i686/cmov/libssl.so.0.9.8)
==00:00:00:17.356 30844== by 0x41C8FCD: ssl3_connect (in
/lib/i686/cmov/libssl.so.0.9.8)
==00:00:00:17.356 30844== by 0x41DE719: SSL_connect (in
/lib/i686/cmov/libssl.so.0.9.8)
==00:00:00:17.356 30844== by 0x418A6B0: ??? (in
/usr/lib/libcurl.so.4.1.1)
==00:00:00:17.356 30844== by 0x418BA02: ??? (in
/usr/lib/libcurl.so.4.1.1)
==00:00:00:17.356 30844== Uninitialised value was created by a stack
allocation
==00:00:00:17.356 30844== at 0x42A2956: RAND_load_file (in
/lib/i686/cmov/libcrypto.so.0.9.8)
thanks
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users