[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: Kieran <kieran_at_esperi.demon.co.uk>
Date: 2002-07-31 16:10:09 CEST

On 31 Jul 2002, Philip Martin wrote:

> 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.
>
Ah, I mis-diagnosed.

In that case, the test patch is no good.

I can adapt it to the case above, though, if you think it's worth it.

Regards

Kieran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 31 16:11:54 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.