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 2013/10/16 22:10:01 UTC

svn commit: r1532879 - /subversion/trunk/subversion/libsvn_repos/dump.c

Author: stefan2
Date: Wed Oct 16 20:10:01 2013
New Revision: 1532879

URL: http://svn.apache.org/r1532879
Log:
Follow-up to r1532866: make the de-serializer actually return
a pointer to the copy of the cache contents.

* subversion/libsvn_repos/dump.c
  (deserialize_node_kind): fix access violation

Modified:
    subversion/trunk/subversion/libsvn_repos/dump.c

Modified: subversion/trunk/subversion/libsvn_repos/dump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/dump.c?rev=1532879&r1=1532878&r2=1532879&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Wed Oct 16 20:10:01 2013
@@ -1494,7 +1494,7 @@ deserialize_node_kind(void **out,
                       apr_size_t data_len,
                       apr_pool_t *pool)
 {
-  *(svn_node_kind_t *)out = *(svn_node_kind_t *)data;
+  *(svn_node_kind_t **)out = (svn_node_kind_t *)data;
 
   return SVN_NO_ERROR;
 }