You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2015/01/19 15:09:02 UTC

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

Author: julianfoad
Date: Mon Jan 19 14:09:01 2015
New Revision: 1653003

URL: http://svn.apache.org/r1653003
Log:
* subversion/libsvn_repos/dump.c
  (write_revision_headers): Terminate the list to avoid undefined behaviour.
    A follow-up to r1652987. Caused test failures on some platforms.

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=1653003&r1=1653002&r2=1653003&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Mon Jan 19 14:09:01 2015
@@ -416,6 +416,7 @@ write_revision_headers(svn_stream_t *str
   static const char *revision_headers_order[] =
   {
     SVN_REPOS_DUMPFILE_REVISION_NUMBER,  /* must be first */
+    NULL
   };
 
   /* Write some headers in a given order */