From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: libnettle/libhogweed WIP Date: Thu, 27 Jul 2017 05:34:07 +0300 Message-ID: <831sp2621s.fsf@gnu.org> References: <87r30nq9el.fsf@lifelogs.com> <83inlyc1k2.fsf@gnu.org> <87inlyrfni.fsf@lifelogs.com> <837f2eb845.fsf@gnu.org> <87ziedpyy1.fsf@lifelogs.com> <83d1b75u8a.fsf@gnu.org> <87r2znntaq.fsf@lifelogs.com> <87o9u8q4a5.fsf@lifelogs.com> <83tw3xbklg.fsf@gnu.org> <87zictm415.fsf@lifelogs.com> <83podoqchd.fsf@gnu.org> <87podnnbi2.fsf@lifelogs.com> <8760ewi3rw.fsf@lifelogs.com> <87r2xjgilq.fsf@lifelogs.com> <83iniug7ql.fsf@gnu.org> <87fudyhkhy.fsf@lifelogs.com> <8360euf4d3.fsf@gnu.org> <87r2xhfsre.fsf@lifelogs.com> <83o9slecp0.fsf@gnu.org> <83zibw96r9.fsf@gnu.org> <84297b99-4d46-0c4d-5c31-51678f8d738a@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1501122880 3151 195.159.176.226 (27 Jul 2017 02:34:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2017 02:34:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 27 04:34:34 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daYd9-0000Cf-Pf for ged-emacs-devel@m.gmane.org; Thu, 27 Jul 2017 04:34:27 +0200 Original-Received: from localhost ([::1]:40810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daYdF-0001D4-Em for ged-emacs-devel@m.gmane.org; Wed, 26 Jul 2017 22:34:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daYd7-0001C4-6F for emacs-devel@gnu.org; Wed, 26 Jul 2017 22:34:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daYd3-0002D3-76 for emacs-devel@gnu.org; Wed, 26 Jul 2017 22:34:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daYd3-0002Cp-3P; Wed, 26 Jul 2017 22:34:21 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2009 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1daYd2-0006Rj-E4; Wed, 26 Jul 2017 22:34:20 -0400 In-reply-to: <84297b99-4d46-0c4d-5c31-51678f8d738a@cs.ucla.edu> (message from Paul Eggert on Wed, 26 Jul 2017 17:19:10 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217063 Archived-At: > From: Paul Eggert > Date: Wed, 26 Jul 2017 17:19:10 -0700 > > Ted Zlatanov wrote: > > Can you give me a recipe to reproduce the problem with your distribution > > and packages? > > I can reliably reproduce what appears to be this problem (or one closely related > to it) on Ubuntu 16.04.2 LTS x86-64 when running Emacs master. My guess is that > GnuTLS silently changed the semantics of the affected C functions. The > problematic version of Ubuntu has GnuTLS 3.4.10. I do not observe a problem on > Fedora 26, which has GnuTLS 3.5.14. If my guess is right, a simple workaround > would be to not use the affected functions unless running GnuTLS 3.5.14 or later. It would be a pity to give up these functions if we can make the code work with some conditional code. Can you tell what change in semantics could explain this failure? Thanks.