[Dovecot] imap-login: memory corruption

Timo Sirainen tss at iki.fi
Wed Jan 14 22:31:11 EET 2009


On Wed, 2009-01-14 at 21:26 +0100, Ralf Hildebrandt wrote:
> I get:
..
> ==9769== Conditional jump or move depends on uninitialised value(s)
> ==9769==    at 0x40F09F7: BN_mod_inverse (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x40F48E0: BN_MONT_CTX_set (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x40E93C1: BN_mod_exp_mont (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x40E9BBF: BN_mod_exp (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x40EFA3F: BN_BLINDING_create_param (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x410BD55: RSA_setup_blinding (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x4109A0C: (within /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x4109F94: (within /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x410B91D: RSA_private_decrypt (in /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==9769==    by 0x40447F3: ssl3_get_client_key_exchange (in /usr/lib/i686/cmov/libssl.so.0.9.8)
> ==9769==    by 0x4047244: ssl3_accept (in /usr/lib/i686/cmov/libssl.so.0.9.8)
> ==9769==    by 0x405FCB9: SSL_accept (in /usr/lib/i686/cmov/libssl.so.0.9.8)

Oh, right, libcrypto stuff isn't very valgrind-friendly. I think it's
possible to disable these with:

       --suppressions=<filename> [default: $PREFIX/lib/valgrind/default.supp]
              Specifies an extra file from which to read descriptions of
              errors to suppress. You may use up to 100 extra suppression
              files.

But I don't know how to generate those suppressions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090114/781426bf/attachment-0001.bin 


More information about the dovecot mailing list