Menu

#1 free gets uninitialized pointer

v1.0 (example)
closed
None
5
2020-05-01
2011-03-30
Anonymous
No

The commented out code in gft_1d_interpolateNN allows for the local variable temp to be passed uninitialized to free at the bottom of the function. This results in a seg fault.

Discussion

  • Robb Brown

    Robb Brown - 2014-05-29
    • status: open --> closed
    • assigned_to: Robb Brown
    • Group: --> v1.0 (example)
     
  • Robb Brown

    Robb Brown - 2014-05-29

    Fixed.

    For any Python users, scipy.interpolate.griddata is a much more powerful option.

     
  • Md Shahnawaz Hussain

    Post awaiting moderation.

Log in to post a comment.

Auth0 Logo