--- subversion-1.7.5.orig/subversion/include/mod_authz_svn.h	2009-11-16 20:07:17.000000000 +0100
+++ subversion-1.7.5/subversion/include/mod_authz_svn.h	2012-09-19 10:48:27.662049000 +0200
@@ -41,7 +41,8 @@
 #define AUTHZ_SVN__SUBREQ_BYPASS_PROV_VER "00.00a"
 typedef int (*authz_svn__subreq_bypass_func_t)(request_rec *r,
                                               const char *repos_path,
-                                              const char *repos_name);
+                                              const char *repos_name,
+                                              apr_pool_t *pool);
 
 #ifdef __cplusplus
 }
diff -ubr subversion-1.7.5.orig/subversion/mod_authz_svn/mod_authz_svn.c subversion-1.7.5/subversion/mod_authz_svn/mod_authz_svn.c
--- subversion-1.7.5.orig/subversion/mod_authz_svn/mod_authz_svn.c	2011-07-22 20:37:42.000000000 +0200
+++ subversion-1.7.5/subversion/mod_authz_svn/mod_authz_svn.c	2012-09-19 12:55:20.702367000 +0200
@@ -583,7 +583,8 @@
 static int
 subreq_bypass(request_rec *r,
               const char *repos_path,
-              const char *repos_name)
+              const char *repos_name,
+              apr_pool_t *pool)
 {
   svn_error_t *svn_err = NULL;
   svn_authz_t *access_conf = NULL;
@@ -619,7 +620,7 @@
                                              username_to_authorize,
                                              svn_authz_none|svn_authz_read,
                                              &authz_access_granted,
-                                             r->pool);
+                                             pool);
       if (svn_err)
         {
           ap_log_rerror(APLOG_MARK, APLOG_ERR,
diff -ubr subversion-1.7.5.orig/subversion/mod_dav_svn/authz.c subversion-1.7.5/subversion/mod_dav_svn/authz.c
--- subversion-1.7.5.orig/subversion/mod_dav_svn/authz.c	2011-06-21 20:00:13.000000000 +0200
+++ subversion-1.7.5/subversion/mod_dav_svn/authz.c	2012-09-19 10:33:35.151611000 +0200
@@ -67,7 +67,7 @@
   allow_read_bypass = dav_svn__get_pathauthz_bypass(r);
   if (allow_read_bypass != NULL)
     {
-      if (allow_read_bypass(r, path, repos->repo_basename) == OK)
+      if (allow_read_bypass(r, path, repos->repo_basename, pool) == OK)
         return TRUE;
       else
         return FALSE;
