New Defects reported by Coverity Scan for rhabacker/umbrello
scan-admin at coverity.com
scan-admin at coverity.com
Wed Jan 4 09:10:01 UTC 2017
Hi,
Please find the latest report on new defect(s) introduced to rhabacker/umbrello found with Coverity Scan.
2 new defect(s) introduced to rhabacker/umbrello found with Coverity Scan.
5 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 2 of 2 defect(s)
** CID 173732: Null pointer dereferences (FORWARD_NULL)
/home/coverity/src/umbrello/unittests/testcrashhandler.cpp: 44 in main()
________________________________________________________________________________________________________
*** CID 173732: Null pointer dereferences (FORWARD_NULL)
/home/coverity/src/umbrello/unittests/testcrashhandler.cpp: 44 in main()
38 KLocalizedString(), KLocalizedString(),
39 "");
40 KCmdLineArgs::init(argc, argv, &aboutData);
41 KApplication app;
42 #endif
43 int *a = 0;
>>> CID 173732: Null pointer dereferences (FORWARD_NULL)
>>> Dereferencing null pointer "a".
44 *a = 1;
** CID 173731: Null pointer dereferences (FORWARD_NULL)
/home/coverity/src/umbrello/umbrello/umllistviewitem.cpp: 513 in UMLListViewItem::slotEditFinished(const QString &)()
________________________________________________________________________________________________________
*** CID 173731: Null pointer dereferences (FORWARD_NULL)
/home/coverity/src/umbrello/umbrello/umllistviewitem.cpp: 513 in UMLListViewItem::slotEditFinished(const QString &)()
507 case lvt_Operation: {
508 if (m_object == 0) {
509 cancelRenameWithMsg();
510 return;
511 }
512 UMLOperation *op = m_object->asUMLOperation();
>>> CID 173731: Null pointer dereferences (FORWARD_NULL)
>>> Assigning: "parent" = "NULL".
513 UMLClassifier *parent = op ? op->umlParent()->asUMLClassifier() : 0;
514 Model_Utils::OpDescriptor od;
515 Model_Utils::Parse_Status st = Model_Utils::parseOperation(newText, od, parent);
516 if (st == Model_Utils::PS_OK) {
517 // TODO: Check that no operation with the exact same profile exists.
518 UMLApp::app()->executeCommand(new Uml::CmdRenameUMLObject(op, od.m_name));
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbneWfoX0F52Gghq-2BqUUFh5eVd8TaO133jUuHRtUP-2FQWy-2BSqTKvXGWB4PJ4toJHP0A-3D_EShgirRohr6FUhdhEf2AbZ1nkp0TrbQOboOeetrIkR-2BM-2FzWKTzE5qDZ3LIda3tttL-2FNZRpqN2LaBBjv-2FS5p7ulzSndFtoPVWk8EG6qRktOH-2Bnyuup6-2BjMHhFzbXTykmsOdPX26yQaEw05BWdOJ4ZIAtUxRQAfZOw0Eu-2FwcVDwPBEW76KTHtLLnS1Jef-2FA3LzCzQ2CuVJuKkhaF6TzIB9cWHKEMapu-2BNz2Lx-2FzZDBBSE-3D
To manage Coverity Scan email notifications for "umbrello-devel at kde.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4SjuUo8WwZlhalaw77wxDR6TvlGtHG9IoMCHNAtdPIo0gfvkxSgjiMukzLDgKgS6BzgYg-2Fe-2FHA96GDtTS-2FfrSaW7e-2BE4SCnFcHBrZn05zc8E-3D_EShgirRohr6FUhdhEf2AbZ1nkp0TrbQOboOeetrIkR-2BM-2FzWKTzE5qDZ3LIda3tttkbXACeCoYgXfkcYxS-2BMbk86OpILe5zqbVLOcg9olZW5CHtr-2FLNCUXNVBBKeSqIs3vpIWWUeTLsCjWITrJnS6npJLxu-2FSmYiL9-2FVHV2ZuHtZXkyP2-2FK1s-2BRZ44EVSBBvomeAE1QDGfEpYcqwMNoY5dmYHIKaoQ8ypLLmsLyqRw-2FU-3D
More information about the umbrello-devel
mailing list