<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
-------- Weitergeleitete Nachricht --------
<div class="moz-forward-container">
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Betreff:
</th>
<td>New Defects reported by Coverity Scan for Umbrello UML
Modeller</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Datum: </th>
<td>Tue, 07 Apr 2015 22:19:13 -0700</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Von: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:scan-admin@coverity.com">scan-admin@coverity.com</a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE"><br>
</th>
<td><br>
</td>
</tr>
</tbody>
</table>
<br>
<pre>Hi,
Please find the latest report on new defect(s) introduced to Umbrello UML Modeller found with Coverity Scan.
2 new defect(s) introduced to Umbrello UML Modeller found with Coverity Scan.
27 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 89256: Null pointer dereferences (FORWARD_NULL)
/home/umbrello/src/umbrello/umbrello/dialogs/pages/classifierlistpage.cpp: 774 in ClassifierListPage::addClassifier(UMLClassifierListItem *, int)()
________________________________________________________________________________________________________
*** CID 89256: Null pointer dereferences (FORWARD_NULL)
/home/umbrello/src/umbrello/umbrello/dialogs/pages/classifierlistpage.cpp: 774 in ClassifierListPage::addClassifier(UMLClassifierListItem *, int)()
768 switch (m_itemType) {
769 case UMLObject::ot_Attribute: {
770 UMLAttribute *att = dynamic_cast<UMLAttribute*>(listitem);
771 return m_pClassifier->addAttribute(att, NULL, position);
772 }
773 case UMLObject::ot_Operation: {
>>> CID 89256: Null pointer dereferences (FORWARD_NULL)
>>> Assigning: "op" = "dynamic_cast <UMLOperation *>(listitem)".
774 UMLOperation *op = dynamic_cast<UMLOperation*>(listitem);
775 return m_pClassifier->addOperation(op, position);
776 }
777 case UMLObject::ot_Template: {
778 UMLTemplate* t = dynamic_cast<UMLTemplate*>(listitem);
779 return m_pClassifier->addTemplate(t, position);
** CID 89255: Null pointer dereferences (FORWARD_NULL)
/home/umbrello/src/umbrello/umbrello/dialogs/pages/classifierlistpage.cpp: 770 in ClassifierListPage::addClassifier(UMLClassifierListItem *, int)()
________________________________________________________________________________________________________
*** CID 89255: Null pointer dereferences (FORWARD_NULL)
/home/umbrello/src/umbrello/umbrello/dialogs/pages/classifierlistpage.cpp: 770 in ClassifierListPage::addClassifier(UMLClassifierListItem *, int)()
764 *
765 */
766 bool ClassifierListPage::addClassifier(UMLClassifierListItem* listitem, int position)
767 {
768 switch (m_itemType) {
769 case UMLObject::ot_Attribute: {
>>> CID 89255: Null pointer dereferences (FORWARD_NULL)
>>> Assigning: "att" = "dynamic_cast <UMLAttribute *>(listitem)".
770 UMLAttribute *att = dynamic_cast<UMLAttribute*>(listitem);
771 return m_pClassifier->addAttribute(att, NULL, position);
772 }
773 case UMLObject::ot_Operation: {
774 UMLOperation *op = dynamic_cast<UMLOperation*>(listitem);
775 return m_pClassifier->addOperation(op, position);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, <a class="moz-txt-link-freetext" href="https://scan.coverity.com/projects/3327?tab=overview">https://scan.coverity.com/projects/3327?tab=overview</a>
</pre>
<br>
</div>
<br>
</body>
</html>