[6lo] [Technical Errata Reported] RFC8163 (5996)

RFC Errata System <rfc-editor@rfc-editor.org> Thu, 27 February 2020 21:13 UTC

Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 4BB6E3A0C14 for <6lo@ietfa.amsl.com>; Thu, 27 Feb 2020 13:13:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id YEzZDm0gDN5W for <6lo@ietfa.amsl.com>; Thu, 27 Feb 2020 13:13:31 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D98E3A0C13 for <6lo@ietf.org>; Thu, 27 Feb 2020 13:13:31 -0800 (PST)
Received: by rfc-editor.org (Postfix, from userid 30) id ABFA4F40711; Thu, 27 Feb 2020 13:13:16 -0800 (PST)
To: kerlyn@ieee.org, jpmartocci@sbcglobal.net, cneilson@deltacontrols.com, stuart.donaldson@honeywell.com, suresh@kaloom.com, evyncke@cisco.com, carlesgo@entel.upc.edu, shwethab@cisco.com
X-PHP-Originating-Script: 30:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: kerlyn@ieee.org, 6lo@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20200227211316.ABFA4F40711@rfc-editor.org>
Date: Thu, 27 Feb 2020 13:13:16 -0800 (PST)
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/vI7Cgc6KaqUDOY-SBn2gIXZU_WY>
X-Mailman-Approved-At: Thu, 27 Feb 2020 22:14:45 -0800
Subject: [6lo] [Technical Errata Reported] RFC8163 (5996)
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Feb 2020 21:13:35 -0000

The following errata report has been submitted for RFC8163,
"Transmission of IPv6 over Master-Slave/Token-Passing (MS/TP) Networks".

You may review the report below and at:

Type: Technical
Reported by: Kerry Lynn <kerlyn@ieee.org>

Section: Appendix B.

Original Text
        * Sanity check the encoding to prevent the while() loop below
        * from overrunning the output buffer.
       if (read_index + code > length)
         return 0;

Corrected Text
        * Sanity check the encoding to prevent the while() loop below
        * from overrunning the output buffer.
       if (code == 0 || read_index + code > length)
         return 0;

This was submitted as a change to [BACnet], Annex T, by James Butler.  The normative procedure for decoding COBS is correct in [BACnet], but this bug appears in the informative example in Annex T.  Since the purpose of COBS encoding is to eliminate all zero bytes from the data, the presence of a zero indicates an error.

This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
can log in to change the status and edit the report, if necessary. 

RFC8163 (draft-ietf-6lo-6lobac-08)
Title               : Transmission of IPv6 over Master-Slave/Token-Passing (MS/TP) Networks
Publication Date    : May 2017
Author(s)           : K. Lynn, Ed., J. Martocci, C. Neilson, S. Donaldson
Category            : PROPOSED STANDARD
Source              : IPv6 over Networks of Resource-constrained Nodes
Area                : Internet
Stream              : IETF
Verifying Party     : IESG