OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Lutz
Jaenicke
Root: /v/openssl/cvs Email:
jaenicke openssl.org
Module: openssl Date:
20-Sep-2007 09:39:16
Branch: OpenSSL_0_9_8-stable Handle:
2007092008391500
Modified files: (Branch: OpenSSL_0_9_8-stable)
openssl FAQ
Log:
Add FAQ entry on how to get rid of Valgrind warnings.
PR: 521
Summary:
Revision Changes Path
1.100.2.15 +15 -0 openssl/FAQ
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/FAQ
============================================================
================
$ cvs diff -u -r1.100.2.14 -r1.100.2.15 FAQ
--- openssl/FAQ 23 Feb 2007 12:12:27 -0000 1.100.2.14
+++ openssl/FAQ 20 Sep 2007 07:39:15 -0000 1.100.2.15
 -66,6 +66,7 
* Why doesn't my server application receive a client
certificate?
* Why does compilation fail due to an undefined symbol
NID_uniqueIdentifier?
* I think I've detected a memory leak, is this a bug?
+* Why does Valgrind complain about the use of
uninitialized data?
============================================================
===================
 -894,5 +895,19 
ERR_free_strings(), EVP_cleanup() and
CRYPTO_cleanup_all_ex_data().
+* Why does Valgrind complain about the use of
uninitialized data?
+
+OpenSSL does internally call its own PRNG routines to
retrieve random
+numbers. It so does with uninitialed buffer contents. The
buffer
+contents is mixed into the entropy pool so that it
technically does
+not matter whether the buffer is initialized at this
point or not.
+Valgrind (and other test tools) will complain whatsoever.
When
+using Valgrind, make sure to use an OpenSSL library that
has been
+compiled with the PEDANTIC macro being defined
(-DPEDANTIC) to
+get rid of these warnings. Compling with -DPURIFY will
help as well.
+
+The PEDANTIC macro was added in OpenSSL 0.9.8f.
+
+
============================================================
===================
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|