Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
358ea982
Commit
358ea982
authored
Mar 04, 2015
by
Uwe Schulzweida
Browse files
some FIXME comments [patch 4 from Nathanael]
parent
7233a455
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/table.c
View file @
358ea982
...
...
@@ -841,7 +841,7 @@ int tableInqParName(int tableID, int code, char *varname)
if
(
parTable
[
tableID
].
pars
[
item
].
id
==
code
)
{
if
(
parTable
[
tableID
].
pars
[
item
].
name
)
strcpy
(
varname
,
parTable
[
tableID
].
pars
[
item
].
name
);
strcpy
(
varname
,
parTable
[
tableID
].
pars
[
item
].
name
);
//FIXME: This may overrun the supplied buffer!
break
;
}
}
...
...
src/vlist.c
View file @
358ea982
...
...
@@ -1176,6 +1176,7 @@ void vlistDefTaxis(int vlistID, int taxisID)
if
(
vlistptr
->
taxisID
!=
taxisID
)
{
//FIXME: This code seems to leak a taxis_t object if `vlistptr->taxisID` was valid before the call to vlistDefTaxis.
vlistptr
->
taxisID
=
taxisID
;
reshSetStatus
(
vlistID
,
&
vlistOps
,
RESH_DESYNC_IN_USE
);
}
...
...
src/vlist_var.c
View file @
358ea982
...
...
@@ -496,7 +496,7 @@ void vlistInqVarName(int vlistID, int varID, char *name)
}
}
else
strcpy
(
name
,
vlistptr
->
vars
[
varID
].
name
);
strcpy
(
name
,
vlistptr
->
vars
[
varID
].
name
);
//FIXME: This may overrun the provided buffer.
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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