Don't immediately drop fuzzer values

This commit is contained in:
Edward Shen 2021-02-24 17:55:58 -05:00
parent 38dc0f0b8f
commit 19e18df973
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -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);
}); });