fix compiletest crash
This commit is contained in:
parent
7905eff5f7
commit
3ed2b46f28
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ impl ProcOutput {
|
|||
}
|
||||
|
||||
let new_len = bytes.len();
|
||||
if *filtered_len <= HEAD_LEN + TAIL_LEN {
|
||||
if (*filtered_len).min(new_len) <= HEAD_LEN + TAIL_LEN {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue