diff options
| author | Tim Peters <tim.peters@gmail.com> | 2001-12-19 04:41:35 +0000 |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2001-12-19 04:41:35 +0000 |
| commit | 1fbb577ee26becacf53b92c53df356aaf227ea73 (patch) | |
| tree | 269809974f51b25df90a37f3ee687d66c3c20150 /Lib/cgitb.py | |
| parent | b6d14daa1c48d8938a140a671bcd17cb40cdd54d (diff) | |
| download | cpython-git-1fbb577ee26becacf53b92c53df356aaf227ea73.tar.gz | |
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/cgitb.py')
0 files changed, 0 insertions, 0 deletions
