mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-13 08:02:56 +00:00
Fix for possible bug
This commit is contained in:
parent
f9560ef835
commit
78102b202d
1 changed files with 1 additions and 1 deletions
|
@ -1054,7 +1054,7 @@ doContent(XML_Parser parser,
|
|||
}
|
||||
*eventPP = s;
|
||||
for (;;) {
|
||||
const char *next;
|
||||
const char *next = s; /* XmlContentTok doesn't always set the last arg */
|
||||
int tok = XmlContentTok(enc, s, end, &next);
|
||||
*eventEndPP = next;
|
||||
switch (tok) {
|
||||
|
|
Loading…
Add table
Reference in a new issue