diff options
author | Josh Steadmon <steadmon@google.com> | 2019-01-15 14:25:51 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-15 20:32:00 -0800 |
commit | d2b86fbaa1f6c0606330caf3cc3fdf8984ddc66a (patch) | |
tree | 7c05e504d723791d208b863e848a41a35e3f20fe /builtin/fetch.c | |
parent | commit-graph, fuzz: add fuzzer for commit-graph (diff) | |
download | tgif-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/fetch.c')
0 files changed, 0 insertions, 0 deletions