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

Oliver Kellogg okellogg at users.sourceforge.net
Fri Sep 5 18:11:16 UTC 2014


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

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

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.

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

http://commits.kde.org/umbrello/9a9f89f89a12305bd976ac158605d2f142954fc0

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


More information about the umbrello-devel mailing list