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

Re: Subversion 1.7.13 mod_dav_svn with mod_wsgi auth causes Apache segfaults

From: Philip Martin <philip_at_codematters.co.uk>
Date: Wed, 30 Oct 2013 19:12:47 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

> "Howard, Larry P" <larry.howard_at_Vanderbilt.Edu> writes:
>
>> What we know is that mod_dav_svn works as expected without the
>> mod_wsgi auth directives. mod_wsgi works as expected without
>> mod_dav_svn directives. The intended Apache configuration works as
>> expected with mod_dav_svn from Subversion 1.7.9 and mod_wsgi 3.3.
>>
>> Is there something more I can do to help clarify the report?
>
> I can reproduce this. I have a very simple mod_wsgi setup:
>
> WSGIAccessScript /home/pm/sw/subversion/obj/apache2/script.wsgi
>
> where script.wsgi contains:
>
> def allow_access(environ, start_response):
> return True
>
> It appears to be caused by r1514941 which added the translate_name and
> map_to_storage hooks to mod_dav_svn.

Subversion's translate_name hook is setting r->filename to NULL and it
appears that mod_wsgi does not check for NULL.

-- 
Philip
Received on 2013-10-30 20:13:26 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.