summaryrefslogtreecommitdiff
path: root/sideband.c
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2007-05-19 02:58:37 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-19 12:26:36 -0700
commit6442754d6cc0056cf5b69b43d218f8b6d317e7f5 (patch)
tree68558fb2cadec798a83ee90c35e33c3f7f254a0d /sideband.c
parentDocumentation: Reformatted SYNOPSIS for several commands (diff)
downloadtgif-6442754d6cc0056cf5b69b43d218f8b6d317e7f5.tar.xz
git-svn: avoid crashing svnserve when creating new directories
When sorting directory names by depth (slash ("/") count) and closing the deepest directories first (as the protocol requires), we failed to put the root baton (with an empty string as its key "") after top-level directories (which did not have any slashes). This resulted in svnserve being in a situation it couldn't handle and caused a segmentation fault on the remote server. This bug did not affect users of DAV and filesystem repositories. Signed-off-by: Eric Wong <normalperson@yhbt.net> Confirmed-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sideband.c')
0 files changed, 0 insertions, 0 deletions