Index: third_party/libxml/src/entities.c |
diff --git a/third_party/libxml/src/entities.c b/third_party/libxml/src/entities.c |
index 64808ff64d6a83ae95739ac9f42d6979e30b5260..2851e2d4311398beb73c84416ddf7dbd500ef71f 100644 |
--- a/third_party/libxml/src/entities.c |
+++ b/third_party/libxml/src/entities.c |
@@ -159,6 +159,7 @@ xmlCreateEntity(xmlDictPtr dict, const xmlChar *name, int type, |
memset(ret, 0, sizeof(xmlEntity)); |
ret->type = XML_ENTITY_DECL; |
ret->checked = 0; |
+ ret->guard = XML_ENTITY_NOT_BEING_CHECKED; |
/* |
* fill the structure. |
@@ -931,6 +932,7 @@ xmlCopyEntity(xmlEntityPtr ent) { |
cur->orig = xmlStrdup(ent->orig); |
if (ent->URI != NULL) |
cur->URI = xmlStrdup(ent->URI); |
+ cur->guard = 0; |
return(cur); |
} |