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

Ralf Habacker via KDE Bugzilla bugzilla_noreply at kde.org
Mon Sep 12 21:23:36 UTC 2016


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

--- Comment #98 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit ad83879702d80a4e85df7a14f50935dbb1f7d012 by Ralf Habacker.
Committed on 12/09/2016 at 21:23.
Pushed by habacker into branch 'master'.

Fix coverity check CID 169655:    (USE_AFTER_FREE)

Passing freed pointer "umlobject" as an argument to
"sigObjectRemoved".sigObjectRemoved.

The 'object removed' signal is now emitted before object destroying.

M  +3    -2    umbrello/umldoc.cpp

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

--- Comment #97 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 86e3b8cb5d4a9b91ac13266fd001dad3424cf3a6 by Ralf Habacker.
Committed on 12/09/2016 at 21:13.
Pushed by habacker into branch 'master'.

Fix coverity check CID 169653:  Null pointer dereferences  (FORWARD_NULL)

Assigning: "myItem" = "dynamic_cast <UMLListViewItem *>(item)".

M  +2    -0    umbrello/umllistview.cpp

http://commits.kde.org/umbrello/86e3b8cb5d4a9b91ac13266fd001dad3424cf3a6

--- Comment #96 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit c4389129412005b5c4ceb4ef683a2a5020e71e73 by Ralf Habacker.
Committed on 12/09/2016 at 21:12.
Pushed by habacker into branch 'master'.

Fix coverity check CID 169652:  Null pointer dereferences  (FORWARD_NULL)

Assigning: "myItem" = "dynamic_cast <UMLListViewItem *>(item)".

M  +2    -0    umbrello/umllistview.cpp

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

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


More information about the umbrello-devel mailing list