New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Thu Jan 30 18:28:55 UTC 2020


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

1 new defect(s) introduced to LibreOffice found with Coverity Scan.
7 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1458033:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1458033:  Null pointer dereferences  (FORWARD_NULL)
/sw/source/uibase/utlui/content.cxx: 1778 in SwContentTree::Display(bool)()
1772                         pSelEntry = pEntry;
1773                     sal_Int32 nExpandOptions = (State::HIDDEN == m_eState)
1774                                                 ? m_nHiddenBlock
1775                                                 : m_nActiveBlock;
1776                     if(nExpandOptions & (1 << static_cast<int>(nCntType)))
1777                     {
>>>     CID 1458033:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "pEntry" to "Expand", which dereferences it.
1778                         Expand(pEntry);
1779                         if(nEntryRelPos && nCntType == m_nLastSelType)
1780                         {
1781                             // Now maybe select an additional child
1782                             SvTreeListEntry* pChild = pEntry;
1783                             SvTreeListEntry* pTemp = nullptr;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB73RtgzoPcQtNNP5dkHLuV1E-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyxysW7rpEyl46cj7viDyaDaTzic7Q-2BUaZ9h5gbnHGOkEovnQ8wMMrVLSUs1iLp9aSOQ-2BgkJMDLqqPEh-2FAUOFMAPmBkBATIc7UhIw0Y-2B-2BrdqU2lpIDX1YWOvMWaAFJ5bgwjNCuRSFv1y-2FCo1gLvPIL98nQRINBXPXSK8F8L0bgP4PQIXwh-2B732e89tDGSHqTMN



More information about the LibreOffice mailing list