https://bugs.kde.org/show_bug.cgi?id=425459
Bug ID: 425459
Summary: ToolBarState and associated classes never check
UMLScene* for NULL
Product: umbrello
Version: Git
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
The class ToolBarStateFactory is responsible for creating instances of
different classes derived from ToolBarState. It is passed a UMLScene* as its
last argument. However, it does not check the pointer for NULL before using it,
which causes undefined behavior if it is NULL.
The pointer to UMLScene is passed on to the derived classes, but apparently,
also none of these other classes check the pointer, either.
--
You are receiving this mail because:
You are watching all bug changes.