1
0
mirror of https://github.com/git/git.git synced 2024-09-28 08:49:45 +02:00
git/vcs-svn
Jonathan Nieder 3c93983875 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>
2010-12-07 16:04:02 -08:00
..
fast_export.c vcs-svn: Avoid %z in format string 2010-08-14 19:35:38 -07:00
fast_export.h
LICENSE SVN dump parser 2010-08-14 19:35:38 -07:00
line_buffer.c
line_buffer.h
line_buffer.txt
obj_pool.h
repo_tree.c vcs-svn: fix intermittent repo_tree corruption 2010-12-07 16:04:02 -08:00
repo_tree.h
string_pool.c
string_pool.h
string_pool.txt
svndump.c SVN dump parser 2010-08-14 19:35:38 -07:00
svndump.h SVN dump parser 2010-08-14 19:35:38 -07:00
trp.h treap: make treap_insert return inserted node 2010-12-07 16:03:55 -08:00
trp.txt treap: make treap_insert return inserted node 2010-12-07 16:03:55 -08:00