- 25 Nov, 2014 1 commit
-
-
We're freeing the memory which holds the locks so we must make sure that the locking function doesn't try to use it.
Carlos Martín Nieto committed
-
- 03 Nov, 2014 1 commit
-
-
A non-readable mapping of a file causes an access violation in the pack tests. Always use PROT_READ to work around this.
Stefan Sperling committed
-
- 27 Oct, 2014 2 commits
-
-
Carlos Martín Nieto committed
-
More backports to 0.21
Carlos Martín Nieto committed
-
- 26 Oct, 2014 1 commit
-
-
Edward Thomson committed
-
- 25 Oct, 2014 12 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Pierre-Olivier Latour committed
-
Alan Rogers committed
-
Alan Rogers committed
-
Alan Rogers committed
-
FindFirstFile will fail with INVALID_HANDLE_VALUE if there are no children to the given path, which can happen if the given path is a file (and obviously has no children) or if the given path is an empty mount point. (Most directories have at least directory entries '.' and '..', but ridiculously another volume mounted in another drive letter's path space do not, and thus have nothing to enumerate.) If FindFirstFile fails, check if this is a directory-like thing (a mount point).
Edward Thomson committed -
A reparse point that is an IO_REPARSE_TAG_MOUNT_POINT could be a junction or an actual filesystem mount point. (Who knew?) If it's the latter, its reparse point will report the actual volume information \??\Volume{GUID}\ and we should not attempt to dereference that further, instead readlink should report EINVAL since it's not a symlink / junction and its original path was canonical. Yes, really.
Edward Thomson committed -
Edward Thomson committed
-
Jacques Germishuys committed
-
Edward Thomson committed
-
Edward Thomson committed
-
- 24 Oct, 2014 1 commit
-
-
All versions of SSL are considered deprecated now, so let's ask OpenSSl to only use TLSv1. We still ask it to load those ciphers for compatibility with servers which want to use an older hello but will use TLS for encryption. For good measure we also disable compression, which can be exploitable, if the OpenSSL version supports it.
Carlos Martín Nieto committed
-
- 11 Oct, 2014 11 commits
-
-
Add a few backports to 0.21 maintenance
Edward Thomson committed -
Jacques Germishuys committed
-
Jacques Germishuys committed
-
Jacques Germishuys committed
-
Jakub Čajka committed
-
Jakub Čajka committed
-
* Ensure alignment by copying the content into a structure on the stack
Jacques Germishuys committed -
Jacques Germishuys committed
-
Jacques Germishuys committed
-
Anurag Gupta (OSG) committed
-
Linquize committed
-
- 03 Oct, 2014 5 commits
-
-
Linquize committed
-
When we free the global state at thread termination, we must also free the error message in order not to leak the string once per thread.
Carlos Martín Nieto committed -
The getaddrinfo function indicates failure with a non-zero return code, but this code is not necessarily negative. On platforms like Android where the code is positive, a failed call causes libgit2 to segfault.
William Swanson committed -
Jacques Germishuys committed
-
Since this isn't under sys/ we need to have it included in the main git2.h file. This fixes #2551.
Carlos Martín Nieto committed
-
- 24 Sep, 2014 1 commit
-
-
A backported fix makes use of the new name for git_cherry_pick (namely git_cherrypick), but we still need to use the old one in the maint branch.
Carlos Martín Nieto committed
-
- 16 Sep, 2014 3 commits
-
-
Jacques Germishuys committed
-
Passing 0 as the length of the paths to check to git_diff_index_to_workdir results in all files being treated as conflicting, that is, all untracked or modified files in the worktree is reported as conflicting
Jacques Germishuys committed -
Added test case to illustrate bogus conflicts detected if no files were merged, and untracked files exist in the workdir.
Jacques Germishuys committed
-
- 10 Sep, 2014 1 commit
-
-
When the call to the agent fails, we must retrieve the error message just after the function call, as other calls may overwrite it. As the agent authentication is the only one which has a teardown and there does not seem to be a way to get the error message from a stored error number, this tries to introduce some small changes to store the error from the agent. Clearing the error at the beginning of the loop lets us know whether the agent has already set the libgit2 error message and we should skip it, or if we should set it.
Carlos Martín Nieto committed
-
- 26 Aug, 2014 1 commit
-
-
The callers of git_packfile_unpack() expect the obj_offset argument to be set to the beginning of the next object. We were mistakenly returning the the offset of the object's data, which causes the CRC function to try to use the wrong offset. Set obj_offset to curpos instead of elem->offset to point to the next element and bring back expected behaviour.
Carlos Martín Nieto committed
-