Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000777 [1003.1(2013)/Issue7+TC1] System Interfaces Editorial Clarification Requested 2013-10-23 01:33 2019-06-10 08:55
Reporter nsz View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Closed  
Name Szabolcs Nagy
Organization musl libc
User Reference
Section inet_pton
Page Number 1125
Line Number 37792-37794
Interp Status ---
Final Accepted Text See Note: 0002049.
Summary 0000777: leading zeros in IPv6 address text forms
Description The description of inet_pton about the accepted IPv6 text form says

  1. The preferred form is "x:x:x:x:x:x:x:x", where the 'x' s are the
   hexadecimal values of the eight 16-bit pieces of the address.
   Leading zeros in individual fields can be omitted, but there shall
   be at least one numeral in every field.
  ...

the text also refers to RFC 2373 which has a similar description.
It only says that at least one hex digit is required in a field,
it does not say what the maximum is.

Appendix B in RFC 2373 makes it clear that at most four hex digits are
allowed, long sequence of leading zeros are not allowed.
Desired Action the text should make it clear that this is valid address format:

  1:02:003:0004::

but this is invalid (according to RFC 2373):

  1:0000002::

eg. add that "the hexadecimal number of a field has at most four digits"
Tags tc2-2008
Attached Files

- Relationships

-  Notes
(0002049)
Don Cragun (manager)
2013-12-05 17:22
edited on: 2013-12-05 17:24

We believe the standard already requires this behavior, but agree that it should be spelled out explicitly.

Change:
    The preferred form is "x:x:x:x:x:x:x:x", where the ’x’ s are the hexadecimal 
values
    of the eight 16-bit pieces of the address. Leading zeros in individual fields can be
    omitted, but there shall be at least one numeral in every field.

on P1125 L37792-37794 to:
    The preferred form is "x:x:x:x:x:x:x:x", where the ’x’ s are the hexadecimal 
values
    of the eight 16-bit pieces of the address. Leading zeros in individual fields can be
    omitted, but there shall be one to four hexadecimal digits in every field.



- Issue History
Date Modified Username Field Change
2013-10-23 01:33 nsz New Issue
2013-10-23 01:33 nsz Name => Szabolcs Nagy
2013-10-23 01:33 nsz Organization => musl libc
2013-10-23 01:33 nsz Section => inet_pton
2013-10-23 01:33 nsz Page Number => -
2013-10-23 01:33 nsz Line Number => -
2013-12-05 17:22 Don Cragun Page Number - => 1125
2013-12-05 17:22 Don Cragun Line Number - => 37792-37794
2013-12-05 17:22 Don Cragun Interp Status => ---
2013-12-05 17:22 Don Cragun Note Added: 0002049
2013-12-05 17:22 Don Cragun Status New => Resolved
2013-12-05 17:22 Don Cragun Resolution Open => Accepted As Marked
2013-12-05 17:23 Don Cragun Final Accepted Text => See Note: 0002049.
2013-12-05 17:23 Don Cragun Tag Attached: tc2-2008
2013-12-05 17:24 Don Cragun Note Edited: 0002049
2019-06-10 08:55 agadmin Status Resolved => Closed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker