random832 added the comment: 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. ---------- nosy: +random832 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25709> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com