forked from libgit2/git2go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uprev libgit to v1.3.1 (libgit2#911)
🔒 This is a security release to provide compatibility with git's changes to address [CVE 2022-24765](https://github.blog/2022-04-12-git-security-vulnerability-announced/). libgit2 (and by extension git2go) are not directly affected by this vulnerability, because libgit2 does not directly invoke any executable. But we are providing these changes as a security release for any users that use libgit2 for repository discovery and then also use git on that repository. In this release, we will now validate that the user opening the repository is the same user that owns the on-disk repository. This is to match git's behavior. In addition, we are providing several correctness fixes where invalid input can lead to a crash. These may prevent possible denial of service attacks. At this time there are not known exploits to these issues.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule libgit2
updated
25 files
+1 −1 | CMakeLists.txt | |
+1 −1 | README.md | |
+15 −0 | docs/changelog.md | |
+11 −1 | include/git2/common.h | |
+1 −0 | include/git2/errors.h | |
+2 −2 | include/git2/version.h | |
+1 −1 | package.json | |
+10 −6 | src/config.c | |
+8 −0 | src/libgit2.c | |
+213 −54 | src/path.c | |
+28 −8 | src/path.h | |
+103 −22 | src/repository.c | |
+1 −0 | src/repository.h | |
+5 −0 | tests/clar_libgit2.c | |
+1 −0 | tests/clar_libgit2.h | |
+25 −0 | tests/core/path.c | |
+32 −32 | tests/fetchhead/fetchhead_data.h | |
+6 −6 | tests/fetchhead/nonetwork.c | |
+1 −0 | tests/main.c | |
+8 −8 | tests/online/clone.c | |
+2 −7 | tests/online/fetch.c | |
+2 −6 | tests/online/fetchhead.c | |
+1 −1 | tests/online/remotes.c | |
+0 −1 | tests/repo/config.c | |
+147 −0 | tests/repo/open.c |