
From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Apr 30 05:09:25 2013
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 953C321F9AD5 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 30 Apr 2013 05:09:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.208
X-Spam-Level: 
X-Spam-Status: No, score=-104.208 tagged_above=-999 required=5 tests=[AWL=2.391, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Av6NJzce30X for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 30 Apr 2013 05:09:21 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 98C0921F9A4D for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 30 Apr 2013 05:09:18 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3F1A786DAB2 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 30 Apr 2013 12:09:18 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 20BBE86D333 for <ntpwg@lists.ntp.org>; Tue, 30 Apr 2013 05:31:18 +0000 (UTC)
Received: from rfc-editor.org ([2001:1890:126c::1:2f]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <wwwrun@rfc-editor.org>) id 1UX39p-0009Sv-O7 for ntpwg@lists.ntp.org; Tue, 30 Apr 2013 05:31:18 +0000
Received: by rfc-editor.org (Postfix, from userid 30) id 948A8B1E005; Mon, 29 Apr 2013 22:30:45 -0700 (PDT)
To: mills@udel.edu, jrmii@isc.org, jack.burbank@jhuapl.edu, william.kasch@jhuapl.edu, brian@innovationslab.net, ted.lemon@nominum.com, odonoghue@isoc.org
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20130430053045.948A8B1E005@rfc-editor.org>
Date: Mon, 29 Apr 2013 22:30:45 -0700 (PDT)
X-SA-Exim-Connect-IP: 2001:1890:126c::1:2f
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: wwwrun@rfc-editor.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Tue, 30 Apr 2013 12:09:01 +0000
Cc: crrodriguez@opensuse.org, ntpwg@lists.ntp.org, rfc-editor@rfc-editor.org
Subject: [ntpwg] [Technical Errata Reported] RFC5905 (3608)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0956353738155273515=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org

--===============0956353738155273515==
Content-Type: text/plain

The following errata report has been submitted for RFC5905,
"Network Time Protocol Version 4: Protocol and Algorithms Specification".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=5905&eid=3608

--------------------------------------
Type: Technical
Reported by: Cristian Rodríguez <crrodriguez@opensuse.org>

Section: A.2.

Original Text
-------------
/*

         * Read command line options and initialize system variables.

         * The reference implementation measures the precision specific

         * to each machine by measuring the clock increments to read the

         * system clock.

         */

        memset(&s, sizeof(s), 0);



.....

/*

         * Initialize local clock variables

         */

        memset(&c, sizeof(c), 0);

Corrected Text
--------------
/*

         * Read command line options and initialize system variables.

         * The reference implementation measures the precision specific

         * to each machine by measuring the clock increments to read the

         * system clock.

         */

        memset(&s, 0. sizeof(s));

...



/*

         * Initialize local clock variables

         */

        memset(&c, 0, sizeof(c));

Notes
-----
Paramters 2 and 3 of the memset functions are inverted everywhere in the example code, not just in section A2

Instructions:
-------------
This errata 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 (IESG)
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC5905 (draft-ietf-ntp-ntpv4-proto-13)
--------------------------------------
Title               : Network Time Protocol Version 4: Protocol and Algorithms Specification
Publication Date    : June 2010
Author(s)           : D. Mills, J. Martin, Ed., J. Burbank, W. Kasch
Category            : PROPOSED STANDARD
Source              : Network Time Protocol
Area                : Internet
Stream              : IETF
Verifying Party     : IESG

--===============0956353738155273515==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0956353738155273515==--
