Nick Piper <nick.piper@logica.com>


Found Patch
r1100213 r1101835, r1058294, r1030536

r1030536 | philip | 2010-11-03 17:04:13 +0000 (Wed, 03 Nov 2010)

Implement AuthzSVNReposRelativeAccessFile to allow SVNParentPath to use
a different authz configuration file for each repository.

* subversion/mod_authz_svn/mod_authz_svn.c
  (get_access_conf): Check if AuthzSVNReposRelativeAccessFile is used,
   and if so, load the authz file from inside the repository being
   accessed rather than one which is statically configured in the
   Apache configuration.
  (subreq_bypass, access_checker, check_user_id, auth_checker):
   Recognise that it's valid not to have a AuthzSVNAccessFile if
   AuthzSVNReposRelativeAccessFile is used.
  (AuthzSVNAccessFile_cmd, AuthzSVNReposRelativeAccessFile_cmd):
   Introduce functions to ensure AuthzSVNAccessFile and
   AuthzSVNReposRelativeAccessFile are not used at the same time.

* subversion/mod_authz_svn/INSTALL: Add example.

Patch by: Nick Piper <nick.piper@logica.com>
(Tweaked by me.)


r1058294 | stsp | 2011-01-12 19:55:19 +0000 (Wed, 12 Jan 2011)

Follow-up to r1030536:

* subversion/mod_authz_svn/mod_authz_svn.c: Include svn_dirent_uri.h.

Patch by: Nick Piper <nick.piper@logica.com>


r1100213 | danielsh | 2011-05-06 13:43:10 +0000 (Fri, 06 May 2011)

Two changes: identify one particular FSFS corruption, and don't mask either
that particular corruption or any other corruption reported at the same spot.

* subversion/libsvn_fs_fs/rep-cache.c
  (fs_fs.h): Include.
  (svn_fs_fs__get_rep_reference):
    Before returning the reference, check that it's not over youngest.

* subversion/libsvn_fs_fs/fs_fs.c
  (rep_write_contents_close):
    Don't mask SVN_ERR_FS_CORRUPT errors (including the error raised above).

Found by: Nick Piper <nick.piper@logica.com>

r1101835 | rhuijben | 2011-05-11 11:25:04 +0000 (Wed, 11 May 2011)

Avoid leaking file descriptors and object references in the python bindings,
by releasing the python object from the pool cleanup handler. Also call
the python close function when the stream is explicitly closed.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
  (close_handler_pyio): Forward close to the python code, but don't decrement
    reference to python object yet.

  (svn_swig_py_stream_destroy): New function.
  (svn_swig_py_make_stream): Install svn_swig_py_stream_destroy as cleanup
    handler.

Patch by: Nick Piper <nick.piper{_AT_}logica.com>
          (tweaked by me)