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

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

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

fixed by ea8454108159fb97366ac59385de75f28edf6554

-Deleted Account- <bjg>In charge of this item.
Wed 12 Aug 2009 06:31:39 PM UTC, original submission:

Hello!
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>In charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 12 Aug 2009 06:35:20 PM UTCbjgStatusConfirmed=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1