Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List 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.
2 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 3 of 3 defect(s)


** CID 1452763:  Error handling issues  (CHECKED_RETURN)
/xmloff/source/draw/QRCodeContext.cxx: 81 in QRCodeContext::QRCodeContext(SvXMLImport &, unsigned 
short, const rtl::OUString &, const 
com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> &, const 
com::sun::star::uno::Reference<com::sun::star::drawing::XShape> &)()


________________________________________________________________________________________________________
*** CID 1452763:  Error handling issues  (CHECKED_RETURN)
/xmloff/source/draw/QRCodeContext.cxx: 81 in QRCodeContext::QRCodeContext(SvXMLImport &, unsigned 
short, const rtl::OUString &, const 
com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> &, const 
com::sun::star::uno::Reference<com::sun::star::drawing::XShape> &)()
75                         else
76                             aQRCode.ErrorCorrection = css::drawing::QRCodeErrorCorrection::HIGH;
77                     }
78     
79                     if (IsXMLToken(aLocalName, XML_QRCODE_BORDER))
80                     {
    CID 1452763:  Error handling issues  (CHECKED_RETURN)
    Calling "convertNumber" without checking return value (as is done elsewhere 23 out of 24 
times).
81                         sax::Converter::convertNumber(aQRCode.Border, sValue, 0);
82                     }
83                     break;
84     
85                 case XML_NAMESPACE_OFFICE:
86                     if (IsXMLToken(aLocalName, XML_STRING_VALUE))

** CID 1452762:  Uninitialized members  (UNINIT_CTOR)
/sw/source/ui/dbui/mmgreetingspage.hxx: 74 in 
SwGreetingsHandler::SwGreetingsHandler(SwMailMergeConfigItem &, weld::Builder &)()


________________________________________________________________________________________________________
*** CID 1452762:  Uninitialized members  (UNINIT_CTOR)
/sw/source/ui/dbui/mmgreetingspage.hxx: 74 in 
SwGreetingsHandler::SwGreetingsHandler(SwMailMergeConfigItem &, weld::Builder &)()
68             , m_xFemaleColumnLB(rBuilder.weld_combo_box("femalecol"))
69             , m_xFemaleFieldFT(rBuilder.weld_label("femalefieldft"))
70             , m_xFemaleFieldCB(rBuilder.weld_combo_box("femalefield"))
71             , m_xNeutralFT(rBuilder.weld_label("generalft"))
72             , m_xNeutralCB(rBuilder.weld_combo_box("general"))
73         {
    CID 1452762:  Uninitialized members  (UNINIT_CTOR)
    Non-static class member "m_pWizard" is not initialized in this constructor nor in any 
functions that it calls.
74         }
75     
76         ~SwGreetingsHandler() {}
77     
78         DECL_LINK(IndividualHdl_Impl, weld::ToggleButton&, void);
79         DECL_LINK(GreetingHdl_Impl, weld::Button&, void);

** CID 1452761:  Error handling issues  (UNCAUGHT_EXCEPT)
/editeng/source/items/frmitems.cxx: 2822 in SvxBrushItem::SvxBrushItem(SvxBrushItem&&)()


________________________________________________________________________________________________________
*** CID 1452761:  Error handling issues  (UNCAUGHT_EXCEPT)
/editeng/source/items/frmitems.cxx: 2822 in SvxBrushItem::SvxBrushItem(SvxBrushItem&&)()
2816         , maStrFilter(rItem.maStrFilter)
2817         , eGraphicPos(rItem.eGraphicPos)
2818         , bLoadAgain(rItem.bLoadAgain)
2819     {
2820     }
2821     
    CID 1452761:  Error handling issues  (UNCAUGHT_EXCEPT)
    An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list 
"noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually 
calls terminate().
2822     SvxBrushItem::SvxBrushItem(SvxBrushItem&& rItem) noexcept
2823         : SfxPoolItem(std::move(rItem))
2824         , aColor(std::move(rItem.aColor))
2825         , nShadingValue(std::move(rItem.nShadingValue))
2826         , xGraphicObject(std::move(rItem.xGraphicObject))
2827         , nGraphicTransparency(std::move(rItem.nGraphicTransparency))


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB73RtgzoPcQtNNP5dkHLuV1E-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy2sHx8n-2FGX94VL835wOQ4iXa90iBbtj8dxlQaQuXx7jFG2zF82eaaRN54vdmvMKN4AdOE3m2HzN7-2BZ9y6Lnww68qPo9GSYKXVxUsLyCgxMl9T9coj-2FP7GltzT9f-2Fq772ElHa6Bt7W5gN1B8znwJFBXKykGtMD-2F14ecD0lwWqwBTs-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.