subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r881905 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
Date Wed, 18 Nov 2009 19:59:24 GMT
Author: stsp
Date: Wed Nov 18 19:59:24 2009
New Revision: 881905

URL: http://svn.apache.org/viewvc?rev=881905&view=rev
Log:
Avoid a segfault when committing.

* subversion/libsvn_fs_fs/fs_fs.c
  (get_writable_proto_rev_body): Pass a valid memory pool instead of 0 to
   svn_io_file_seek().

Patch by: steveking
(committing on his behalf because his ASF ICLA is still being processed)

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c?rev=881905&r1=881904&r2=881905&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Wed Nov 18 19:59:24 2009
@@ -798,7 +798,7 @@
   if (!err)
     {
       apr_off_t offset = 0;
-      err = svn_io_file_seek(*file, APR_END, &offset, 0);
+      err = svn_io_file_seek(*file, APR_END, &offset, pool);
     }
 
   if (err)



Mime
View raw message