Message96580
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) |
|
Date |
User |
Action |
Args |
2009-12-18 19:54:27 | afoglia | set | recipients:
+ afoglia |
2009-12-18 19:54:01 | afoglia | set | messageid: <1261166041.47.0.835794497653.issue7542@psf.upfronthosting.co.za> |
2009-12-18 19:53:59 | afoglia | link | issue7542 messages |
2009-12-18 19:53:58 | afoglia | create | |
|