mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-29 08:01:21 +00:00
Fixed OOB
This commit is contained in:
@@ -123,8 +123,8 @@ impl<'x> MessageStream<'x> {
|
||||
|
||||
if let Some(header) = header.get_mut(token_len) {
|
||||
*header = ch.to_ascii_lowercase();
|
||||
token_len += 1;
|
||||
}
|
||||
token_len += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user