fix compiletest crash
This commit is contained in:
parent
7905eff5f7
commit
3ed2b46f28
@ -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…
x
Reference in New Issue
Block a user