Fix BytesDeleteMutator (#1585)
This commit is contained in:
parent
0932421020
commit
70b75e7fdb
@ -491,7 +491,7 @@ where
|
||||
return Ok(MutationResult::Skipped);
|
||||
}
|
||||
|
||||
let range = rand_range(state, size, size);
|
||||
let range = rand_range(state, size, size - 1);
|
||||
|
||||
input.bytes_mut().drain(range);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user