subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1580832 - /subversion/trunk/subversion/svnrdump/util.c
Date Mon, 24 Mar 2014 13:13:04 GMT
Author: rhuijben
Date: Mon Mar 24 13:13:03 2014
New Revision: 1580832

URL: http://svn.apache.org/r1580832
Log:
* subversion/svnrdump/util.c
  (svn_rdump__normalize_prop): Resolve segfault on deleting a eol
    normalized property.

Modified:
    subversion/trunk/subversion/svnrdump/util.c

Modified: subversion/trunk/subversion/svnrdump/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnrdump/util.c?rev=1580832&r1=1580831&r2=1580832&view=diff
==============================================================================
--- subversion/trunk/subversion/svnrdump/util.c (original)
+++ subversion/trunk/subversion/svnrdump/util.c Mon Mar 24 13:13:03 2014
@@ -35,7 +35,7 @@ svn_rdump__normalize_prop(const char *na
                           const svn_string_t **value,
                           apr_pool_t *result_pool)
 {
-  if (svn_prop_needs_translation(name))
+  if (svn_prop_needs_translation(name) && *value)
     {
       const char *cstring;
 



Mime
View raw message