summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-12-19 04:41:35 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-12-19 04:41:35 (GMT)
commit1fbb577ee26becacf53b92c53df356aaf227ea73 (patch)
tree269809974f51b25df90a37f3ee687d66c3c20150 /Lib
parentb6d14daa1c48d8938a140a671bcd17cb40cdd54d (diff)
downloadcpython-1fbb577ee26becacf53b92c53df356aaf227ea73.zip
cpython-1fbb577ee26becacf53b92c53df356aaf227ea73.tar.gz
cpython-1fbb577ee26becacf53b92c53df356aaf227ea73.tar.bz2
SF bug #494738: binascii_b2a_base64 overwrites memory.
binascii_b2a_base64(): We didn't allocate enough buffer space for very short inputs (e.g., a 1-byte input can produce a 5-byte output, but we only allocated 2 bytes). I expect that malloc overheads absorbed the overrun in practice, but computing a correct upper bound is a very simple change.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions