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 random832
Recipients kbk, random832, roger.serwy, serhiy.storchaka, steven.daprano, terry.reedy, Árpád Kósa
Date 2015-11-23.17:40:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448300409.13.0.675647995453.issue25709@psf.upfronthosting.co.za>
In-reply-to
Content
I've looked at the raw bytes [through a ctypes pointer to id(s)] of a string affected by the issue, and decoded enough to be able to tell that the bad string has an incorrect UTF-8 length and data, which pickle presumably relies on.

HEAD............length..hash....flgs....wstr....u8len...u8ptr...wstrl...data....
010000003094ac6403000000ffffffffa40000000000000004000000d814480000000000e0e0e000
010000003094ac6403000000e5d0030ca400006500000000060000008814480000000000e0e0e000

I've omitted the UTF-8 data, but both were null-terminated after four and six bytes respectively.
History
Date User Action Args
2015-11-23 17:40:09random832setrecipients: + random832, terry.reedy, kbk, roger.serwy, steven.daprano, serhiy.storchaka, Árpád Kósa
2015-11-23 17:40:09random832setmessageid: <1448300409.13.0.675647995453.issue25709@psf.upfronthosting.co.za>
2015-11-23 17:40:09random832linkissue25709 messages
2015-11-23 17:40:08random832create