rfc822: Fix bug parsing headers when body begins with linear whitespace
next_header_parse() had a bug which would mis-parse an extra header if the
body of the message began with a linear whitespace character (space or
tab). This patch fixes it and adds a suitable testcase.
Signed-off-by:
David Gibson <david@gibson.dropbear.id.au>
Showing
Please register or sign in to comment