Fix a bug causing mod_dav_svn to eat all memory during a merge operation when SVNPathAuthz is set to 'short_circuit'. According to the reporter, this bug is only triggered when using a 1.5 client.
Fix a bug causing mod_dav_svn to eat all memory during a merge
operation when SVNPathAuthz is set to 'short_circuit'.
According to the reporter, this bug is only triggered when
using a 1.5 client.

* subversion/libsvn_repos/rev_hunt.c
  (svn_repos_node_location_segments): authz_read requires that
   its path argument starts with a leading slash, so make sure
   the path passed to authz_read starts with '/'.

Patch by: lgo
(log message assembled by me)
Review by: cmpilato
Found by: Alexandra N. Kossovs
(reported via security@)


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@872434 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion