Fixes the following security issues: - CVE-2024-24575 (infinite loop DoS on revision lookup) and - CVE-2024-24577 (heap out of bound write on index update) https://github.com/libgit2/libgit2/releases/tag/v1.6.5 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>