diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-12-19 04:41:35 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-12-19 04:41:35 (GMT) |
commit | 1fbb577ee26becacf53b92c53df356aaf227ea73 (patch) | |
tree | 269809974f51b25df90a37f3ee687d66c3c20150 /Misc | |
parent | b6d14daa1c48d8938a140a671bcd17cb40cdd54d (diff) | |
download | cpython-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 'Misc')
-rw-r--r-- | Misc/ACKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -92,6 +92,7 @@ Benjamin Collar Jeffery Collins Matt Conway David M. Cooke +David Costanzo Scott Cotton Greg Couch Steve Cousins |