Commit e759db27 e759db27d650197ed1d8f837f30a2d03dcc23b4a by Sergey Poznyakoff

Bugfix

* libmailutils/filter/crlfflt.c (_crlf_encoder): Reset state to
initial if any character other than \r and \n is read.
1 parent d232a467
......@@ -88,7 +88,10 @@ _crlf_encoder (void *xd,
optr[j++] = c;
}
else
optr[j++] = c;
{
*state = state_init;
optr[j++] = c;
}
}
iobuf->isize = i;
iobuf->osize = j;
......