Skip to content

Fix use-after-free in xmlParseContentInternal()

David Kilzer requested to merge ddkilzer/libxml2:ddkilzer/issue-518 into master
  • parser.c: (xmlParseCharData):
  • Check if the parser has stopped before advancing ctxt->input->cur. This only occurs if a custom SAX error handler calls xmlStopParser() on fatal errors.

Fixes #518 (closed).

Merge request reports