Crash report
What happened?
$ ./python -c "from io import BytesIO; from xml.etree.ElementTree import parse; parse(BytesIO(b'<?xml version=\"\" encoding=\"UTF\"?><a> \xd0 '))"
python: Objects/call.c:342: _PyObject_Call: Assertion `!_PyErr_Occurred(tstate)' failed.
Aborted (core dumped) ./python -c "from io import BytesIO; from xml.etree.ElementTree import parse; parse(BytesIO(b'<?xml version=\"\" encoding=\"UTF\"?><a> \xd0 '))"
Found by OSS-Fuzz in #517455264. I presumed this regression was introduced by 8ab7b43.
CC @serhiy-storchaka
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Output from running 'python -VV' on the command line:
No response
Linked PRs
Crash report
What happened?
Found by OSS-Fuzz in #517455264. I presumed this regression was introduced by 8ab7b43.
CC @serhiy-storchaka
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Output from running 'python -VV' on the command line:
No response
Linked PRs