GNU bug report logs - #10904
24.0.93; Infinite loop in GnuTLS code during Gnus nnimap-initiated SSL handshake

Previous Next

Package: emacs;

Reported by: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>

Date: Mon, 27 Feb 2012 23:57:02 UTC

Severity: normal

Found in version 24.0.93

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 10904 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: Ted Zlatanov <tzz <at> lifelogs.com>, 10904 <at> debbugs.gnu.org
Subject: Re: bug#10904: 24.0.93;
	Infinite loop in GnuTLS code during Gnus nnimap-initiated SSL
	handshake
Date: Sat, 24 Mar 2012 18:04:33 -0400
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> Thomas Fitzsimmons <fitzsim <at> fitzsim.org> writes:
>
>> 1) GnuTLS fails to handshake with a server that uses the DES-CBC3-SHA
>>    cipher, whereas OpenSSL succeeds
>
> This seems like an internal GnuTLS bug, I think?  Could you report it to
> gnutls-devel <at> gnu.org?

Done.  I sent a bug report to bug-gnutls <at> gnu.org.

>> 2) If gnutls.el fails to handshake with a server then Emacs enters an
>>    infinite loop retrying the handshake
>
> That sounds like a bug on our part.  Do you know whether there's any way
> to reproduce this bug without having access to a server that has the
> particular problems you've encountered?  For instance, a setting that
> makes gnutls try the wrong ciphers or something.  Then I could try to
> reproduce and chase down the infloop bug on the Emacs side.

Yes, this replicates it on my setup:

$ gnutls-serv --http

$ emacs -Q

Eval:

(setq gnutls-log-level 5
      message-log-max t
      gnus-directory "~/.emacs.d/gnus/News/"
      gnus-startup-file "~/.emacs.d/gnus/.newsrc"
      gnus-secondary-select-methods
      (quote ((nnimap "localhost"
                      (nnimap-server-address "localhost")
                      (nnimap-server-port 5556)
                      (nnimap-user "fitzsim")))))

M-x gnus

Thomas




This bug report was last modified 7 years and 40 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.