forked from msysgit/git
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sparse-checkout crash due to custom virtual filesystem patches (g…
…it-for-windows#639) This fixup! commit updates an old virtual filesystem patch to only check its custom logic if the virtual filesystem is enabled. When not enabled, the call to `resolve_dtype()` could cause a sparse-index expansion (`ensure_full_index()`) during an existing scan of the index, leading to use-after-free violations. I verified that my local version with this fix avoids the crash in the case of the Office monorepo.
- Loading branch information
Showing
1 changed file
with
24 additions
and
20 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