Commit 2e4ea7b7fb593dea0b96e3bca659c3594e7fe734

Edward Thomson 2022-07-02T10:19:33

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.