Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hi,

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

2 new defect(s) introduced to LibreOffice found with Coverity Scan.
13 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 2 of 2 defect(s)


** CID 1436922:  Null pointer dereferences  (REVERSE_INULL)
/sw/source/core/text/txtfrm.cxx: 1987 in SwTextFrame::SwClientNotify(const SwModify &, const 
SfxHint &)()


________________________________________________________________________________________________________
*** CID 1436922:  Null pointer dereferences  (REVERSE_INULL)
/sw/source/core/text/txtfrm.cxx: 1987 in SwTextFrame::SwClientNotify(const SwModify &, const 
SfxHint &)()
1981                         InvalidatePrt_();
1982                     }
1983     
1984                     const bool bMergeModify = (m_pMergedPara &&
1985                             (m_pMergedPara->pParaPropsNode != &rModify ||
1986                              m_pMergedPara->pFirstNode != &rModify));
    CID 1436922:  Null pointer dereferences  (REVERSE_INULL)
    Null-checking "pNew" suggests that it may be null, but it has already been dereferenced on 
all paths leading to the check.
1987                     const bool bHasOldNew = pOld && pNew;
1988                     if ((nClear || bMergeModify) && bHasOldNew)
1989                     {
1990                         SwAttrSetChg aOldSet( *static_cast<const SwAttrSetChg*>(pOld) );
1991                         SwAttrSetChg aNewSet( *static_cast<const SwAttrSetChg*>(pNew) );
1992     

** CID 1436921:  Memory - illegal accesses  (WRAPPER_ESCAPE)
/vcl/unx/generic/app/sm.cxx: 73 in X11SalInstance::CreateSalSession()()


________________________________________________________________________________________________________
*** CID 1436921:  Memory - illegal accesses  (WRAPPER_ESCAPE)
/vcl/unx/generic/app/sm.cxx: 73 in X11SalInstance::CreateSalSession()()
67     
68     std::unique_ptr<SalSession> X11SalInstance::CreateSalSession()
69     {
70         SAL_INFO("vcl.sm", "X11SalInstance::CreateSalSession");
71     
72         std::unique_ptr<SalSession> p(new IceSalSession);
    CID 1436921:  Memory - illegal accesses  (WRAPPER_ESCAPE)
    The internal representation of local "p" escapes, but is destroyed when it exits scope.
73         SessionManagerClient::open(p.get());
74         return p;
75     }
76     
77     void IceSalSession::queryInteraction()
78     {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyXqpsGoC-2BHiF-2Bd8nuqU01dMYx-2FK7rMr7LJqVacKLBW2BYJH8puO4nTs7Z6LYrxkQ4Yq0hogRakLNsHFnhjVTrFKy8Fl1HS040jJylvu9fVG3PTqzvUSRW7nqWgJnFjYsRQ7cf7b3YFK-2FBqkfH9Hn2PnmNmBWIMGk700NfzJmosJs-3D


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.