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 2012/07/08 00:39:26 UTC

svn commit: r1358662 - /subversion/trunk/subversion/libsvn_delta/svndiff.c

Author: stefan2
Date: Sat Jul  7 22:39:26 2012
New Revision: 1358662

URL: http://svn.apache.org/viewvc?rev=1358662&view=rev
Log:
Follow up to r1358515.

* subversion/libsvn_delta/svndiff.c
  (zlib_decode): forgot to set the length of the return buffer.

Modified:
    subversion/trunk/subversion/libsvn_delta/svndiff.c

Modified: subversion/trunk/subversion/libsvn_delta/svndiff.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/svndiff.c?rev=1358662&r1=1358661&r2=1358662&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/svndiff.c (original)
+++ subversion/trunk/subversion/libsvn_delta/svndiff.c Sat Jul  7 22:39:26 2012
@@ -483,6 +483,7 @@ zlib_decode(const unsigned char *in, apr
           svn_stringbuf_ensure(out, len);
           memcpy(out->data, in, len);
           out->data[len] = 0;
+          out->len = len;
         }
 
       return SVN_NO_ERROR;