HomeFreeBSD

dma: limit lines to 998 characters

Description

dma: limit lines to 998 characters

Per RFC2822 the maximum transmitted line length is "998 characters...
excluding the CRLF." In a file the maximum is 999 with the \n included.

Previously mail containing a line with exactly 999 characters would
bounce.

PR: 208261
Reported by: Helge Oldach
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on Jan 28 2022, 2:57 PM
Parents
rG4bd030b36991: sctp(4): Fix a typo in an INVARIANTS panic message
Branches
Unknown
Tags
Unknown