Don't immediately drop fuzzer values
parent
38dc0f0b8f
commit
19e18df973
|
@ -4,5 +4,6 @@ use git_config::parser::Parser;
|
|||
use libfuzzer_sys::fuzz_target;
|
||||
|
||||
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 New Issue