Author: rhuijben
Date: Mon Apr 13 14:28:39 2015
New Revision: 1673204

URL: http://svn.apache.org/r1673204
Log:
* subversion/libsvn_fs_fs/dag.c
  (svn_fs_fs__dag_has_props): Following up on r1673202, apply another
    check for a case where expanded_size is 0.

Found by: stefan2

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

Modified: subversion/trunk/subversion/libsvn_fs_fs/dag.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/dag.c?rev=1673204&r1=1673203&r2=1673204&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/dag.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/dag.c Mon Apr 13 14:28:39 2015
@@ -527,7 +527,9 @@ svn_fs_fs__dag_has_props(svn_boolean_t *
     {
       /* Properties are stored as a standard hash stream,
          always ending with "END\n" (4 bytes) */
-      *has_props = (noderev->prop_rep->expanded_size > 4);
+      *has_props = (noderev->prop_rep->expanded_size > 4
+                    || (noderev->prop_rep->expanded_size == 0
+                        && noderev->prop_rep->size > 4));
     }
 
   return SVN_NO_ERROR;


Reply via email to