Re: [quicwg/base-drafts] Avoid data corruption with wrapped Largest Reference. (#2261)

Mike Bishop <notifications@github.com> Tue, 08 January 2019 18:51 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F2AE130F81 for <quic-issues@ietfa.amsl.com>; Tue, 8 Jan 2019 10:51:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.661
X-Spam-Level:
X-Spam-Status: No, score=-1.661 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.065, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H6gG1UaWWa2M for <quic-issues@ietfa.amsl.com>; Tue, 8 Jan 2019 10:51:04 -0800 (PST)
Received: from o8.sgmail.github.com (o8.sgmail.github.com [167.89.101.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96280130F72 for <quic-issues@ietf.org>; Tue, 8 Jan 2019 10:51:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=ic/6gzVHLTgHBWFhtXlL3/3M5h8=; b=ZAO0jLhE1sqcYYMZ ztGFfFYRpNHLHOLZ4RPD+03MscsQnUK3xvpPavqokK7MkcgWTnwVgzW1CfUoDMy7 M5LDbEXsOKXMlRDiSrPRZLHaLHSucMy/h0IsVtzg6xGeRXd8sMpPNhRUtWrnTPeW sJsQmXwgx+g2lePB7LF371N8uyE=
Received: by filter0005p1iad2.sendgrid.net with SMTP id filter0005p1iad2-27847-5C34F116-18 2019-01-08 18:51:03.0346654 +0000 UTC m=+54466.399182213
Received: from github-lowworker-fc273f0.cp1-iad.github.net (unknown [192.30.252.33]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id sDiw2m-5T_qWpMY2AzuMPA for <quic-issues@ietf.org>; Tue, 08 Jan 2019 18:51:02.983 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-fc273f0.cp1-iad.github.net (Postfix) with ESMTP id ECB2FC0CA5 for <quic-issues@ietf.org>; Tue, 8 Jan 2019 10:51:02 -0800 (PST)
Date: Tue, 08 Jan 2019 18:51:03 +0000
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab97a4d6e0ac82e42ea5dd1ec45ee1df1c6abef47992cf00000001184cb31692a169ce177f2f28@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2261/review/190388996@github.com>
In-Reply-To: <quicwg/base-drafts/pull/2261@github.com>
References: <quicwg/base-drafts/pull/2261@github.com>
Subject: Re: [quicwg/base-drafts] Avoid data corruption with wrapped Largest Reference. (#2261)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5c34f116eb3a0_47d3ff3bfed45c03808bd"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1YY1R1bR4YzswCglErNFqZyF+Md74Iy6n9aP V2Ep3MkeNePdQpaQYDep84jaZQHSdMY45rw2ZPcKxS0H52xSq/zMEKTbAvKerzjqast3E8S7/qjP9g +JpB4EzsWf7bwtnk4kR8Ld6nXITMTQEy1h2CvbNRqm4Xu/SaCCXlGCEZe0bjE/z+XyIztleMBXHJyL g=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/nJDjsMt-QVDsYrlPbHACkbFPccQ>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Jan 2019 18:51:06 -0000

MikeBishop approved this pull request.

This looks reasonable.

>  An encoder MUST NOT insert an entry into the dynamic table (or duplicate an
-existing entry) if doing so would evict an entry with unacknowledged references.
-For header blocks that might rely on the newly added entry, the encoder can use
-a literal representation and maybe insert the entry later.
+existing entry) if doing so would evict a blocking entry.  For header blocks
+that would rely on the newly added entry, the encoder can instead use a literal
+representation and maybe insert the entry later.

With the added language, this line feels more ambiguous about which "the entry" is being referenced.  (Of course, it was somewhat ambiguous before.)  Maybe just drop the "and maybe insert the entry later"?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/pull/2261#pullrequestreview-190388996