New Defects reported by Coverity Scan for Umbrello UML Modeller
scan-admin at coverity.com
scan-admin at coverity.com
Thu Aug 25 07:20:10 UTC 2016
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.
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 1 of 1 defect(s)
** CID 169248: Null pointer dereferences (FORWARD_NULL)
/home/coverity/src/umbrello/umbrello/dialogs/pages/classifierlistpage.cpp: 823 in ClassifierListPage::addClassifier(UMLClassifierListItem *, int)()
________________________________________________________________________________________________________
*** CID 169248: Null pointer dereferences (FORWARD_NULL)
/home/coverity/src/umbrello/umbrello/dialogs/pages/classifierlistpage.cpp: 823 in ClassifierListPage::addClassifier(UMLClassifierListItem *, int)()
817 }
818 return c->addEnumLiteral(dynamic_cast<UMLEnumLiteral*>(listitem), position);
819 break;
820 }
821 case UMLObject::ot_EntityAttribute: {
822 UMLEntity* c = dynamic_cast<UMLEntity*>(m_pClassifier);
>>> CID 169248: Null pointer dereferences (FORWARD_NULL)
>>> Comparing "c" to null implies that "c" might be null.
823 if (!c) {
824 uError() << "Dynamic cast to UMLEntity failed for" << listitem->name();
825 }
826 return c->addEntityAttribute(dynamic_cast<UMLEntityAttribute*>(listitem), position);
827 break;
828 }
________________________________________________________________________________________________________
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-2FoQiwGTLTQzW34e2BnV4PZhEGakdJNxxgL8ZD6vdaj7VgvDhwyEx8qAjDRI9PxjymSjIuFp9jB0CL5D3u9a8DQYkH7XpMGqMEvYfo33XPOsVpE42IxBqwKA1UVsQ44TmQWI3cjRrGmmQ3Eoy0u8tzIdG1ZLCal1hcuLFN9xc405X1e-2FeUJdDjpJ2AQqBCeT2o-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-2FoQiwGTLTQzW34e2BnV4PZaAf8-2FILad0HjhEvXDSlWLQcXi3NT4PXiOA0DPxB1OQkK2WtbZL6g6-2FejjfzCU-2BV4SiiiuDTzHvGxZCo3OYfkVygXh-2FjVFMd5z4nJ9oVvJiB0DAy2wJooypJ-2FLv7i3o229XMQLivHNPLTNDz2-2FaipQTfUYbPS49ZaMQznqu4EZso-3D
More information about the umbrello-devel
mailing list