diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-20 23:20:12 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-21 07:07:43 +0200 |
commit | 70198d4f7ffc7b3139cf34764b0e6bb6971489c6 (patch) | |
tree | 7f9cb196d82062e068586388b22ca9e9600f40b0 /vcl/README.vars | |
parent | 86fd9622fb8066e1b3a41971cdf7ad76539d313c (diff) |
tdf#120703 (PVS): handle malloc/realloc failures
V769 The 'pTmpTarget' pointer in the 'pTmpTarget - pTarget' expression could be
nullptr. In such case, resulting value will be senseless and it should not
be used. Check lines: 81, 67.
V701 realloc() possible leak: when realloc() fails in allocating memory, original
pointer 'pTarget' is lost. Consider assigning realloc() to a temporary
pointer.
V769 The 'pTarget' pointer in the 'pTarget + nOffset' expression could be nullptr.
In such case, resulting value will be senseless and it should not be used.
Check lines: 85, 82.
Change-Id: I883ea42fca66467edfe26382c78636c1d48c5260
Reviewed-on: https://gerrit.libreoffice.org/62115
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/README.vars')
0 files changed, 0 insertions, 0 deletions