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

svnserve doesn't handle aborted authn

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 21 Feb 2014 01:25:11 +0000

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.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-02-21 02:25:46 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.