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. 14 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 1354272: FindBugs: Performance (FB.SS_SHOULD_BE_STATIC) /scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java: 58 in () ________________________________________________________________________________________________________ *** CID 1354272: FindBugs: Performance (FB.SS_SHOULD_BE_STATIC) /scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java: 58 in () 52 private GlyphGutter gg; 53 private int linecount; 54 private boolean isModified = false; 55 private static final String undoKey = "Undo"; 56 private static final String redoKey = "Redo"; 57 private CompoundEdit compoundEdit = null; >>> CID 1354272: FindBugs: Performance (FB.SS_SHOULD_BE_STATIC) >>> Unread field: >>> com.sun.star.script.framework.provider.beanshell.PlainSourceView.noLimit; >>> should this field be static? 58 private final int noLimit = -1; 59 UndoManager undoManager; 60 61 public PlainSourceView(ScriptSourceModel model) { 62 this.model = model; 63 initUI(); ** CID 1354271: Uninitialized members (UNINIT_CTOR) /sfx2/source/view/classificationhelper.cxx: 100 in <unnamed>::SfxClassificationParser::SfxClassificationParser()() ________________________________________________________________________________________________________ *** CID 1354271: Uninitialized members (UNINIT_CTOR) /sfx2/source/view/classificationhelper.cxx: 100 in <unnamed>::SfxClassificationParser::SfxClassificationParser()() 94 , m_bInProgramID(false) 95 , m_bInConfidentalityValue(false) 96 , m_bInIdentifier(false) 97 , m_bInValue(false) 98 , m_pCategory(nullptr) 99 { >>> CID 1354271: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "m_bInScale" is not initialized in this >>> constructor nor in any functions that it calls. 100 } 101 102 SfxClassificationParser::~SfxClassificationParser() 103 { 104 } 105 ** CID 1354270: Uninitialized members (UNINIT_CTOR) /libreofficekit/source/gtk/lokdocview.cxx: 184 in LOKDocViewPrivateImpl::LOKDocViewPrivateImpl()() ________________________________________________________________________________________________________ *** CID 1354270: Uninitialized members (UNINIT_CTOR) /libreofficekit/source/gtk/lokdocview.cxx: 184 in LOKDocViewPrivateImpl::LOKDocViewPrivateImpl()() 178 m_nTileSizeTwips(0), 179 m_aVisibleArea({0, 0, 0, 0}), 180 m_bVisibleAreaSet(false) 181 { 182 memset(&m_aGraphicHandleRects, 0, sizeof(m_aGraphicHandleRects)); 183 memset(&m_bInDragGraphicHandles, 0, sizeof(m_bInDragGraphicHandles)); >>> CID 1354270: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "m_nParts" is not initialized in this >>> constructor nor in any functions that it calls. 184 } 185 }; 186 187 /// Wrapper around LOKDocViewPrivateImpl, managed by malloc/memset/free. 188 struct _LOKDocViewPrivate 189 { ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libreoffice?tab=overview To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939 _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice