aboutsummaryrefslogtreecommitdiffstats
path: root/oss-fuzz/fuzz-config.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-03-15fuzz: add fuzzer for config parsingBrian C Tracy1-0/+33
Add a new fuzz target that exercises the parsing of git configs. The existing git_config_from_mem function is a perfect entry point for fuzzing as it exercises the same code paths as the rest of the config parsing functions and offers an easily fuzzable interface. Config parsing is a useful thing to fuzz because it operates on user controlled data and is a central component of many git operations. Signed-off-by: Brian C Tracy <brian.tracy33@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>