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

[netCDF #MNX-138856]: ncdump bug

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #MNX-138856]: ncdump bug
  • Date: Mon, 27 Nov 2006 08:40:00 -0700

> The statement on line 640 of ncdump.c:
> 
> free (attvals);
> 
> needs to be moved below the "Printf()" line (#644).
> 
> --Chris
> 
> 

Howdy Chris!

Thanks for pointing this out - we are looking at it closely. Surely it seems 
wrong to use attvals after freeing it! ;-)

We'll let you know what happens with this after the programmer in charge of 
ncdump gets a chance to look at it...

Thanks!

Ed

Ticket Details
===================
Ticket ID: MNX-138856
Department: Support netCDF
Priority: Normal
Status: Open