1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

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
commit 5b62cf13ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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