Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2015-01-25.23:16:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422227773.79.0.793422498408.issue23321@psf.upfronthosting.co.za>
In-reply-to
Content
Debugging build crashes in some circumstances in str.decode() with error handler which produces replacement string with length larger than malformed data. For example the backslashreplace error handler produces 4-character string for every illegal byte. All other standard error handlers produce no longer than 1 character for every illegal unit.

Here is a patch which fixes this issue. I'll commit it without review because buildbots are broken without it. This issue is open for reference and post-commit review.
History
Date User Action Args
2015-01-25 23:16:13serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2015-01-25 23:16:13serhiy.storchakasetmessageid: <1422227773.79.0.793422498408.issue23321@psf.upfronthosting.co.za>
2015-01-25 23:16:13serhiy.storchakalinkissue23321 messages
2015-01-25 23:16:13serhiy.storchakacreate