]> git.99rst.org Git - git.git/commit
commit-graph.c: prevent overflow in `verify_commit_graph()`
authorTaylor Blau <redacted>
Wed, 12 Jul 2023 23:38:19 +0000 (19:38 -0400)
committerJunio C Hamano <redacted>
Fri, 14 Jul 2023 16:32:03 +0000 (09:32 -0700)
commit9a25cad7e0228bfd16f2c41b34e9d71a4217085c
treed61e90ac65c0bead778d7f5475a222f4f793b078
parent588af1bfd3c810e02df1d8adc37e9c43a7f97920
commit-graph.c: prevent overflow in `verify_commit_graph()`

In a similar spirit as previous commits, ensure that we don't overflow
when trying to read an OID out of an existing commit-graph during
verification.

Signed-off-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
commit-graph.c
git clone https://git.99rst.org/PROJECT