[umbrello] [Bug 340646] Fix issues reported by Coverity scan

Ralf Habacker bugzilla_noreply at kde.org
Tue Dec 20 22:39:57 UTC 2016


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

--- Comment #106 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit bc78584c44395be64a2b29baf97e38a20de28863 by Ralf Habacker.
Committed on 20/12/2016 at 22:08.
Pushed by habacker into branch 'Applications/16.12'.

Fix coverity check CID 173355: Unchecked dynamic_cast

Passing null pointer dynamic_cast <ClassifierWidget *>(object)
to makeClassifierPopup, which dereferences it.

M  +5    -2    umbrello/listpopupmenu.cpp

https://commits.kde.org/umbrello/bc78584c44395be64a2b29baf97e38a20de28863

--- Comment #105 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 50a4f787ac1ac62d656982d6a82afdd99dfe114d by Ralf Habacker.
Committed on 19/12/2016 at 21:31.
Pushed by habacker into branch 'Applications/16.12'.

Fix coverity check CID 173356: Dereference null return value

Dereferencing a pointer that might be null umlWidget when calling
addWidgetToScene.

M  +2    -2    umbrello/cmds/widget/cmdcreatewidget.cpp

https://commits.kde.org/umbrello/50a4f787ac1ac62d656982d6a82afdd99dfe114d

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


More information about the umbrello-devel mailing list