mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 19:15:27 -04:00
Merge pull request #485 from johnjaylward/FixMLInfiniteLoop
Fix for #484
This commit is contained in:
commit
5b62cf13ff
@ -232,6 +232,7 @@ public class XMLTokener extends JSONTokener {
|
||||
}
|
||||
switch (c) {
|
||||
case 0:
|
||||
throw syntaxError("Unterminated string");
|
||||
case '<':
|
||||
case '>':
|
||||
case '/':
|
||||
|
Loading…
x
Reference in New Issue
Block a user