diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-29 13:59:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-29 13:59:19 -0700 |
commit | 69fe31887bf8be496bb0adb4db3150cec52e1a2c (patch) | |
tree | 4e9040a5fa5d0fe7ae4b62ab11c6b55723b77f4c /Documentation/RelNotes/1.7.8.2.txt | |
parent | Merge branch 'tk/sigchain-unnecessary-post-tempfile' (diff) | |
parent | name-hash: don't reuse cache_entry in dir_entry (diff) | |
download | tgif-69fe31887bf8be496bb0adb4db3150cec52e1a2c.tar.xz |
Merge branch 'dt/name-hash-dir-entry-fix'
The name-hash subsystem that is used to cope with case insensitive
filesystems keeps track of directories and their on-filesystem
cases for all the paths in the index by holding a pointer to a
randomly chosen cache entry that is inside the directory (for its
ce->ce_name component). This pointer was not updated even when the
cache entry was removed from the index, leading to use after free.
This was fixed by recording the path for each directory instead of
borrowing cache entries and restructuring the API somewhat.
* dt/name-hash-dir-entry-fix:
name-hash: don't reuse cache_entry in dir_entry
Diffstat (limited to 'Documentation/RelNotes/1.7.8.2.txt')
0 files changed, 0 insertions, 0 deletions