homepage

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 afoglia
Recipients afoglia
Date 2009年12月18日.19:53:58
SpamBayes Score 8.881784e-14
Marked as misclassified No
Message-id <1261166041.47.0.835794497653.issue7542@psf.upfronthosting.co.za>
In-reply-to
Content
cPickle in Python 2.6.4 segfaults when trying to load the string "0.". 
pickle throws an error. cPickle should at the least not segfault.
$ python
Python 2.6.4 (r264:75706, Nov 2 2009, 14:44:17) 
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pickle, cPickle
>>> pickle.loads("0.")
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/usr/lib/python2.6/pickle.py", line 1374, in loads
 return Unpickler(file).load()
 File "/usr/lib/python2.6/pickle.py", line 858, in load
 dispatch[key](self)
 File "/usr/lib/python2.6/pickle.py", line 1138, in load_pop
 del self.stack[-1]
IndexError: list assignment index out of range
>>> cPickle.loads("0.")
Segmentation fault (core dumped)
History
Date User Action Args
2009年12月18日 19:54:27afogliasetrecipients: + afoglia
2009年12月18日 19:54:01afogliasetmessageid: <1261166041.47.0.835794497653.issue7542@psf.upfronthosting.co.za>
2009年12月18日 19:53:59afoglialinkissue7542 messages
2009年12月18日 19:53:58afogliacreate

AltStyle によって変換されたページ (->オリジナル) /