This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, pitrou, serhiy.storchaka, vstinner
Date 2012-04-19.20:26:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334861262.7711.12.camel@raxxla>
In-reply-to <1334429246.7.0.746747652407.issue14579@psf.upfronthosting.co.za>
Content
There is the crasher and leaker. When Python is not crashing, there is garbage (i.e. leakage of data) at the end of the decoded string. Indeed, I see an English text in some versions of Python.

There are many other errors in utf-16 decoder (see, for example, b'\xD8\x00\xDC'.decode('utf-16be')). I'm now finishing work on a new decoder, and after that take the bug fixing in 3.2.
Files
File name Uploaded
utf16crasher.py serhiy.storchaka, 2012-04-19.20:26:08
History
Date User Action Args
2012-04-19 20:26:09serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, ezio.melotti
2012-04-19 20:26:08serhiy.storchakalinkissue14579 messages
2012-04-19 20:26:08serhiy.storchakacreate