[go: up one dir, main page]

Skip to content

Commit

Permalink
SF bug #1515266: missing check of stopped parser in doContext() for loop
Browse files Browse the repository at this point in the history
(variation of patch by Brett Cannon; test case to come tomorrow)
  • Loading branch information
freddrake committed Jul 1, 2006
1 parent 3e3b98d commit 021ea9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions expat/lib/xmlparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2555,6 +2555,8 @@ doContent(XML_Parser parser,
(int)(dataPtr - (ICHAR *)dataBuf));
if (s == next)
break;
if (ps_parsing == XML_FINISHED)
break;
*eventPP = s;
}
}
Expand Down

0 comments on commit 021ea9f

Please sign in to comment.