summaryrefslogtreecommitdiff
path: root/compat/msvc.h
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-12-05 03:32:53 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-07 16:04:02 -0800
commit3c93983875af53b9f172d7f7a1022d0954cb5689 (patch)
treef7676ecf1f9ae1d680c2c79c16202065eed7e229 /compat/msvc.h
parenttreap: make treap_insert return inserted node (diff)
downloadtgif-3c93983875af53b9f172d7f7a1022d0954cb5689.tar.xz
vcs-svn: fix intermittent repo_tree corruption
Pointers to directory entries do not remain valid after a call to dent_insert. Noticed in the course of importing a small Subversion repository (~1000 revs); after setting up a dirent for a certain path as a placeholder, by luck dent_insert would trigger a realloc that shifted around addresses, resulting in an import with that file replaced by a directory. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/msvc.h')
0 files changed, 0 insertions, 0 deletions