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

Re: [PATCH] optionally allow username to be passed with svnserve ANONYMOUS auth

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2003-09-21 21:02:51 CEST

Hi,

I'm having a problem with SVN::Mirror over ra_svn after this patch. it
fails to get the first credential at all, since svn:mirror doesn't
supply default username, nor does the connection have a stored
credential.

so the line:
    user = ((svn_auth_cred_username_t *) creds)->username;

causes a segfault.

would you kindly test creds before dereferencing it?

Cheers,
CLK

On Sun, 2003-09-14 at 21:03, Garrett Rooney wrote:
> As Greg Hudson suggested yesterday, a better way to get what I wanted
> (usernames in my svnserve commits) would be to just pass it down as the
> argument for the ANONYMOUS authentication mechanism. There is a new
> command line argument (-u) for svnserve to optionally allow it to accept
> these usenames and use them wherever they are required.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 21 21:03:43 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.