mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
libDtSearch: Coverity 86780
This commit is contained in:
parent
5854fdca38
commit
d7225fde79
1 changed files with 2 additions and 1 deletions
|
@ -1055,7 +1055,8 @@ OCFOPEN_OK:
|
||||||
/* parse KEYWORD */
|
/* parse KEYWORD */
|
||||||
if ((token = _XStrtok(inbuf, DELIMITERS, strtok_buf)) == NULL)
|
if ((token = _XStrtok(inbuf, DELIMITERS, strtok_buf)) == NULL)
|
||||||
continue;
|
continue;
|
||||||
strcpy (uprtoken, token);
|
|
||||||
|
snprintf(uprtoken, sizeof(uprtoken), "%s", token);
|
||||||
strupr (uprtoken);
|
strupr (uprtoken);
|
||||||
|
|
||||||
if (strcmp (uprtoken, "PATH") == 0) {
|
if (strcmp (uprtoken, "PATH") == 0) {
|
||||||
|
|
Loading…
Reference in a new issue