From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely Date: Wed, 23 Oct 2013 13:25:23 -0400 Message-ID: <21096.1667.116936.254737@consult.pretender> References: <21089.32240.198931.971000@consult.pretender> <87fvrun1pw.fsf@flea.lifelogs.com> <21093.32992.278229.646703@consult.pretender> <877gd5mo5x.fsf@flea.lifelogs.com> <21094.39055.449629.706850@consult.pretender> <21094.40085.664080.69561@consult.pretender> <21094.52645.645440.977584@consult.pretender> <21094.64459.131668.849138@consult.pretender> <21095.19949.639350.970770@consult.pretender> <87y55kjayp.fsf_-_@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382549239 6851 80.91.229.3 (23 Oct 2013 17:27:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2013 17:27:19 +0000 (UTC) Cc: emacs@kosowsky.org, 15648@debbugs.gnu.org To: Ted Zlatanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 23 19:27:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZ2DK-0007SB-9F for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 19:27:22 +0200 Original-Received: from localhost ([::1]:50718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ2DJ-0001Jz-OA for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 13:27:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ2D9-0001Je-Tt for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 13:27:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ2D1-0001CH-6X for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 13:27:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ2D1-0001CA-22 for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 13:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZ2D0-00043v-9d for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 13:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2013 17:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 15648-submit@debbugs.gnu.org id=B15648.138254916715541 (code B ref 15648); Wed, 23 Oct 2013 17:27:02 +0000 Original-Received: (at 15648) by debbugs.gnu.org; 23 Oct 2013 17:26:07 +0000 Original-Received: from localhost ([127.0.0.1]:38268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZ2C7-00042a-86 for submit@debbugs.gnu.org; Wed, 23 Oct 2013 13:26:07 -0400 Original-Received: from vms173013pub.verizon.net ([206.46.173.13]:52479) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZ2C5-000426-1H for 15648@debbugs.gnu.org; Wed, 23 Oct 2013 13:26:05 -0400 Original-Received: from consult.pretender ([unknown] [72.93.211.25]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MV400E1ZTQC3QM1@vms173013.mailsrvcs.net> for 15648@debbugs.gnu.org; Wed, 23 Oct 2013 12:25:35 -0500 (CDT) Original-Received: from consult.pretender (consult.pretender [127.0.0.1]) by consult.pretender (8.14.4/8.14.4) with ESMTP id r9NHPNQ0026196; Wed, 23 Oct 2013 13:25:23 -0400 In-reply-to: <87y55kjayp.fsf_-_@flea.lifelogs.com> X-Mailer: VM 8.2.0b under 23.1.1 (i386-redhat-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79544 Archived-At: Ted Zlatanov wrote at about 10:52:46 -0400 on Wednesday, October 23, 2013: > Please put this on hold while we discuss it in the GnuTLS mailing list > and let's update it when (if) we find a solution there. It seems to be > outside the Emacs code right now. > > Ted As per my previous email, the following trivial patch will fix the Emacs code to make sure that valid paths are always passed... --- gnutls.el 2013-03-17 13:52:40.000000000 -0400 +++ gnutls.el.new 2013-10-23 12:47:36.503554500 -0400 @@ -174,7 +174,8 @@ (let* ((type (or type 'gnutls-x509pki)) (trustfiles (or trustfiles (delq nil - (mapcar (lambda (f) (and f (file-exists-p f) f)) + (mapcar (lambda (f) (and f (file-exists-p f) + (expand-file-name f))) (if (functionp gnutls-trustfiles) (funcall gnutls-trustfiles) gnutls-trustfiles)))))