]> granicus.if.org Git - libexpat/commit
Fix for #204, XML_ResumeParser regression
authorRhodri James <rhodri@wildebeest.org.uk>
Sun, 29 Jul 2018 19:17:27 +0000 (20:17 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Fri, 3 Aug 2018 18:19:05 +0000 (20:19 +0200)
commit3f5b1cfa75fc0f12432cdfeafd4fce1eea38a81f
tree49c5a46755f4e3548f476b28cee2cad2be715a61
parent29bc47d2af8cb06d78e6258395e67b00afb40890
Fix for #204, XML_ResumeParser regression

When we suspend at the end of input, we failed to update the
parser's m_processor field to point to the epilogProcessor.  When
the regular contentProcessor runs with no input, it returns an
error (which is what you usually want).  If we had not suspended,
in those circumstances we would have run the epilogProcessor
instead, so we just make sure this is the processor we will invoke
when we resume parsing.
expat/lib/xmlparse.c