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

[netCDF #BNN-143450]: Bug in netCDF library.



Hi Lynton,

Thanks so much for the patch; I'll take a look at it!

-Ward

> Dear netCDF support,
> 
> Last recently I updated my ubuntu installation to the latest version,
> 16.04 Xenial Xerus LTS.
> This ports with  netCDF version 4.4.0.
> 
> I have discovered that there is a bug in the library that affects
> nc_inq_type.
> 
> I have attached a small example programe to demonstrate the problem.
> 
> The problem appears to be due to a bug on line 1590  in libdispatch/dfile.c
> 
> Version 4.4.0  has the line         if(xtype <= ATOMICTYPEMAX3) {
> Version 4.4.1  has the line         if(xtype <= ATOMICTYPEMAX5) {
> 
> In fact  the correct value is
> Version 4.4.0  has the line         if(xtype <= ATOMICTYPEMAX4) {
> 
> The example code shows that it functions correctly if I modify this line
> accordingly.
> 
> with kind regards
> 
> Lynton
> 
> 
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> 


Ticket Details
===================
Ticket ID: BNN-143450
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.