[nfsv4] [Technical Errata Reported] RFC4506 (6382)

RFC Errata System <rfc-editor@rfc-editor.org> Fri, 08 January 2021 15:42 UTC

Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AA18F3A10FC for <nfsv4@ietfa.amsl.com>; Fri, 8 Jan 2021 07:42:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PtKWh3zGbCeW for <nfsv4@ietfa.amsl.com>; Fri, 8 Jan 2021 07:42:27 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2DAA93A106E for <nfsv4@ietf.org>; Fri, 8 Jan 2021 07:42:27 -0800 (PST)
Received: by rfc-editor.org (Postfix, from userid 30) id C9D33F4071E; Fri, 8 Jan 2021 07:42:21 -0800 (PST)
To: email2mre-rfc4506@yahoo.com, martin.h.duke@gmail.com, magnus.westerlund@ericsson.com, beepee@gmail.com, davenoveck@gmail.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: ed@nuxi.nl, nfsv4@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset="UTF-8"
Message-Id: <20210108154221.C9D33F4071E@rfc-editor.org>
Date: Fri, 08 Jan 2021 07:42:21 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/WeUm49cEnvocrCq7Pt4NKqu3CIE>
Subject: [nfsv4] [Technical Errata Reported] RFC4506 (6382)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jan 2021 15:42:36 -0000

The following errata report has been submitted for RFC4506,
"XDR: External Data Representation Standard".

--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid6382

--------------------------------------
Type: Technical
Reported by: Ed Schouten <ed@nuxi.nl>

Section: 6.3

Original Text
-------------
      declaration:
           type-specifier identifier
         | type-specifier identifier "[" value "]"
         | type-specifier identifier "<" [ value ] ">"
         | "opaque" identifier "[" value "]"
         | "opaque" identifier "<" [ value ] ">"
         | "string" identifier "<" [ value ] ">"
         | type-specifier "*" identifier
         | "void"

[...]

      struct-body:
         "{"
            ( declaration ";" )
            ( declaration ";" )*
         "}"

[...]

      type-def:
           "typedef" declaration ";"
         | "enum" identifier enum-body ";"
         | "struct" identifier struct-body ";"
         | "union" identifier union-body ";"

Corrected Text
--------------
None

Notes
-----
This grammar permits statements like:

typedef void;
struct foo { void; };

rpcgen doesn't allow this, failing with the following error message:

voids allowed only inside union and program definitions with one argument

Instructions:
-------------
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. 

--------------------------------------
RFC4506 (draft-ietf-nfsv4-rfc1832bis-06)
--------------------------------------
Title               : XDR: External Data Representation Standard
Publication Date    : May 2006
Author(s)           : M. Eisler, Ed.
Category            : INTERNET STANDARD
Source              : Network File System Version 4
Area                : Transport
Stream              : IETF
Verifying Party     : IESG