Commit eccdda5c authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

changed length of attribute name from 1024 to CDI_MAX_NAME+1

parent 2793dd54
......@@ -559,7 +559,7 @@ void defineAttributes(int vlistID, int varID, int fileID, int ncvarID)
int natts, iatt;
int atttype, attlen;
size_t len;
char attname[1024];
char attname[CDI_MAX_NAME+1];
void *attBuf = NULL;
size_t attBufSize = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment