[umbrello-devel] [umbrello] [Bug 338980] Umbrello crashes when adding name to line between normal and branch widget
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Sep 10 19:11:27 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=338980
Oliver Kellogg <okellogg at users.sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|umbrello-devel at kde.org |okellogg at users.sourceforge.
| |net
Ever confirmed|0 |1
CC| |okellogg at users.sourceforge.
| |net
Status|UNCONFIRMED |ASSIGNED
--- Comment #2 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Confirm on git master.
Analysis:
AssociationGeneralPage::updateObject() accesses m_pStereoChkB->isChecked()
without prior check of m_pStereoChkB against NULL.
However, m_pStereoChkB is only non NULL for associations which have an
underlying UML object, see
umbrello/dialogs/pages/associationgeneralpage.cpp:113 ff.:
if (umlAssoc) {
// stereotype checkbox
m_pStereoChkB = new QCheckBox(i18n("Stereotype"), nameAndTypeGB);
[...]
}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list