From a7c98a00683b6140dc48513a089d6b9887fb513c Mon Sep 17 00:00:00 2001 From: "Moritz C. Weber" Date: Fri, 20 Jan 2023 00:45:07 +0000 Subject: [PATCH] Missing 's' was causing a segfault due to file not found --- toys/pending/git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/pending/git.c b/toys/pending/git.c index 505bcee5..82421483 100644 --- a/toys/pending/git.c +++ b/toys/pending/git.c @@ -529,7 +529,7 @@ static void gitfetch(void) 0}); //char h[] = "8cf1722f0fde510ea81d13b31bde1e48917a0306"; //TODO: Replace static testing hash and uncomment the following line if rare delta resolve /?heap overflow? bug was found - FILE *fpr = fopen(".git/ref/temp.refs", "r"); + FILE *fpr = fopen(".git/refs/temp.refs", "r"); char *h; size_t l = 0; -- 2.39.2