• Mike Kaganski's avatar
    tdf#120703 (PVS): handle failed calloc/realloc · 5e8cd868
    Mike Kaganski yazdı
    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: 's avatarMike Kaganski <mike.kaganski@collabora.com>
    5e8cd868
Adı
Son kayıt (commit)
Son güncelleme
..
android Loading commit data...
cppunittester Loading commit data...
inc Loading commit data...
osl Loading commit data...
qa Loading commit data...
rtl Loading commit data...
test Loading commit data...
textenc Loading commit data...
util Loading commit data...
CppunitTest_Module_DLL.mk Loading commit data...
CppunitTest_sal_osl.mk Loading commit data...
CppunitTest_sal_osl_security.mk Loading commit data...
CppunitTest_sal_rtl.mk Loading commit data...
CppunitTest_sal_types.mk Loading commit data...
Executable_cppunittester.mk Loading commit data...
Executable_osl_process_child.mk Loading commit data...
Library_lo-bootstrap.mk Loading commit data...
Library_sal.mk Loading commit data...
Library_sal_textenc.mk Loading commit data...
Makefile Loading commit data...
Module_sal.mk Loading commit data...
README Loading commit data...