Re: [Cbor] 4.3.2 Malformed Indefinite-Length Items

Jeffrey Yasskin <jyasskin@chromium.org> Wed, 30 January 2019 20:36 UTC

Return-Path: <jyasskin@google.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DCCAD131347 for <cbor@ietfa.amsl.com>; Wed, 30 Jan 2019 12:36:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.051
X-Spam-Level:
X-Spam-Status: No, score=-14.051 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=chromium.org
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 M5o1eAITHzsN for <cbor@ietfa.amsl.com>; Wed, 30 Jan 2019 12:36:11 -0800 (PST)
Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 2541D131338 for <cbor@ietf.org>; Wed, 30 Jan 2019 12:36:11 -0800 (PST)
Received: by mail-wm1-x332.google.com with SMTP id f188so241487wmf.5 for <cbor@ietf.org>; Wed, 30 Jan 2019 12:36:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+89JdvHERou8OkLUdasgP3ErzsMYtIr32J5h5R0MGJo=; b=E0uMLUsYQ2o/xbhgirbCY5DHZSJzkL67yS0VQVcAeKIMtSg7VOTfSSSPB1wJZxoOtE NafOTbf/FNnZY8BzF85ZPh/E3Ril6xo7FmcU957oF4E25/7sgwskuwOXcGjDmzfc8X3J yjwYECgAONtijULtWShdZBntpM4T2TP2OvP/Q=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+89JdvHERou8OkLUdasgP3ErzsMYtIr32J5h5R0MGJo=; b=T2zzREGf83sukpp7RA5oEJXoLnZ3I0TZ2ly+zqmSVWcTpczfPZFMFz4fam/12R6dF8 N2wg97pjoqOMzQShqlIn63yeoX7zo5zOmC7ZXuhiefVenQ7Xm4HM4qGFFuYBwYK9XedA D2DhNdtaCHVzT9v3v5S8lbpevySiKfcemi+/3lZqgbYY5+sXchryNm9IPiZoJeYipz5v /gNMaoFgKUJ+noPvoGeCx4kebxAO5AA1g/hl8L50VKadFY/DYkympua1BvWadFEeY5ze ufYGuZNUExZhd362gNvmgTwsCNOEEMuVZjf0cj5eyVJVhzlPH+d1GSCiWacjP9M+jLlY fdOQ==
X-Gm-Message-State: AJcUukeZ3zywUz+vn1iLB/p+ya0J7Quhtd9jro0nF2SD9DGoc0gBdZkJ iXVP/okOfVsCYot26hmEt33qQlUIHKZiVIfkP5xRXK706OvEww==
X-Google-Smtp-Source: ALg8bN7DFvybZBrZaN9mYfy5LTiEzl/kfWFbGcEfI/jnW2lN7FfLNzO/rK8PxcQCaadnAoMgik/NAt0AhPNVrxh6U+w=
X-Received: by 2002:a1c:4855:: with SMTP id v82mr26919468wma.15.1548880569224; Wed, 30 Jan 2019 12:36:09 -0800 (PST)
MIME-Version: 1.0
References: <3da886c762564d20a75796733ec73e23@pdv-FS.de> <560D9506-9A73-4418-9400-1B7E3B283724@mozilla.com>
In-Reply-To: <560D9506-9A73-4418-9400-1B7E3B283724@mozilla.com>
From: Jeffrey Yasskin <jyasskin@chromium.org>
Date: Wed, 30 Jan 2019 12:35:56 -0800
Message-ID: <CANh-dX=YthBDz2v86d+aho2X=V73=Hp9QKD8cct+L-z-E7H6GQ@mail.gmail.com>
To: Joe Hildebrand <jhildebrand@mozilla.com>
Cc: "cbor@ietf.org" <cbor@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000021591c0580b2dc23"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/vqECWytotTVCy-3lC2Iia5mLrC0>
Subject: Re: [Cbor] 4.3.2 Malformed Indefinite-Length Items
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jan 2019 20:36:22 -0000

https://github.com/cbor-wg/CBORbis/pull/17 deletes that (non-normative)
section entirely in favor of saying it at the top of section 3 (
https://github.com/cbor-wg/CBORbis/pull/17/files#diff-1db0e3aacf579921911ded2cd0e6e4f5R433
).

Jeffrey

On Wed, Jan 30, 2019 at 12:16 PM Joe Hildebrand <jhildebrand@mozilla.com>
wrote:

> Jörg's test cases pointed out a bullet point that we might want to add to
> section 4.3.2.
>
> - The Indefinite-Length encoding is used for major type 0, 1, 6, or 7.
>
> --
> Joe Hildebrand
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>