1
0
Fork 0
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:
Peter Howkins 2018-07-02 23:07:39 +01:00
parent 0876476cae
commit 889650ea45

View file

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