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

Re: [TEST PATCH] Minor denial of service attack

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-07-31 15:38:02 CEST

Kieran <kieran@esperi.demon.co.uk> writes:

> It appears that setting a property on a directory prevents running
> "svn commit" in that directory. I've got tests in both shell and
> python below. (I think the shell version is a little easier to follow)

I assume you are referring to a "directory not locked" error in the
post-commit processing for this case

svn co file://.... wc
cd wc
svn ps a b
svn ci

I've identified the problem in the locking code: it's a failure when
comparing canonicalized and non-canonicalized paths.

> A solution to the locking prob is to run "svn revert" on the directory,
> or explicitly list (excluding the directory) the resources being
> commited. Haven't tried playing with more than one directory.

No, the temporary solution is to use 'svn ci /path/to/wc'. I'll fix
it shortly.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 31 15:39:03 2002

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.