[Pkg-openssl-devel] Bug#532059: libssl0.9.8: valgrind reports: Conditional jump or move depends on uninitialised value(s)
Russell Coker
russell at coker.com.au
Sun Jun 14 05:39:11 UTC 2009
On Sat, 6 Jun 2009, Kurt Roeckx <kurt at roeckx.be> wrote:
> > Here are some valgrind warnings. It would be good if these could be
> > fixed even if they happen to be harmless so that they don't get in the
> > way of debugging applications that use libdkim and libssl.
I have attached the source to a dkim test program which triggers the valgrind
error reports. Run it with a single command-line parameter such as the
following:
valgrind ./a.out test-msg.mbox
It will give the following errors:
==12454== Conditional jump or move depends on uninitialised value(s)
==12454== at 0x4348A37: BN_mod_inverse
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x434C920: BN_MONT_CTX_set
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x434CC67: BN_MONT_CTX_set_locked
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x43629DA: (within /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x436398D: RSA_public_decrypt
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x43647DC: RSA_verify
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x438C3C6: EVP_VerifyFinal
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x4037AC8: (within /usr/lib/libdkim.so.0d.1)
==12454== by 0x402F01D: DKIMVerifyResults (in /usr/lib/libdkim.so.0d.1)
==12454== by 0x8048B38: dkim_verify(char const*, int, unsigned char**,
char***) (dkim-test.cpp:170)
==12454== by 0x8049201: main (dkim-test.cpp:270)
==12454==
==12454== Conditional jump or move depends on uninitialised value(s)
==12454== at 0x433F491: BN_div (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x4345571: BN_nnmod (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x434934A: BN_mod_inverse
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x434C920: BN_MONT_CTX_set
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x434CC67: BN_MONT_CTX_set_locked
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x43629DA: (within /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x436398D: RSA_public_decrypt
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x43647DC: RSA_verify
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x438C3C6: EVP_VerifyFinal
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x4037AC8: (within /usr/lib/libdkim.so.0d.1)
==12454== by 0x402F01D: DKIMVerifyResults (in /usr/lib/libdkim.so.0d.1)
==12454== by 0x8048B38: dkim_verify(char const*, int, unsigned char**,
char***) (dkim-test.cpp:170)
==12454==
==12454== Conditional jump or move depends on uninitialised value(s)
==12454== at 0x433F491: BN_div (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x434C982: BN_MONT_CTX_set
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x434CC67: BN_MONT_CTX_set_locked
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x43629DA: (within /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x436398D: RSA_public_decrypt
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x43647DC: RSA_verify
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x438C3C6: EVP_VerifyFinal
(in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
==12454== by 0x4037AC8: (within /usr/lib/libdkim.so.0d.1)
==12454== by 0x402F01D: DKIMVerifyResults (in /usr/lib/libdkim.so.0d.1)
==12454== by 0x8048B38: dkim_verify(char const*, int, unsigned char**,
char***) (dkim-test.cpp:170)
==12454== by 0x8049201: main (dkim-test.cpp:270)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dkim-valgrind.tgz
Type: application/x-tgz
Size: 2895 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-openssl-devel/attachments/20090614/1002f604/attachment-0001.bin>
More information about the Pkg-openssl-devel
mailing list