cid#1608081 silence Overflowed array index write
Change-Id: I40d4207eafe46736a122e07c56f6db94cb517697 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177044 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
437aaf54c6
commit
36c2ce1344
1 changed files with 1 additions and 0 deletions
|
@ -516,6 +516,7 @@ static ProgressStatus read_percent(ChildInfo const *info, int *pPercent)
|
|||
memmove(pBuffer, pNext, nNotProcessed);
|
||||
|
||||
/* read data */
|
||||
// coverity[ tainted_data_return : FALSE ] version 2023.12.2
|
||||
ssize_t nThisRead = read(child_info_get_status_fd(info),
|
||||
pBuffer + nNotProcessed, BUFFER_LEN - nNotProcessed);
|
||||
|
||||
|
|
Loading…
Reference in a new issue