Files
cpython/Objects
Alexandre Vassalotti fd00916c2e Grow the allocated buffer in PyUnicode_EncodeUTF7 to avoid buffer overrun.
Without this change, test_unicode.UnicodeTest.test_codecs_utf7 crashes in
debug mode. What happens is the unicode string u'\U000abcde' with a length
of 1 encodes to the string '+2m/c3g-' of length 8. Since only 5 bytes is
reserved in the buffer, a buffer overrun occurs.
2009-07-07 02:17:30 +00:00
..
2009-05-23 23:23:01 +00:00
2009-05-05 09:20:52 +00:00
2009-06-04 01:40:29 +00:00
2009-06-16 17:43:44 +00:00
2009-06-16 23:13:09 +00:00
2009-05-23 23:23:01 +00:00
2008-08-24 05:04:52 +00:00