mirror of
https://github.com/python/cpython.git
synced 2026-05-16 09:29:00 -04:00
e78178e2c0
error callback changes the bytes object in the exception the decoder might use memory that's no longer in use. Change unicode_decode_call_errorhandler() so that it fetches the adresses of the bytes array (start and end) from the exception object and passes them back to the caller.