Writer crash

Zolnai Tamás zolnaitamas2000 at gmail.com
Tue Aug 13 02:36:17 PDT 2013


Hi Caolán,

I founnd a problem with your commit:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=f41e7c704898fa0e86d6d128f5bd28f37c081e92

When I try to modify a character style Writer crashes.
After a bit debug I found that your commit changed SwDocShell::Edit() (in
docst.cxx) method sixth parameter from sal_uInt16 to OString but at
docst.cxx:448 this Edit method is called with 0 as sixth parameter, which
haven't sense in the new context but interpreted as an rtl_String null
pointer and used to call OString constructor, which can't handle null
pointers so Writer crashes.

Best regards,
Tamás
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130813/766a64cb/attachment.html>


More information about the LibreOffice mailing list