mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
libDtSearch: Coverity 86804
This commit is contained in:
parent
d7225fde79
commit
c8233c9200
1 changed files with 1 additions and 2 deletions
|
@ -282,8 +282,7 @@ int ve_initialize (void)
|
||||||
*/
|
*/
|
||||||
if (db->dbrec.or_fzkeysz > 0) {
|
if (db->dbrec.or_fzkeysz > 0) {
|
||||||
/* build complete path-file name */
|
/* build complete path-file name */
|
||||||
strcpy (d9x_fname, db->path);
|
snprintf(d9x_fname, sizeof(d9x_fname), "%s%s", db->path, db->name);
|
||||||
strcat (d9x_fname, db->name);
|
|
||||||
d9x_fext = d9x_fname + strlen (d9x_fname);
|
d9x_fext = d9x_fname + strlen (d9x_fname);
|
||||||
strcpy (d9x_fext, ".d97");
|
strcpy (d9x_fext, ".d97");
|
||||||
if (debugging)
|
if (debugging)
|
||||||
|
|
Loading…
Reference in a new issue