• 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
..
all Loading commit data...
unx Loading commit data...
w32 Loading commit data...