GNOME Bugzilla – Bug 632811
htmlCtxtReset() does not reset ctxt->disableSAX
Last modified: 2010-10-28 09:53:17 UTC
When the HTML parser runs into a serious problem, it sets ctxt->disableSAX and stops parsing. However, calling htmlCtxtReset() afterwards does not reset this flag, so subsequent parser runs that reuse the context fail to build a document.
Thinking about this some more, this can actually lead to DoS, e.g. in a web crawler that parses broken HTML pages and reuses the context for performance reasons. Increasing the importance a bit.
Okay, right, trivial. Fix pushed ! thanks ! Daniel