RFC 959, "File Transfer Protocol", October 1985Source of RFC: Legacy
Area Assignment: app
Errata ID: 3040
Publication Format(s) : TEXT
Reported By: mark hays
Date Reported: 2011-12-01
Rejected by: Pete Resnick
Date Rejected: 2011-12-29
Section 5.3.2 says:
<number> ::= any decimal integer 1 through 255
It should say:
<byte-size> ::= any decimal integer 1 through 255 [...] <number> ::= any decimal integer 0 through 255
I agree with the author of errata ID 3039 that excluding 0 from <number> is problematic. However, <number> is also used in the definition of <byte-size>. The text in 18.104.22.168 says that"The value of Byte size must be a decimal integer; there is no default value." Strictly speaking, then, 0 is a valid value but I don't see how zero could lead to a sensible result. Indeed the term "decimal integer" is undefined so perhaps negative values are permissible?
See Erratum 3039. Though the change there does allow for nonsense values for <byte-size>, so does the current syntax in 959. I have accepted 3039 and rejected this as duplicate.