Re: [PATCH v5 1/3] commit-graph, fuzz: Add fuzzer for commit-graph

2019-01-15 Thread Junio C Hamano
Josh Steadmon writes: > Breaks load_commit_graph_one() into a new function, s/Breaks/Break/ > parse_commit_graph(). The latter function operates on arbitrary buffers, > which makes it suitable as a fuzzing target. Since parse_commit_graph() > is only called by load_commit_graph_one() (and the f

[PATCH v5 1/3] commit-graph, fuzz: Add fuzzer for commit-graph

2019-01-15 Thread Josh Steadmon
Breaks load_commit_graph_one() into a new function, parse_commit_graph(). The latter function operates on arbitrary buffers, which makes it suitable as a fuzzing target. Since parse_commit_graph() is only called by load_commit_graph_one() (and the fuzzer described below), we omit error messages tha