https://issues.apache.org/ooo/show_bug.cgi?id=124188

Andre <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Andre <[email protected]> ---
Created attachment 82591
  --> https://issues.apache.org/ooo/attachment.cgi?id=82591&action=edit
Avoid NULL pointer access

The crash is caused in SwDoc::Insert by accessing an SwTxtNode that does not
exist.  Calling InsertItem() only when the pointer returned by
rRg.GetPoint()->nNode.GetNode().GetTxtNode() is not NULL fixes the crash. 

The document looks like expected after the insert but I don't know enough about
the Writer internals to be sure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to