Fix use-after-free in xmlParseContentInternal()
- 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).