RFC Errata
RFC 1350, "The TFTP Protocol (Revision 2)", July 1992
Note: This RFC has been updated by RFC 1782, RFC 1783, RFC 1784, RFC 1785, RFC 2347, RFC 2348, RFC 2349
Source of RFC: LegacyArea Assignment: app
See Also: RFC 1350 w/ inline errata
Errata ID: 7167
Status: Verified
Type: Technical
Publication Format(s) : TEXT
Reported By: Christophe Deleuze
Date Reported: 2022-10-15
Verifier Name: Orie Steele
Date Verified: 2024-05-03
Section 6 says:
The end of a transfer is marked by a DATA packet that contains between 0 and 511 bytes of data (i.e., Datagram length < 516).
It should say:
The end of a transfer is marked by a DATA packet that contains between 0 and 511 bytes of data (i.e., Datagram length < 524).
Notes:
After careful reading it seems clear to me that "Datagram" here refers to the UDP datagram.
"Datagram" is used to refer to UDP in several places (section 1: "the Internet User Datagram protocol (UDP or Datagram)", section 3: "Since Datagram is implemented", "the Datagram layer", Figure 3.1, Figure "Order of headers" at beginning of Appendix).
UDP header + TFTP header + 512 bytes of data is 8+4+512 = 524.
Note this errata conflicts with errata #4971