mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
DtHelp: Coverity (memory corruption, moderate)
This commit is contained in:
parent
539f785df9
commit
7887e99477
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,7 @@ int _DtHelpCeIconvStr(
|
|||
}
|
||||
else /* reuse the buffer */
|
||||
{
|
||||
int len = strlen(fromStr);
|
||||
int len = strlen(fromStr) + 1;
|
||||
if (len > toStrBufLen)
|
||||
*ret_toStr = realloc(toStrBuf,len);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue