[Scipy-tickets] [SciPy] #1236: Potential 64 bit issue in _superlu_utils.c

SciPy Trac scipy-tickets@scipy....
Fri Jul 16 14:23:45 CDT 2010

#1236: Potential 64 bit issue in _superlu_utils.c
 Reporter:  cjgohlke             |       Owner:  wnbell
     Type:  defect               |      Status:  new   
 Priority:  normal               |   Milestone:  0.8.0 
Component:  scipy.sparse.linalg  |     Version:  0.7.0 
 Keywords:                       |  
 In scipy/sparse/linalg/dsolve/_superlu_utils.c, a memory pointer is first
 cast to a long, then stored as PyInt, which is later passed to free().
 AFAICS this can cause problems on win-amd64 where the size of long is 32
 bit but the size of a pointer is 64 bit (LLP64). I have not seen a real
 world failure due to this. A patch is attached.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1236>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list