To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=92415 Issue #|92415 Summary|Dereference of possibly NULL pointer in SfxObjectShell |::DoSave_Impl() Component|framework Version|DEV300m28 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|mba Reported by|dtardon
------- Additional comments from [EMAIL PROTECTED] Sun Aug 3 20:33:03 +0000 2008 ------- In sfx2/source/doc/objstor.cxx at line 2430 there is pointer being initialized through conditional expression having 0 as the 'else' branch. The pointer is dereferenced on the following line--method is called on it. Closer look into the code shows that condition of the conditional expression will always evaluate to true, but it's not clear if this behaviour is intentional, with the SfxMedia class being not documented at all. If it is intentional, then the conditional expression should be removed, because it's misleading. If it's not, then the mentioned method call on the pointer should be made conditional. I'm attaching simple patch performing the latter one. --------------------------------------------------------------------- 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]
