summaryrefslogtreecommitdiff
path: root/Lib/test/pickletester.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-07 02:32:21 +0000
committerMartin Panter <vadmium+py@gmail.com>2015-11-07 02:32:21 +0000
commiteeb896c4116dd763efea45cb3c1b53257128f4e4 (patch)
tree34e8df45212ee5c99849dfca30977b92901615d6 /Lib/test/pickletester.py
parent9ad0aae6566311c6982a20955381cda5a2954519 (diff)
downloadcpython-git-eeb896c4116dd763efea45cb3c1b53257128f4e4.tar.gz
Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary
This avoids possible buffer overreads when int(), float(), compile(), exec() and eval() are passed bytes-like objects. Similar code is removed from the complex() constructor, where it was not reachable. Patch by John Leitch, Serhiy Storchaka and Martin Panter.
Diffstat (limited to 'Lib/test/pickletester.py')
0 files changed, 0 insertions, 0 deletions