summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Josh Steadmon <steadmon@google.com>2019-01-15 14:25:51 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-15 20:32:00 -0800
commitd2b86fbaa1f6c0606330caf3cc3fdf8984ddc66a (patch)
tree7c05e504d723791d208b863e848a41a35e3f20fe /builtin
parentcommit-graph, fuzz: add fuzzer for commit-graph (diff)
downloadtgif-d2b86fbaa1f6c0606330caf3cc3fdf8984ddc66a.tar.xz
commit-graph: fix buffer read-overflow
fuzz-commit-graph identified a case where Git will read past the end of a buffer containing a commit graph if the graph's header has an incorrect chunk count. A simple bounds check in parse_commit_graph() prevents this. Signed-off-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions