URL:
<http://savannah.gnu.org/bugs/?27236>
Summary: invalid frees in bspline.c
Project: GNU Scientific Library
Submitted by: bjg
Submitted on: Wed 12 Aug 2009 07:31:39 PM BST
Category: Runtime error
Severity: 3 - Normal
Operating System:
Status: Confirmed
Assigned to: bjg
Open/Closed: Open
Release: 1.12
Discussion Lock: Any
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27236>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl