To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107873
                 Issue #|107873
                 Summary|writerfilter: suspicious member initialization in oox:
                        |:OOXMLFastContextHandler
               Component|Word processor
                 Version|DEV300m67
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|ama
             Reported by|dtardon





------- Additional comments from [email protected] Thu Dec 24 13:43:01 
+0000 2009 -------
In oox::OOXMLFastContextHandler(OOXMLFastContextHandler * pContext), the
m_xContext member is initialized in initializer list by pContext->m_xContext,
but later in body of the constructor there is

if (pContext != NULL)
{
    ...
}

(and m_xContext is initalized again there...). The former initialization causes
crash when pContext is 0.

The attached patch removes the unsafe initialization.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to