git/oss-fuzz
Eric Sesterhenn 751d063f27 fuzz: port fuzz-url-decode-mem from OSS-Fuzz
Git's fuzz tests are run continuously as part of OSS-Fuzz [1]. Several
additional fuzz tests have been contributed directly to OSS-Fuzz;
however, these tests are vulnerable to bitrot because they are not built
during Git's CI runs, and thus breaking changes are much less likely to
be noticed by Git contributors.

Port one of these tests back to the Git project:
fuzz-url-decode-mem

This test was originally written by Eric Sesterhenn as part of a
security audit of Git [2]. It was then contributed to the OSS-Fuzz repo
in commit c58ac4492 (Git fuzzing: uncomment the existing and add new
targets. (#11486), 2024-02-21) by Jaroslav Lobačevski. I (Josh Steadmon)
have verified with both Eric and Jaroslav that they're OK with moving
this test to the Git project.

[1] https://github.com/google/oss-fuzz
[2] https://ostif.org/wp-content/uploads/2023/01/X41-OSTIF-Gitlab-Git-Security-Audit-20230117-public.pdf

Co-authored-by: Jaroslav Lobačevski <jarlob@gmail.com>
Co-authored-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
2024-10-16 18:14:11 -04:00
..
.gitignore fuzz: port fuzz-url-decode-mem from OSS-Fuzz 2024-10-16 18:14:11 -04:00
dummy-cmd-main.c oss-fuzz: mark unused argv/argc argument 2024-08-17 09:46:11 -07:00
fuzz-commit-graph.c Merge branch 'tb/path-filter-fix' 2024-07-08 14:53:10 -07:00
fuzz-config.c fuzz: add fuzzer for config parsing 2024-03-15 10:47:05 -07:00
fuzz-credential-from-url-gently.c fuzz: port fuzz-credential-from-url-gently from OSS-Fuzz 2024-10-16 18:14:11 -04:00
fuzz-date.c date: make DATE_MODE thread-safe 2024-04-05 15:21:14 -07:00
fuzz-pack-headers.c treewide: ensure one of the appropriate headers is sourced first 2023-02-23 17:25:28 -08:00
fuzz-pack-idx.c object-store-ll.h: split this header out of object-store.h 2023-06-21 13:39:54 -07:00
fuzz-parse-attr-line.c fuzz: port fuzz-parse-attr-line from OSS-Fuzz 2024-10-16 18:14:11 -04:00
fuzz-url-decode-mem.c fuzz: port fuzz-url-decode-mem from OSS-Fuzz 2024-10-16 18:14:11 -04:00