summaryrefslogtreecommitdiffstats
path: root/Parser/bitset.c
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-07-30 13:31:40 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-07-30 13:31:40 (GMT)
commite78178e2c05ec2bb628b70a8b5422bb4dae63343 (patch)
treed1c8662e41b7f8f95714bc903ad048a01673c369 /Parser/bitset.c
parent2dbde5ea444de788721e9195d644da38061204c3 (diff)
downloadcpython-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