You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/04/21 17:45:08 UTC

svn commit: r1588906 - /subversion/trunk/subversion/libsvn_fs_fs/transaction.c

Author: stefan2
Date: Mon Apr 21 15:45:08 2014
New Revision: 1588906

URL: http://svn.apache.org/r1588906
Log:
Follow-up to r1588899.

* subversion/libsvn_fs_fs/transaction.c
  (fnv1a_checksum_on_file_range): Don't NUL the read buffer
                                            *damn auto-complete*.

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

Modified: subversion/trunk/subversion/libsvn_fs_fs/transaction.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/transaction.c?rev=1588906&r1=1588905&r2=1588906&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/transaction.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/transaction.c Mon Apr 21 15:45:08 2014
@@ -3567,7 +3567,7 @@ fnv1a_checksum_on_file_range(apr_uint32_
                              apr_off_t size,
                              apr_pool_t *pool)
 {
-  char *buffer = apr_pcalloc(pool, SVN__STREAM_CHUNK_SIZE);
+  char *buffer = apr_palloc(pool, SVN__STREAM_CHUNK_SIZE);
 
   svn_checksum_ctx_t *checksum_ctx
     = svn_checksum_ctx_create(svn_checksum_fnv1a_32x4, pool);