GNU bug report logs - #24811
Waiting to answer s at untrusted cert dialog causes crash

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Fri, 28 Oct 2016 01:18:01 UTC

Severity: normal

Tags: fixed

Found in version 26.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mark Oteiza <mvoteiza <at> udel.edu>
Cc: 24811 <at> debbugs.gnu.org
Subject: bug#24811: 26.0.50; backtrace
Date: Tue, 01 Nov 2016 19:54:16 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm unable to reproduce this problem.  Can you test the following patch
> and see whether it fixes the bug?

I mean:

diff --git a/src/process.c b/src/process.c
index 8cf045c..d7a122f 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3082,6 +3082,12 @@ finish_after_tls_connection (Lisp_Object proc)
   Lisp_Object contact = p->childp;
   Lisp_Object result = Qt;
 
+  if (p->outfd < 0) {
+    pset_status (p, Qfailed);
+    deactivate_process (proc);
+    return;
+  }
+
   if (!NILP (Ffboundp (Qnsm_verify_connection)))
     result = call3 (Qnsm_verify_connection,
 		    proc,


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 8 years and 202 days ago.

Previous Next


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