[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GEMPAK #KSU-679066]: double free of barr in gempak/source/driver/active/gn/crnexz.c



I don't think this is where your problem is coming from.  either barr is freed 
inside the for loop at line 173, or the break at 180 allows barr to be freed at 
line 251.  If I'm missing something here let me know, but the crnexz source 
looks sound.

Michael




> > Hi Michael,
> >
> > I occasionally get segfaults running nex2img and diagnosed one of the
> > problems.
> >
> > line 251 of gempak/source/driver/active/gn/crnexz.c
> >
> > free(barr);
> >
> > This appears to be a double free situation as barr may be free'd above
> > on line 216
> >
> > daryl
> >
> > --
> > /**
> > * Daryl Herzmann
> > * Assistant Scientist -- Iowa Environmental Mesonet
> > * http://mesonet.agron.iastate.edu
> > */
> >
> >
> 


Ticket Details
===================
Ticket ID: KSU-679066
Department: Support GEMPAK
Priority: Normal
Status: Open