mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 88902
This commit is contained in:
parent
89427d0972
commit
207678795b
1 changed files with 1 additions and 1 deletions
|
@ -997,7 +997,7 @@ get_file_owner(char *calname, char **owner)
|
|||
*owner = NULL;
|
||||
|
||||
if (_DtCmIsUserName(calname) == B_TRUE) {
|
||||
strcpy(buf, calname);
|
||||
snprintf(buf, sizeof(buf), "%s", calname);
|
||||
} else {
|
||||
if ((log = _DtCmsGetLogFN(calname)) == NULL)
|
||||
return (CSA_E_INSUFFICIENT_MEMORY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue