1
0
Fork 0
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:
Peter Howkins 2018-07-04 01:43:29 +01:00
parent adb9a3d8cd
commit ccd9f88a6d

View file

@ -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;
}