Fix http1_splitline parsing of 2 field HTTP proto lines using NLNL
When parsing a request like this, "GET /\n\n", the first NL would be overwritten by nul guard inserted after the 2nd field, and the second NL would be overwritten by the nul guard after the missing 3rd field. This would cause http1_dissect_hdrs to attempt to decode the body as headers.
Showing
Please register or sign in to comment