diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-21 00:34:25 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-21 07:08:05 +0200 |
commit | 79e837d8e2fb961cd4825566f07aabf031fddb5f (patch) | |
tree | 74952c7f0a976a37e2649c72149bfe4abda4743e /icon-themes | |
parent | 70198d4f7ffc7b3139cf34764b0e6bb6971489c6 (diff) |
tdf#120703 (PVS): handle failed (re)allocations
V769 The 'readBuf' pointer in the 'readBuf + readAll' expression could be nullptr.
In such case, resulting value will be senseless and it should not be used.
Check lines: 171, 166.
V701 realloc() possible leak: when realloc() fails in allocating memory, original
pointer 'readBuf' is lost. Consider assigning realloc() to a temporary
pointer.
Change-Id: I2e15a1abb79516dd42d64256463333bb54eab5b8
Reviewed-on: https://gerrit.libreoffice.org/62117
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'icon-themes')
0 files changed, 0 insertions, 0 deletions