Skip to content

Commit 5b62cf1

Browse files
authored
Merge pull request #485 from johnjaylward/FixMLInfiniteLoop
Fix for #484
2 parents 2a6af29 + 328e7d8 commit 5b62cf1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

XMLTokener.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ public Object nextMeta() throws JSONException {
232232
}
233233
switch (c) {
234234
case 0:
235+
throw syntaxError("Unterminated string");
235236
case '<':
236237
case '>':
237238
case '/':

0 commit comments

Comments
 (0)