[umbrello-devel] [umbrello] [Bug 338797] SEGV crash when umbrello is opening AIXM files

Oliver Kellogg okellogg at users.sourceforge.net
Tue Sep 9 05:30:43 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=338797

--- Comment #14 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit d98c3db9f23b89e8743115db8a09bcc046070e03 by Oliver Kellogg.
Committed on 05/09/2014 at 18:11.
Pushed by okellogg into branch 'KDE/4.14'.

Address http://bugs.kde.org/show_bug.cgi?id=338797#c7,
static_cast<UMLClassifier*>(m_umlObject) in ClassifierWidget::classifier()
may be invalid:

umbrello/widgets/classifierwidget.cpp
- In function classifier(), replace static_cast by dynamic_cast.
- In the entire class implementation, ensure return value from classifier()
  is non NULL before dereferencing.

Since I could not reproduce the crash, I leave this bug REOPENED until the
fix is verified.
FIXED-IN: 4.14.1

M  +50   -27   umbrello/widgets/classifierwidget.cpp

http://commits.kde.org/umbrello/d98c3db9f23b89e8743115db8a09bcc046070e03

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list