Commit f9e7997e803457b714352c4d51a96104ae298d94

Nick Wellnhofer 2017-06-10T00:33:07

Reset parser input pointers on encoding failure Call xmlBufResetInput before bailing out if switching the encoding fails. Otherwise, the input pointers are left in an invalid state. This would typically lead to an internal error in xmlGROW but could also cause other unforeseen problems.