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 /commit-graph.h | |
| parent | aa658574bfcbe03f5703458ac10be1ef3f5f5472 (diff) | |
| download | git-d2b86fbaa1f6c0606330caf3cc3fdf8984ddc66a.tar.gz | |
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-graph.h')
0 files changed, 0 insertions, 0 deletions
