NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

20020620: netCDF 3.5.0 bug found and fixed: NC_check_name



Jianwei,

> To: <address@hidden>
> From: Jianwei Li <address@hidden>
> Subject: Bug found and fixed
> Organization: Northwestern University, ECE Dept.
> Keywords: 200206192037.g5JKbfa24245 netCDF 3.5.0 attr.c

The above message contained the following:

> Hello,
> 
> I found a small but important bug in netCDF 3.5.0 (C library).
> 
> In the library source file "src/libsrc/attr.c" [line 511]:
> 
>       status = NC_check_name(name)
> 
> should be changed to
> 
>       status = NC_check_name(newname)
> 
> This is important for a valid CDL syntax.
> 
> 
> Jianwei
> 
> Northwestern University, ECE Dept.
> (847)467-2299

You're absolutely right.  We've made the correction and it will be in
the next release.

Thanks for reporting this.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>