[umbrello-devel] New Defects reported by Coverity Scan for Umbrello UML Modeller

scan-admin at coverity.com scan-admin at coverity.com
Thu Jun 11 10:38:38 UTC 2015


Hi,

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

1 new defect(s) introduced to Umbrello UML Modeller found with Coverity Scan.
10 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 1 of 1 defect(s)


** CID 96064:  Memory - illegal accesses  (UNINIT)
/home/umbrello/src/umbrello/unittests/TEST_classifier.cpp: 43 in TEST_classifier::initTestCase()()


________________________________________________________________________________________________________
*** CID 96064:  Memory - illegal accesses  (UNINIT)
/home/umbrello/src/umbrello/unittests/TEST_classifier.cpp: 43 in TEST_classifier::initTestCase()()
37     //-----------------------------------------------------------------------------
38     void TEST_classifier::initTestCase()
39     {
40         // FIXME  we need to force QTEST_MAIN to use the GUI variant
41         char **argv;
42         int argc = 0;
>>>     CID 96064:  Memory - illegal accesses  (UNINIT)
>>>     Using uninitialized value "argv" when calling "QApplication".
43         app = new QApplication(argc, argv);
44         QWidget *w = new QWidget;
45         umlApp = new UMLApp(w);
46     }
47     
48     void TEST_classifier::cleanupTestCase()


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/3327?tab=overview

To manage Coverity Scan email notifications for "umbrello-devel at kde.org", click https://scan.coverity.com/subscriptions/edit?email=umbrello-devel%40kde.org&token=5fd61726dd9f6c9e1c4e067b821d8371 .



More information about the umbrello-devel mailing list