[issue6553] cPickle "binunicode" segmentation fault

2009-07-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Fixed in r74189 (trunk) and r74190 (2.6) Thanks for the report! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue6553] cPickle "binunicode" segmentation fault

2009-07-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Attached patch fixes the problem. -- assignee: -> amaury.forgeotdarc keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file14552/pickle_badinput.patch ___ Python tracker

[issue6553] cPickle "binunicode" segmentation fault

2009-07-23 Thread Patrick Strawderman
New submission from Patrick Strawderman : When reading from a file-like object (like StringIO), cPickle uses the read_other function, which doesn't check that the number of bytes requested is the actual number of bytes read (like the read_cStringIO function does). Functions like load_binunicode