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

Ralf Habacker bugzilla_noreply at kde.org
Tue Apr 18 18:47:23 UTC 2017


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

--- Comment #117 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit fdd39b2fde760b11e380f4eaf70056191063ad8b by Ralf Habacker.
Committed on 18/04/2017 at 18:38.
Pushed by habacker into branch 'Applications/17.04'.

Fix coverity CID 88363: Unchecked dynamic_cast

Passing null pointer parentDoc to getParentClassifier, which
dereferences it.

M  +1    -0    umbrello/codegenerators/java/javaclassdeclarationblock.cpp

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

--- Comment #116 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 3fb0142dfba183aeef5f3f1db13747e44b762d5d by Ralf Habacker.
Committed on 18/04/2017 at 18:37.
Pushed by habacker into branch 'Applications/17.04'.

Fix coverity CID 88428: Dereference before null check

Null-checking attr suggests that it may be null, but it has already been
dereferenced on all paths leading to the check.

M  +6    -9    umbrello/dialogs/parameterpropertiesdialog.cpp

https://commits.kde.org/umbrello/3fb0142dfba183aeef5f3f1db13747e44b762d5d

--- Comment #115 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 8579824080da914691cf5cdaa28d1db086363940 by Ralf Habacker.
Committed on 18/04/2017 at 18:38.
Pushed by habacker into branch 'Applications/17.04'.

Fix coverity CID 88364: Unchecked dynamic_cast

Passing null pointer ddoc to getParentClassifier, which dereferences it.

M  +1    -0    umbrello/codegenerators/d/dcodeoperation.cpp

https://commits.kde.org/umbrello/8579824080da914691cf5cdaa28d1db086363940

--- Comment #114 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit d88258ee4f4cdaf60957f8077c53d0adc949d7bf by Ralf Habacker.
Committed on 18/04/2017 at 18:37.
Pushed by habacker into branch 'Applications/17.04'.

Fix coverity CID 88471: Dereference before null check

Null-checking at suggests that it may be null, but it has already been
dereferenced on all paths leading to the check.

M  +1    -1    umbrello/codegenerators/ada/adawriter.cpp

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

--- Comment #113 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit be41ee4a7c68cbdf42f89984f3e02989f62513e7 by Ralf Habacker.
Committed on 18/04/2017 at 18:37.
Pushed by habacker into branch 'Applications/17.04'.

Fix coverity CID 88416: Dereference before null check

Null-checking at suggests that it may be null, but it has already been
dereferenced on all paths leading to the check.

M  +1    -1    umbrello/codegenerators/pascal/pascalwriter.cpp

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

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


More information about the umbrello-devel mailing list