mirror of
https://github.com/stleary/JSON-java.git
synced 2026-01-24 00:03:17 -05:00
Merge pull request #485 from johnjaylward/FixMLInfiniteLoop
Fix for #484
This commit is contained in:
@@ -232,6 +232,7 @@ public class XMLTokener extends JSONTokener {
|
||||
}
|
||||
switch (c) {
|
||||
case 0:
|
||||
throw syntaxError("Unterminated string");
|
||||
case '<':
|
||||
case '>':
|
||||
case '/':
|
||||
|
||||
Reference in New Issue
Block a user