[Libreoffice] LoadComponentFromUrl misuse lead to crash

Caolán McNamara caolanm at redhat.com
Tue Nov 29 04:36:52 PST 2011


On Mon, 2011-11-28 at 18:22 +0100, Laurent Godard wrote:
> Hi
> 
> here is a summary of the bug i encounter, present in all LibO versions
> (master, 344, 322), but safe in OOo321
> 
> inside a macro, i launch a stardesktop.loadComponentFromUrl(firstArg, ...).
> 
> if firstArg is an URL, starting with file://, no problem
> if firstArg is a path, /the/path/to/my/file, LibO crashes
> 
> yes, firstArg has to be an URL, it is specified. But LibO should throw
> an IllegalArgumentException as OOo does. Never good that LibO crashes

Can you attach a demo ?

C.



More information about the LibreOffice mailing list