Fix parse illegal characters in obs-fold

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:30 -07:00
1 parent f657057c49
commit a00ce1209b
3 files changed
+41

No files matched your search

@@ -797,6 +797,11 @@ protected:
p = parse_token_to_eol(p, last, token_last, ec);
if(ec)
return;
if(! p)
{
ec = error::bad_value;
return;
}
// Look 1 char past the CRLF to handle obs-fold.
if(p + 1 > last)
{