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:
Caolán McNamara 2024-11-21 09:29:19 +00:00
parent 437aaf54c6
commit 36c2ce1344

View file

@ -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);