https://bugs.documentfoundation.org/show_bug.cgi?id=148063

            Bug ID: 148063
           Summary: Crash using incorrect type name
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

This macro crashes LibreOffice:

sub foo
  a = Array()
  oUnoValue = CreateUnoValue( "[]", a )
end sub

The problem is "[]", not describing the type of the sequence.
TypeConverter_Impl::convertTo tries to dereference nullpointer returned from
aDestTD.get().

Stephan: IMO this is wrong to allow macros to crash software; but is there any
obstacles disallowing checking this situation?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to