mirror of
https://github.com/stleary/JSON-java.git
synced 2026-03-17 00:03:39 -04: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