mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
libDtHelp: Coverity 88440
This commit is contained in:
parent
1fb5110337
commit
adb9a3d8cd
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ _DtHelpFileTraceLinks (
|
|||
if ( NULL == *pPathName ) return False; /* RETURN */
|
||||
|
||||
/* init */
|
||||
strcpy(buf[0],*pPathName);
|
||||
snprintf(buf[0], sizeof(buf[0]), "%s", *pPathName);
|
||||
linkPath = buf[0]; /* will be assigned to filePath below */
|
||||
curBuf = 1; /* next valid buf */
|
||||
|
||||
|
|
Loading…
Reference in a new issue