projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85166ef
)
libDtSearch: Coverity 86768
author
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 21:53:49 +0000
(22:53 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 21:53:49 +0000
(22:53 +0100)
cde/lib/DtSearch/raima/renfile.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtSearch/raima/renfile.c
b/cde/lib/DtSearch/raima/renfile.c
index d6f75bae5a85a65e66a1282cecb37a673ccf0933..de3de2ef7a578e5a6d73a9c9621e1c69092a6ffe 100644
(file)
--- a/
cde/lib/DtSearch/raima/renfile.c
+++ b/
cde/lib/DtSearch/raima/renfile.c
@@
-110,7
+110,7
@@
renfiles(void)
ll_deaccess(&ren_list);
return( dberr(S_RENAME) );
}
- s
trcpy(file_table[NUM2INT(rp->ptr->file_no, ft_offset)].ft_name
,
+ s
nprintf(file_table[NUM2INT(rp->ptr->file_no, ft_offset)].ft_name, FILENMLEN, "%s"
,
rp->ptr->File_name.ptr);
break;
}