Commit af50c16f1214334470d2599ab0a4b0f01032a655

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.