Re: [Cbor] 4.3.2 Malformed Indefinite-Length Items

Richter, Jörg <Joerg.Richter@pdv-FS.de> Wed, 30 January 2019 20:46 UTC

Return-Path: <Joerg.Richter@pdv-FS.de>
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 40646131300 for <cbor@ietfa.amsl.com>; Wed, 30 Jan 2019 12:46:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ehHD-VRJf8B2 for <cbor@ietfa.amsl.com>; Wed, 30 Jan 2019 12:46:35 -0800 (PST)
Received: from mail.pdv-fs.de (mail.pdv-fs.de [213.208.220.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E99B113103A for <cbor@ietf.org>; Wed, 30 Jan 2019 12:46:34 -0800 (PST)
Received: from EXCHDB1.pdv-fs.de (192.168.180.94) by EXCHDB1.pdv-fs.de (192.168.180.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 30 Jan 2019 21:46:32 +0100
Received: from EXCHDB1.pdv-fs.de ([fe80::6c4a:8b1b:60f4:4437]) by EXCHDB1.pdv-fs.de ([fe80::6c4a:8b1b:60f4:4437%15]) with mapi id 15.01.1466.012; Wed, 30 Jan 2019 21:46:32 +0100
From: "Richter, Jörg" <Joerg.Richter@pdv-FS.de>
To: Joe Hildebrand <jhildebrand@mozilla.com>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] 4.3.2 Malformed Indefinite-Length Items
Thread-Index: AQHUuNizhrR7MbigwkSI8tbtqvCHuaXINVOAgAASevk=
Date: Wed, 30 Jan 2019 20:46:32 +0000
Message-ID: <49a063f9cb834f79b84ae7c8d61d0193@pdv-FS.de>
References: <3da886c762564d20a75796733ec73e23@pdv-FS.de> <560D9506-9A73-4418-9400-1B7E3B283724@mozilla.com>, <88103D77-0D71-404F-AF72-D5B25F4A605C@mozilla.com>
In-Reply-To: <88103D77-0D71-404F-AF72-D5B25F4A605C@mozilla.com>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.168.185.1]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/QROTTWj8iZZwqIO_yKhMj171h18>
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:46:37 -0000

You mean the opposite? It is used for 2,3,4 and 5.

________________________________________
Von: Joe Hildebrand <jhildebrand@mozilla.com>
Gesendet: Mittwoch, 30. Januar 2019 21:39:27
An: cbor@ietf.org
Betreff: Re: [Cbor] 4.3.2 Malformed Indefinite-Length Items

Sorry, just 0, 1, or 6.  MT 7 with Indefinite Encoding is FF or "Break".

> On Jan 30, 2019, at 1: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