[NumPy-Tickets] [NumPy] #1370: numpy.load() crashes on invalid data

NumPy Trac numpy-tickets@scipy....
Fri Jan 22 04:02:39 CST 2010


#1370: numpy.load() crashes on invalid data
-------------------------+--------------------------------------------------
  Reporter:  dhelfman    |       Owner:  somebody
      Type:  defect      |      Status:  closed  
  Priority:  normal      |   Milestone:  1.5.0   
 Component:  numpy.core  |     Version:  1.4.0   
Resolution:  invalid     |    Keywords:          
-------------------------+--------------------------------------------------
Changes (by pv):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 It's a bug in Python:
 {{{
 >>> import cPickle as pickle
 >>> import cStringIO as io
 >>> pickle.load(io.StringIO('0'))
 }}}
 numpy.load is a thin wrapper for cPickle.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1370#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list