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

            Bug ID: 94617
           Summary: method nStart overflow in pCode
           Product: LibreOffice
           Version: 5.0.2.2 release
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

In a big module with a lot of lines, if a method is declared near the end, then
calling it leads to crash

the problem is that nStart offset is sal_uInt32 and it stored as Int16 in
SbMethod::StoreData()

Then the nStart offset is wrong in SbMethod::LoadData() 
if nStart > std::numeric_limits<sal_Int16>::max()

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to