mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtprintinfo: Coverity 88414
This commit is contained in:
parent
adb9a3d8cd
commit
ccd9f88a6d
1 changed files with 1 additions and 1 deletions
|
@ -1019,7 +1019,7 @@ char *DtApp::GetBottomString(BaseObj *job, boolean need_details)
|
|||
job->AttributeValue((char *)TIME_SUBMITTED),
|
||||
job->AttributeValue((char *)DATE_SUBMITTED));
|
||||
else
|
||||
strcpy(string, job->AttributeValue((char *)OWNER));
|
||||
snprintf(string, sizeof(string), "%s", job->AttributeValue((char *)OWNER));
|
||||
}
|
||||
return string;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue