subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1519615 - /subversion/trunk/subversion/libsvn_fs/fs-loader.c
Date Tue, 03 Sep 2013 09:33:35 GMT
Author: philip
Date: Tue Sep  3 09:33:34 2013
New Revision: 1519615

URL: http://svn.apache.org/r1519615
Log:
Fix a SEGV with 3rd-party FS module loading when svn_fs_initialize
is called a second time after clearing the pool passed to the first
call.

* subversion/libsvn_fs/fs-loader.c
  (uninit): Reset linked list when common pool is cleared.

Modified:
    subversion/trunk/subversion/libsvn_fs/fs-loader.c

Modified: subversion/trunk/subversion/libsvn_fs/fs-loader.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs/fs-loader.c?rev=1519615&r1=1519614&r2=1519615&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs/fs-loader.c (original)
+++ subversion/trunk/subversion/libsvn_fs/fs-loader.c Tue Sep  3 09:33:34 2013
@@ -353,6 +353,7 @@ write_fs_type(const char *path, const ch
 static apr_status_t uninit(void *data)
 {
   common_pool = NULL;
+  base_defn.next = NULL;
   return APR_SUCCESS;
 }
 



Mime
View raw message