mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Checking large-sized variables has been moved to NC_enddef() as explained in below comments at lines 491-495. This is most likely caused by git merge failed to delete residue codes.
This commit is contained in:
parent
8de0b3cf3c
commit
a2e0ef4ea6
@ -484,9 +484,6 @@ NC_var_shape(NC_var *varp, const NC_dimarray *dims)
|
||||
|
||||
out :
|
||||
|
||||
/* No variable size can be > X_INT64_MAX - 3 */
|
||||
if (0 == NC_check_vlen(varp, (size_t)X_INT64_MAX-3)) return NC_EVARSIZE;
|
||||
|
||||
/*
|
||||
* For CDF-1 and CDF-2 formats, the total number of array elements
|
||||
* cannot exceed 2^32, unless this variable is the last fixed-size
|
||||
|
Loading…
Reference in New Issue
Block a user