diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-07-30 13:31:40 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-07-30 13:31:40 (GMT) |
commit | e78178e2c05ec2bb628b70a8b5422bb4dae63343 (patch) | |
tree | d1c8662e41b7f8f95714bc903ad048a01673c369 /Parser/bitset.c | |
parent | 2dbde5ea444de788721e9195d644da38061204c3 (diff) | |
download | cpython-e78178e2c05ec2bb628b70a8b5422bb4dae63343.zip cpython-e78178e2c05ec2bb628b70a8b5422bb4dae63343.tar.gz cpython-e78178e2c05ec2bb628b70a8b5422bb4dae63343.tar.bz2 |
Bytes (which are the input for decoding) are mutable now. If a decoding
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.
Diffstat (limited to 'Parser/bitset.c')
0 files changed, 0 insertions, 0 deletions