mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
libDtSearch: Coverity 86944
This commit is contained in:
parent
0876476cae
commit
889650ea45
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ int DtSearchHighlight (
|
|||
usrblk.stemcount = stemcount;
|
||||
cptr = stems;
|
||||
for (i = 0; i < stemcount; i++) {
|
||||
strcpy (usrblk.stems[i], cptr);
|
||||
snprintf(usrblk.stems[i], sizeof(usrblk.stems[i]), "%s", cptr);
|
||||
cptr += DtSrMAXWIDTH_HWORD;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue