repository.c
81.1 KB
-
repo: validate gitdir and gitlink ownership · 2e4ea7b7
To match git's behavior with CVE 2022-29187, validate not only the working directory, but also the gitdir and gitlink (if it exists). This a follow up to CVE-2022-24765 that was fixed earlier.
Edward Thomson committed