- 18 Dec, 2014 3 commits
-
-
Edward Thomson committed
-
Carlos Martín Nieto committed
-
We need these directories to exist so cl_git_mkfile() can create the files we ask it to.
Carlos Martín Nieto committed
-
- 17 Dec, 2014 11 commits
-
-
Edward Thomson committed
-
Validate HFS ignored char ".git" paths when `core.protectHFS` is specified. Validate NTFS invalid ".git" paths when `core.protectNTFS` is specified.
Edward Thomson committed -
Vicent Marti committed
-
HFS filesystems ignore some characters like U+200C. When these characters are included in a path, they will be ignored for the purposes of comparison with other paths. Thus, if you have a ".git" folder, a folder of ".git<U+200C>" will also match. Protect our ".git" folder by ensuring that ".git<U+200C>" and friends do not match it.
Edward Thomson committed -
Validate loose reference names on Win32.
Edward Thomson committed -
Disallow: 1. paths with trailing dot 2. paths with trailing space 3. paths with trailing colon 4. paths that are 8.3 short names of .git folders ("GIT~1") 5. paths that are reserved path names (COM1, LPT1, etc). 6. paths with reserved DOS characters (colons, asterisks, etc) These paths would (without \\?\ syntax) be elided to other paths - for example, ".git." would be written as ".git". As a result, writing these paths literally (using \\?\ syntax) makes them hard to operate with from the shell, Windows Explorer or other tools. Disallow these.
Edward Thomson committed -
Vicent Marti committed
-
Vicent Marti committed
-
When turning UTF-8 paths into UCS-2 paths for Windows, always use the \\?\-prefixed paths. Because this bypasses the system's path canonicalization, handle the canonicalization functions ourselves. We must: 1. always use a backslash as a directory separator 2. only use a single backslash between directories 3. not rely on the system to translate "." and ".." in paths 4. remove trailing backslashes, except at the drive root (C:\)
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson 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 10 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
-