[Uml-devel] [Bug 125331] crash loading xmi file created by older version

Daniel Calviño Sánchez danxuliu at gmail.com
Thu May 11 08:05:11 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125331         




------- Additional Comments From danxuliu gmail com  2006-05-11 17:04 -------
Created an attachment (id=16028)
 --> (http://bugs.kde.org/attachment.cgi?id=16028&action=view)
Fix for crash due to not initialized pointers

As m_policyext wasn't set to NULL in constructor, Umbrello crashed under
certain circumstances (because as it wasn't NULL it passed guarded conditions,
but it wasn't initialized, so the pointer was invalid).

A new guarded condition was added for a CodeGenerator pointer used in
umldoc.cpp to avoid crashes due to NULL pointer.




More information about the umbrello-devel mailing list