[Python-checkins] CVS: python/dist/src/Misc ACKS,1.145,1.146
Tim Peters
tim_one@users.sourceforge.net
Tue, 18 Dec 2001 20:41:37 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv31416/python/Misc
Modified Files:
ACKS
Log Message:
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.
Index: ACKS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/ACKS,v
retrieving revision 1.145
retrieving revision 1.146
diff -C2 -d -r1.145 -r1.146
*** ACKS 2001/12/13 19:53:26 1.145
--- ACKS 2001/12/19 04:41:35 1.146
***************
*** 93,96 ****
--- 93,97 ----
Matt Conway
David M. Cooke
+ David Costanzo
Scott Cotton
Greg Couch