[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug found in svnserve.conf parser

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Sun, 4 Dec 2011 22:16:31 +0200

Fixed in r1210195. It doesn't error but silently applies the same "User
input to internal format" conversion that we use everywhere else.

Thanks!

Daniel

Justin Finkelstein wrote on Sun, Dec 04, 2011 at 18:26:14 +0000:
> Hi guys
>
> I've just been moving a repository over from one server to another and
> have found a bug in subversion, thanks to danielsh on IRC.
> In plain English, the svnserve.conf file for one of my repositories
> contained the following line:
>
> password-db = //etc/opt/CollabNet_Subversion/conf/svnserve_auth_file
>
> Courtesy of some bad initial configuration years ago when the old
> machine was running 1.5.1.
>
> When this config file is used on the new server, the following error is
> raised:
>
> svnserve: subversion/libsvn_subr/dirent_uri.c:956: svn_dirent_join:
> Assertion `svn_dirent_is_canonical(component, pool)' failed.
>
> Daniel has asked me to pass on this message:
>
> add svn_dirent_canonicalize() somewhere in svnserve/read_config()
>
> If you could update the software to report a human-readable error,
> that'd really help.
>
> Cheers!
>
> Justin
>
> --
> Redwire Design Limited
>
> 54 Maltings Place
> 169 Tower Bridge Road
> London SE1 3LJ
> www.redwiredesign.com
>
> [ 020 7403 1444 ] - voice
> [ 020 7378 8711 ] - fax
> [ 07968 180 720 ] - mobile
Received on 2011-12-04 21:20:48 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.