Apache OpenOffice (AOO) Bugzilla – Issue 75016
New Chart: Open unknown file type and press Cancel => Crash
Last modified: 2013-08-07 14:42:39 UTC
Appears in chart2mst3 Milestone 11 build: 1. Try to open a file of unknown type, e.g. a pdf-file. => A dialog pops up that offers some choices for ASCII-Text formats (and obviously a Writer is created in the background) 2. Press Cancel => Crash in SwDocShell DTOR In sw/source/ui/app/docshini.cxx in the DTOR of the SwDocShell (line 549) GetDoc() returns a NULL-pointer which is accessed unchecked. Note that in the line below "pDoc" is used, which is probably the same variable (it is also NULL) that is returned by GetDoc(). Of course both places must be checked. -> TL: Please check if it is sufficient to check for the NULL-ness of the pointer, or anything else is needed (and fix it ;-) )
Ok, taking back. Fixed together at my place. A pointer check seems sufficient.
Fixed in chart2mst3 (after mst 11)
set keyword and changed issue type to reflect that this issue did only occur in the new chart and did not affect the current product on the master branch
Fixed in chart2mst3 Milestone 11_1.
No crach anymore -> verified in mst 11_1
Verified fixed in m221