bugGNU Scientific Library - Bugs: bug #27236, invalid frees in bspline.c


You are not allowed to post comments on this tracker with your current authentication level.

bug #27236: invalid frees in bspline.c

Submitter:  -Deleted Account- <bjg>
Submitted:  Wed 12 Aug 2009 06:31:39 PM UTC
Category:  Runtime error Severity:  3 - Normal
Operating System:  Status:  Fixed
Assigned to:  bjg Open/Closed:  Closed
Release:  1.12

Wed 12 Aug 2009 06:35:20 PM UTC, comment #1: 

fixed by ea8454108159fb97366ac59385de75f28edf6554

-Deleted Account- <bjg>
Wed 12 Aug 2009 06:31:39 PM UTC, original submission:  

Looks like I found an bugs in bspline.c., GSL 1.12. At least in
gsl_bspline_alloc  and gsl_bspline_deriv_alloc  there are a lot of
code like:
 w->deltar = gsl_vector_alloc (k);
      if (w->deltar == 0)
      free (w->deltal);
      free (w->knots);
      free (w);
It means that w->deltal was allocated as gsl_vector, but deallocated
as void* with memory leaks.

Have a nice day,
*Dr. Yevgeniy Naumovich

-Deleted Account- <bjg>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty




Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2009-08-12 bjg StatusConfirmed Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.9