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

Re: svnserve doesn't handle aborted authn

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Sat, 22 Feb 2014 20:45:33 +0100

On Fri, Feb 21, 2014 at 2:25 AM, Philip Martin
<philip.martin_at_wandisco.com>wrote:

> The new connection/thread handling in svnserve doesn't handle aborted
> authn as follows:
>
> svnadmin create repo
> echo [general] >> repo/conf/svnserve.conf
> echo anon-access = >> repo/conf/svnserve.conf
> echo auth-access = write >> repo/conf/svnserve.conf
> echo password-db = passwd >> repo/conf/svnserve.conf
> echo pm = mp >> repo/conf/passwd
> svnserve -Tdr.
>
> Now run
>
> svn info svn://localhost/repo --username pm
>
> and interrupt/kill the client when prompted for a password. Do it again
>
> svn info svn://localhost/repo --username pm
>
> and interrupt/kill again, svnserve SEGVs.
>

Thank you for the reproduction recipe, Philip.

It took 2 or 3 attempts on my machine until the segfault.
r1570890 fixes that for me. Does it also work for you now?

-- Stefan^2.
Received on 2014-02-22 20:46:05 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.