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:
commit
5b62cf13ff
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ public class XMLTokener extends JSONTokener {
|
||||||
}
|
}
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 0:
|
case 0:
|
||||||
|
throw syntaxError("Unterminated string");
|
||||||
case '<':
|
case '<':
|
||||||
case '>':
|
case '>':
|
||||||
case '/':
|
case '/':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue