Merge pull request #485 from johnjaylward/FixMLInfiniteLoop

Fix for #484
This commit is contained in:
Sean Leary
2019-09-23 17:56:53 -05:00
committed by GitHub

View File

@@ -232,6 +232,7 @@ public class XMLTokener extends JSONTokener {
}
switch (c) {
case 0:
throw syntaxError("Unterminated string");
case '<':
case '>':
case '/':