Hi, Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
6 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 6 of 6 defect(s) ** CID 1402078: Error handling issues (UNCAUGHT_EXCEPT) /sfx2/source/view/viewfrm.cxx: 1416 in SfxViewFrame::~SfxViewFrame()() ________________________________________________________________________________________________________ *** CID 1402078: Error handling issues (UNCAUGHT_EXCEPT) /sfx2/source/view/viewfrm.cxx: 1416 in SfxViewFrame::~SfxViewFrame()() 1410 m_pImpl->pWindow = VclPtr<SfxFrameViewWindow_Impl>::Create( this, rFrame.GetWindow() ); 1411 m_pImpl->pWindow->SetSizePixel( rFrame.GetWindow().GetOutputSizePixel() ); 1412 rFrame.SetOwnsBindings_Impl( true ); 1413 rFrame.CreateWorkWindow_Impl(); 1414 } 1415 >>> CID 1402078: Error handling issues (UNCAUGHT_EXCEPT) >>> An exception of type "com::sun::star::uno::DeploymentException" is >>> thrown but the throw list "throw()" doesn't allow it to be thrown. This >>> will cause a call to unexpected() which usually calls terminate(). 1416 SfxViewFrame::~SfxViewFrame() 1417 { 1418 m_pImpl->bIsDowning = true; 1419 1420 if ( SfxViewFrame::Current() == this ) 1421 SfxViewFrame::SetViewFrame( nullptr ); ** CID 1402077: Error handling issues (UNCAUGHT_EXCEPT) /sc/source/ui/view/viewdata.cxx: 495 in ScViewData::~ScViewData()() ________________________________________________________________________________________________________ *** CID 1402077: Error handling issues (UNCAUGHT_EXCEPT) /sc/source/ui/view/viewdata.cxx: 495 in ScViewData::~ScViewData()() 489 return &pDocShell->GetDocument(); 490 491 OSL_FAIL("no document on ViewData"); 492 return nullptr; 493 } 494 >>> CID 1402077: Error handling issues (UNCAUGHT_EXCEPT) >>> An exception of type "com::sun::star::uno::DeploymentException" is >>> thrown but the throw list "throw()" doesn't allow it to be thrown. This >>> will cause a call to unexpected() which usually calls terminate(). 495 ScViewData::~ScViewData() 496 { 497 KillEditView(); 498 delete pOptions; 499 ::std::for_each( 500 maTabData.begin(), maTabData.end(), std::default_delete<ScViewDataTable>()); ** CID 1402076: Resource leaks (RESOURCE_LEAK) /xmlsecurity/source/gpg/CipherContext.cxx: 20 in CipherContext::convertWithCipherContext(const com::sun::star::uno::Sequence<signed char> &)() ________________________________________________________________________________________________________ *** CID 1402076: Resource leaks (RESOURCE_LEAK) /xmlsecurity/source/gpg/CipherContext.cxx: 20 in CipherContext::convertWithCipherContext(const com::sun::star::uno::Sequence<signed char> &)() 14 using namespace css::lang; 15 16 Sequence< sal_Int8 > SAL_CALL CipherContext::convertWithCipherContext( const Sequence< sal_Int8 >& /*aData*/ ) 17 throw ( IllegalArgumentException, DisposedException, RuntimeException, std::exception) 18 { 19 Sequence<sal_Int8>* seq = new Sequence< sal_Int8 >(0); >>> CID 1402076: Resource leaks (RESOURCE_LEAK) >>> Variable "seq" going out of scope leaks the storage it points to. 20 return *seq; 21 } 22 23 uno::Sequence< sal_Int8 > SAL_CALL CipherContext::finalizeCipherContextAndDispose() 24 throw (DisposedException, RuntimeException, std::exception) 25 { ** CID 1402075: Resource leaks (RESOURCE_LEAK) /xmlsecurity/source/gpg/DigestContext.cxx: 27 in DigestContext::finalizeDigestAndDispose()() ________________________________________________________________________________________________________ *** CID 1402075: Resource leaks (RESOURCE_LEAK) /xmlsecurity/source/gpg/DigestContext.cxx: 27 in DigestContext::finalizeDigestAndDispose()() 21 } 22 23 uno::Sequence< sal_Int8 > SAL_CALL DigestContext::finalizeDigestAndDispose() 24 throw (DisposedException, RuntimeException, std::exception) 25 { 26 Sequence<sal_Int8>* seq = new Sequence< sal_Int8 >(0); >>> CID 1402075: Resource leaks (RESOURCE_LEAK) >>> Variable "seq" going out of scope leaks the storage it points to. 27 return *seq; 28 } 29 ** CID 1402074: Resource leaks (RESOURCE_LEAK) /xmlsecurity/source/gpg/CipherContext.cxx: 27 in CipherContext::finalizeCipherContextAndDispose()() ________________________________________________________________________________________________________ *** CID 1402074: Resource leaks (RESOURCE_LEAK) /xmlsecurity/source/gpg/CipherContext.cxx: 27 in CipherContext::finalizeCipherContextAndDispose()() 21 } 22 23 uno::Sequence< sal_Int8 > SAL_CALL CipherContext::finalizeCipherContextAndDispose() 24 throw (DisposedException, RuntimeException, std::exception) 25 { 26 Sequence<sal_Int8>* seq = new Sequence< sal_Int8 >(0); >>> CID 1402074: Resource leaks (RESOURCE_LEAK) >>> Variable "seq" going out of scope leaks the storage it points to. 27 return *seq; 28 } 29 ** CID 1402073: Incorrect expression (MIXED_ENUMS) /editeng/source/items/textitem.cxx: 516 in SvxPostureItem::QueryValue(com::sun::star::uno::Any &, unsigned char) const() ________________________________________________________________________________________________________ *** CID 1402073: Incorrect expression (MIXED_ENUMS) /editeng/source/items/textitem.cxx: 516 in SvxPostureItem::QueryValue(com::sun::star::uno::Any &, unsigned char) const() 510 switch( nMemberId ) 511 { 512 case MID_ITALIC: 513 rVal <<= (bool)GetBoolValue(); 514 break; 515 case MID_POSTURE: >>> CID 1402073: Incorrect expression (MIXED_ENUMS) >>> Mixing enum types "com::sun::star::awt::FontSlant" and "FontItalic" for >>> "<temporary>". 516 rVal <<= (awt::FontSlant)GetValue(); // values from awt::FontSlant and FontItalic are equal 517 break; 518 } 519 return true; 520 } 521 ________________________________________________________________________________________________________ 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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyF9xCDvgLkczmPzbw8BqD9OR4cW4OwwRT7ZzcQltN8GXqRYQwAB-2FzOOdcviMxad-2B6Y-2BkkWkdjlRzvG9peyJQnvTnjbCvqTJdoA23m8H0ngNzTI0VEQffwwjJuXrxevUhyGzy4s0BvV9EGNevokR6a88rpFVZ-2FAFCuKRijSzDkNGc-3D To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyF9xCDvgLkczmPzbw8BqD9MvlYY0k-2BHerNkbAt6bwhHQgbV5qkGXhzk9-2BxA9JD7KUZBb-2BOEB0MualriAL50JDd5eFJB33itUe2ROLCjECSLQCcE12rgsk1mXd0Qdnr3FZi-2BDBLKcPPMKD7fjqUVODvtUF3oxqAn-2Bbn0OPL8QRWmo-3D _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice