[Scipy-tickets] [SciPy] #1103: wrong call PyArg_ParseTuple in __quadpack.h causes memory errors

SciPy Trac scipy-tickets@scipy....
Fri Jul 16 13:39:03 CDT 2010


#1103: wrong call PyArg_ParseTuple in __quadpack.h causes memory errors
-----------------------------------+----------------------------------------
 Reporter:  neinhues               |       Owner:  somebody    
     Type:  defect                 |      Status:  needs_review
 Priority:  high                   |   Milestone:  0.8.0       
Component:  scipy.integrate        |     Version:  0.7.0       
 Keywords:  memory error quadpack  |  
-----------------------------------+----------------------------------------
Changes (by cjgohlke):

 * cc: cgohlke@… (added)


Comment:

 I believe the correct fix these days would be to use 'n' instead of 'l'
 for argument parsing because on win-amd64 sizeof(npy_intp) !=
 sizeof(long). However, 'n' parsing is only available since Python 2.5.

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


More information about the Scipy-tickets mailing list