libDtSearch: Coverity 86804
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user