[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to
From: |
Ted Zlatanov |
Subject: |
bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely |
Date: |
Mon, 04 Nov 2013 13:05:40 -0500 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
On Mon, 04 Nov 2013 19:06:48 +0200 Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Ted Zlatanov <tzz@lifelogs.com>
>> Cc: emacs@kosowsky.org, 15648@debbugs.gnu.org
>> Date: Mon, 04 Nov 2013 11:44:41 -0500
>>
EZ> If so, perhaps the problem is that we leave the process object
EZ> marked as a GnuTLS process, but with a NULL state? Should we remove
EZ> the mark, or maybe delete the process object in gnutls-negotiate?
>> >>
>> >> I would abort with a message like any other error.
>>
EZ> Maybe you should install a change that does that, and see if it solves
EZ> the problem.
>>
>> You mean like this?
EZ> Something like that, yes.
>> Should I have a special check for "gnutls_p is set but gnutls_state
>> is NULL"?
EZ> That's what this patch does, doesn't it? Or did I misunderstand you?
The process.c change checks that "gnutls_p is set and gnutls_state
is not NULL" but wouldn't make a note of the case where gnutls_state got
set to NULL somehow. I meant to have a special check for that case and
maybe issue a message... but it seems a bit like overkill.
>> You're absolutely right. Can you check if this patch is good? It looks
>> OK to me.
EZ> It compiles fine. But since I cannot reproduce the original problem,
EZ> I'd ask the OP to please see if this fixes that problem.
Right, I needed your review to ensure I was not missing something :)
OP, can you please try my patch?
Ted
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, (continued)
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Eli Zaretskii, 2013/11/11
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, emacs, 2013/11/11
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Eli Zaretskii, 2013/11/11
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, emacs, 2013/11/12
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Eli Zaretskii, 2013/11/12
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Drew Adams, 2013/11/12
bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Stefan Monnier, 2013/11/04
bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Eli Zaretskii, 2013/11/03
bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Ted Zlatanov, 2013/11/04
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Eli Zaretskii, 2013/11/04
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely,
Ted Zlatanov <=
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, emacs, 2013/11/04
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Ted Zlatanov, 2013/11/04
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, emacs, 2013/11/05
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Alp Aker, 2013/11/05
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, emacs, 2013/11/05
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Ted Zlatanov, 2013/11/11
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, emacs, 2013/11/11
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Eli Zaretskii, 2013/11/11
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, emacs, 2013/11/11
- bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely, Eli Zaretskii, 2013/11/11