summaryrefslogtreecommitdiffstats
path: root/odk
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-10-20 23:57:26 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2018-10-21 09:42:16 +0200
commit5e8cd8683d345b75297994b3f7aab851835eb124 (patch)
tree34479c138f9f59a4ff45e194ab93531c43406797 /odk
parenttdf#120703 (PVS): 920d4463f6e59b815852c173e2974ffc7b4bb284 follow-up (diff)
downloadcore-5e8cd8683d345b75297994b3f7aab851835eb124.tar.gz
core-5e8cd8683d345b75297994b3f7aab851835eb124.zip
tdf#120703 (PVS): handle failed calloc/realloc
V522 There might be dereferencing of a potential null pointer 'pProfile'. Check lines: 215, 213. V522 There might be dereferencing of a potential null pointer 'pFile'. Check lines: 1081, 1068. V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pProfile->m_Lines' is lost. Consider assigning realloc() to a temporary pointer. V522 There might be dereferencing of a potential null pointer 'pProfile->m_Lines'. Check lines: 1328, 1324. V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pProfile->m_Lines' is lost. Consider assigning realloc() to a temporary pointer. V522 There might be dereferencing of a potential null pointer 'pProfile->m_Lines'. Check lines: 1365, 1362. V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pSection->m_Entries' is lost. Consider assigning realloc() to a temporary pointer. V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pProfile->m_Sections' is lost. Consider assigning realloc() to a temporary pointer. V522 There might be dereferencing of a potential null pointer 'pProfile->m_Sections'. Check lines: 1540, 1536. Change-Id: Ib6c2c79c372120268f6101f639a3ed085534cca0 Reviewed-on: https://gerrit.libreoffice.org/62116 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'odk')
0 files changed, 0 insertions, 0 deletions