aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorJosh Steadmon <steadmon@google.com>2019-01-15 14:25:51 -0800
committerJunio C Hamano <gitster@pobox.com>2019-01-15 20:32:00 -0800
commitd2b86fbaa1f6c0606330caf3cc3fdf8984ddc66a (patch)
tree7c05e504d723791d208b863e848a41a35e3f20fe /commit.c
parentcommit-graph, fuzz: add fuzzer for commit-graph (diff)
downloadgit-d2b86fbaa1f6c0606330caf3cc3fdf8984ddc66a.tar.gz
git-d2b86fbaa1f6c0606330caf3cc3fdf8984ddc66a.zip
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 'commit.c')
0 files changed, 0 insertions, 0 deletions