Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
eccdda5c
Commit
eccdda5c
authored
Dec 10, 2014
by
Uwe Schulzweida
Browse files
changed length of attribute name from 1024 to CDI_MAX_NAME+1
parent
2793dd54
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
eccdda5c
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment