diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-12-05 03:32:53 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-07 16:04:02 -0800 |
commit | 3c93983875af53b9f172d7f7a1022d0954cb5689 (patch) | |
tree | f7676ecf1f9ae1d680c2c79c16202065eed7e229 /t/t5506-remote-groups.sh | |
parent | treap: make treap_insert return inserted node (diff) | |
download | tgif-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 't/t5506-remote-groups.sh')
0 files changed, 0 insertions, 0 deletions