Handshake fails with Internal error in memory allocation

Simon Josefsson simon at josefsson.org
Tue Apr 29 00:05:04 CEST 2008


This error has come up lately, see:

http://bugs.debian.org/466477
http://bugs.debian.org/478191

The cause seems clear, the server sends a huge list of CA certs and
GnuTLS runs into some fixed size buffer or something.  This reproduces
it:

gnutls-cli -p 25 -s mail3.mclemente.net
ehlo foo
starttls
^D

Nikos, do you have any idea?  I could look at it, but have little time
right now.

/Simon





More information about the Gnutls-devel mailing list