From cdddc5e435768009f372770301140c042b1d8a98 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 8 Jun 2014 18:59:27 +0200 Subject: [PATCH] Fix infinite loop on readTag when END_DOCUMENT is missing. --- src/fr/devinsy/util/xml/XMLReader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fr/devinsy/util/xml/XMLReader.java b/src/fr/devinsy/util/xml/XMLReader.java index 0c376fc..10a4ebe 100644 --- a/src/fr/devinsy/util/xml/XMLReader.java +++ b/src/fr/devinsy/util/xml/XMLReader.java @@ -407,6 +407,7 @@ public class XMLReader if (event == null) { + ended = true; result = null; } else