summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-09-09 06:13:41 +0000
committerTim Peters <tim.peters@gmail.com>2000-09-09 06:13:41 +0000
commit8f422461b4c19b8a66beae218311917e688f03ce (patch)
treeb6a577d50d437b8e2d388f5892fcd1f645d2c84c /Python
parent643d76d735726352dd40433b663d48617e27e200 (diff)
downloadcpython-git-8f422461b4c19b8a66beae218311917e688f03ce.tar.gz
Fix for bug 113934. string*n and unicode*n did no overflow checking at
all, either to see whether the # of chars fit in an int, or that the amount of memory needed fit in a size_t. Checking these is expensive, but the alternative is silently wrong answers (as in the bug report) or core dumps (which were easy to provoke using Unicode strings).
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions