Comment 39 for bug 6867

Revision history for this message
In , Modestas Vainius (geromanas) wrote : Re: Bug#244827: libgcrypt7: more info

Tuesday 20 July 2004 14:44, Matthias Urlichs rašė:
> Yes -- still not terribly helpful however, we need to find out who
> releases the memory.
This is what I discovered with valgrind:

==12898== Thread 2:
==12898== Invalid read of size 4
==12898== at 0x3C217C4B: _gnutls_get_dh_params (gnutls_dh_primes.c:37)
==12898== by 0x3C217B8E: proc_dhe_client_kx (auth_dhe.c:268)
==12898== by 0x3C203C36: _gnutls_recv_client_kx_message (gnutls_kx.c:329)
==12898== by 0x3C2001C2: _gnutls_handshake_server (gnutls_handshake.c:2241)
==12898== by 0x3C1FECA8: gnutls_handshake (gnutls_handshake.c:1892)
==12898== by 0x3C0619A6: SSL_do_handshake (gnutls.c:627)
==12898== by 0x3C061ACC: gnutls_SSL_accept (gnutls.c:670)
==12898== by 0x3C05F393: ldap_pvt_tls_accept (tls.c:928)
==12898== by 0x8058FEF: connection_read (in /mnt/user/usr/sbin/slapd)
==12898== by 0x80564AA: (within /mnt/user/usr/sbin/slapd)
==12898== Address 0x3C510FE0 is 0 bytes inside a block of size 8 free'd
==12898== at 0x3C01F918: free (vg_replace_malloc.c:127)
==12898== by 0x3C2182C9: gnutls_dh_params_deinit (gnutls_dh_primes.c:229)
==12898== by 0x3C061AA2: SSL_do_handshake (gnutls.c:662)
==12898== by 0x3C061ACC: gnutls_SSL_accept (gnutls.c:670)
==12898== by 0x3C05F393: ldap_pvt_tls_accept (tls.c:928)
==12898== by 0x8058FEF: connection_read (in /mnt/user/usr/sbin/slapd)
==12898== by 0x80564AA: (within /mnt/user/usr/sbin/slapd)
==12898== by 0x3C34B110: thread_wrapper (vg_libpthread.c:837)
==12898== by 0xB800FACC: do__quit (vg_scheduler.c:1792)