mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtfile/SharedProcs.c: coverity CID 174852; int overflow
This commit is contained in:
parent
9412da725b
commit
b4c4fb594d
1 changed files with 1 additions and 1 deletions
|
@ -1656,7 +1656,7 @@ _DtPathFromInput(
|
|||
|
||||
if (read_ok)
|
||||
{
|
||||
command[strlen(command)-1] = '\0';
|
||||
command[MAXPATHLEN-1] = '\0';
|
||||
XtFree(path);
|
||||
path = XtNewString(command);
|
||||
pclose(pfp);
|
||||
|
|
Loading…
Reference in a new issue