repo: validate gitdir and gitlink ownership
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.
Showing
Please
register
or
sign in
to comment