New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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

3 new defect(s) introduced to LibreOffice found with Coverity Scan.


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


** CID 1530396:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx: 99 in sw::sidebar::A11yCheckIssuesPanel::~A11yCheckIssuesPanel()()


________________________________________________________________________________________________________
*** CID 1530396:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx: 99 in sw::sidebar::A11yCheckIssuesPanel::~A11yCheckIssuesPanel()()
93     
94         mpDoc = pDocSh->GetDoc();
95     
96         populateIssues();
97     }
98     
>>>     CID 1530396:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the exception specification "noexcept" doesn't allow it to be thrown. This will result in a call to terminate().
99     A11yCheckIssuesPanel::~A11yCheckIssuesPanel()
100     {
101         // Restore state when this panel is no longer used
102         if (!mbAutomaticCheckEnabled)
103         {
104             std::shared_ptr<comphelper::ConfigurationChanges> batch(

** CID 1530395:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1530395:  Uninitialized variables  (UNINIT)
/sw/source/core/inc/viewimp.hxx: 155 in SwViewShellImp::TakePaintRegion()()
149         void SetFirstVisPageInvalid() { m_bFirstPageInvalid = true; }
150     
151         const SwPageFrame* GetLastVisPage(const OutputDevice* pRenderContext) const;
152     
153         bool AddPaintRect( const SwRect &rRect );
154         bool HasPaintRegion()      { return m_oPaintRegion.has_value(); }
>>>     CID 1530395:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "ret". Field "ret._M_payload._M_payload" is uninitialized when calling "optional".
155         std::optional<SwRegionRects> TakePaintRegion() { auto ret = std::move(m_oPaintRegion); m_oPaintRegion.reset(); return ret; }
156         const std::optional<SwRegionRects>& GetPaintRegion() { return m_oPaintRegion; }
157         void DeletePaintRegion() { m_oPaintRegion.reset(); }
158     
159         void AddPendingLOKInvalidation( const SwRect& rRect );
160         std::vector<SwRect> TakePendingLOKInvalidations();

** CID 1530394:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx: 99 in sw::sidebar::A11yCheckIssuesPanel::~A11yCheckIssuesPanel()()


________________________________________________________________________________________________________
*** CID 1530394:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx: 99 in sw::sidebar::A11yCheckIssuesPanel::~A11yCheckIssuesPanel()()
93     
94         mpDoc = pDocSh->GetDoc();
95     
96         populateIssues();
97     }
98     
>>>     CID 1530394:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" is thrown but the exception specification "noexcept" doesn't allow it to be thrown. This will result in a call to terminate().
99     A11yCheckIssuesPanel::~A11yCheckIssuesPanel()
100     {
101         // Restore state when this panel is no longer used
102         if (!mbAutomaticCheckEnabled)
103         {
104             std::shared_ptr<comphelper::ConfigurationChanges> batch(


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DqgEt_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiBbdBMvNJPZ8HwxJ-2BksCTAZm6I0aJzCUwhRGQD8y3KuZW6k7Fjt-2FwJKpv8HfK4mhLuLywpWw0i1uiGIxle4Lo7AOyAGoXfBRnaZzmMzl-2FPo0DiZ-2BAyY0Ly-2B-2F8sZe-2B6YjX30M0NZSaAml-2FNvM1wQOl-2FUCE8N6sBn-2FDpStzFL8-2FVyU-3D




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux