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

Re: [PATCH] Apache w/o authentication + AuthzForceUsernameCase crashes Apache

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 22 Jul 2011 12:37:29 +0100

"roderich.schupp_at_googlemail.com" <roderich.schupp_at_googlemail.com>
writes:

> 16:00:39.663920000 +0200
> +++ subversion/mod_authz_svn/mod_authz_svn.c 2011-07-21
> 16:00:55.006891000 +0200
> @@ -245,7 +245,7 @@
> get_username_to_authorize(request_rec *r, authz_svn_config_rec *conf)
> {
> char *username_to_authorize = r->user;
> - if (conf->force_username_case)
> + if (username_to_authorize && conf->force_username_case)
> {
> username_to_authorize = apr_pstrdup(r->pool, r->user);
> convert_case(username_to_authorize,

Thanks! I've put it on trunk and proposed it for 1.7.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-07-22 13:38:11 CEST

This is an archived mail posted to the Subversion Dev mailing list.