From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master e87e6a2: Fix unlikely races with GnuTLS, datagrams Date: Wed, 13 Feb 2019 17:09:05 +0100 Message-ID: References: <20190116075252.11329.86219@vcs0.savannah.gnu.org> <20190116075253.D88B420536@vcs0.savannah.gnu.org> <835ztnpvbq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="214998"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 13 17:32:36 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtxSd-000tio-RQ for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2019 17:32:35 +0100 Original-Received: from localhost ([127.0.0.1]:59715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtxSZ-0005Yn-WA for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2019 11:32:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtx5y-0003wN-M5 for emacs-devel@gnu.org; Wed, 13 Feb 2019 11:09:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtx5x-0004lx-AS for emacs-devel@gnu.org; Wed, 13 Feb 2019 11:09:10 -0500 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:36387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtx5x-0004jn-4M; Wed, 13 Feb 2019 11:09:09 -0500 Original-Received: by mail-wr1-x431.google.com with SMTP id o17so3151804wrw.3; Wed, 13 Feb 2019 08:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=ndiQEjp3Ts8vmlq5DeUaJ7sZiLgkaaAIOrAtwdmFTeU=; b=SrUffHKGv8khsRK3aZPyplGYN8IHeEfYYWOHicmZtCPvUFkFAiNyhGqLoXrlBZMm/d zvRmBz884hbpo1TAgMtIjY0sdfYDYHAR9q2Wygn4yTcuJ0JUCkplp/sY7sKAgQMzdz3q tZO6GG6XKFRl1zJ2TnFuAWxC0gFtJpOHSCIjgcxU+KX3XOixXRrfoEi/JdY/+SMvVdxq XZ7JAoSPT3cV7/UXMbhLofAEtvudfH/UJwg3/yj+xKiVE27OQShxjodotrIJTraKnv3O VijRTNLHiUv0fvTY5UoNPq2sN91pb971ZNY8DYjIUI5nqrx9Dgw/DrR7JErdhq0nr3DP OuiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ndiQEjp3Ts8vmlq5DeUaJ7sZiLgkaaAIOrAtwdmFTeU=; b=TNdsx304zsuPway+cN6anwreEnsc9RjuBxiRtcHSDYwHYOt7GBZFwozA4hA7jVy4Wv igQpaazEwaFovCTtTXlRKpAc+JV1X8lMXI9SLhlg8eoTnxxxeNIwEaT+XtjHE7SuZZYC lWKV5VXc7KuybLTVEtY1wjmbScbE7rS/rZUDr5Y9ebPSMdIFUO7rF29qP9QLUu+qiMB/ XCkMeUhC/DsKdAzZBatuF9O99BbV6OHMaPp36Ng1z6kbznVz1YgRo2ISTDmYtJnHqPO7 NBralpaO+xfn63f8Q6kwRdtx+R6IUCxVgn5pMy25GBeaYbo2x2dnCa6w7g5wzPpa7EeD idZQ== X-Gm-Message-State: AHQUAuabQS/KyEZG+QF+ev/YKNz2aEEE5wkpd1Nr0WYa9Ayc3SH6r1Cw KAKQLHZtjAYweJE8Ua/k7l8q0xQ6XPQ= X-Google-Smtp-Source: AHgI3IY4rqcqYtweJUSsz+4w9Z/nDl3BniaXyrP1ApGDyfUXwPYlCuJ42cqjzrZHBnt5sSO1KQRmjg== X-Received: by 2002:adf:f7c9:: with SMTP id a9mr1063210wrq.39.1550074147428; Wed, 13 Feb 2019 08:09:07 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:5d94:67b2:83da:2f37]) by smtp.gmail.com with ESMTPSA id b197sm8030637wmd.23.2019.02.13.08.09.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 13 Feb 2019 08:09:06 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <835ztnpvbq.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 13 Feb 2019 17:22:17 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 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:233280 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Date: Wed, 13 Feb 2019 14:09:44 +0100 >> Cc: Paul Eggert >>=20 >> eggert@cs.ucla.edu (Paul Eggert) writes: >>=20 >> > branch: master >> > commit e87e6a24c49542111e669b7d0f1a412024663f8e >> > Author: Paul Eggert >> > Commit: Paul Eggert >> > >> > Fix unlikely races with GnuTLS, datagrams >>=20 >> Paul, >>=20 >> there have been reports on help-gnu-emacs of emacs-26.1 failing when >> using TLS 1.3 to talk to Google servers, and I=CA=BCve just noticed it h= ere >> as well (although only in unusual circumstances). emacs-27 doesn=CA=BCt >> have this issue, and cherry-picking this commit to emacs-26 fixes it >> for me. Perhaps we could apply it there? > > It's too invasive and was too recently committed to go to the release > branch, sorry. OK. We'll just have to live with it for the moment then (I=CA=BCm not about to propose to people that they switch off TLS1.3 support, since they'll forget to turn it back on). Amusingly I only see it because it=CA=BCs triggered by network-security-level > medium, which must change some timing somewhere (adding logging or running nsm non-byte-compiled makes it go away). Robert