Don't immediately drop fuzzer values
This commit is contained in:
parent
38dc0f0b8f
commit
19e18df973
1 changed files with 2 additions and 1 deletions
|
@ -4,5 +4,6 @@ use git_config::parser::Parser;
|
||||||
use libfuzzer_sys::fuzz_target;
|
use libfuzzer_sys::fuzz_target;
|
||||||
|
|
||||||
fuzz_target!(|data: &[u8]| {
|
fuzz_target!(|data: &[u8]| {
|
||||||
Parser::from_bytes(data);
|
// Don't name this _; Rust may optimize it out.
|
||||||
|
let _a = Parser::from_bytes(data);
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue