Author xiang.zhang
Recipients serhiy.storchaka, vstinner, xiang.zhang
Date 2016-10-10.17:13:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
_PyUnicodeWriter_Finish gets 2 problems now:

1. It has two same branches handling empty strings which is redundant.

2. It may leak the inner buffer object when resize_compact fails. When resize_compact fails, the buffer object is left untouched. Then the writer itself is freed and the buffer is leaked.
Date User Action Args
2016-10-10 17:13:36xiang.zhangsetrecipients: + xiang.zhang, vstinner, serhiy.storchaka
2016-10-10 17:13:36xiang.zhangsetmessageid: <>
2016-10-10 17:13:36xiang.zhanglinkissue28408 messages
2016-10-10 17:13:36xiang.zhangcreate