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

Re: [PATCH] Segfault when comitting property changes on wc root

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-03-21 21:24:19 CET

cmpilato@collab.net writes:

> an inspection of the code reveals that indeed, BASE_DIR is NULL for
> everything except 'commit',

Look what happens in svn_cl__make_log_msg_baton

    lmb->base_dir = base_dir ? base_dir : "";

So for operations that act on an URL we will end up running
svn_path_is_child with arguments like "" and "file:///...". It only
works because an URL could be interpreted as a file in the current
directory.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 21 21:25:01 2003

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.