Fix infinite loop on readTag when END_DOCUMENT is missing.
This commit is contained in:
parent
48d383cedc
commit
cdddc5e435
1 changed files with 1 additions and 0 deletions
|
@ -407,6 +407,7 @@ public class XMLReader
|
||||||
|
|
||||||
if (event == null)
|
if (event == null)
|
||||||
{
|
{
|
||||||
|
ended = true;
|
||||||
result = null;
|
result = null;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue