[Libreoffice-bugs] [Bug 111313] Crashed in Calc Macro (Basic)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 6 09:56:22 UTC 2018


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

--- Comment #8 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Xisco FaulĂ­ from comment #6)
> Regression introduced by:
> 
> author	Stephan Bergmann <sbergman at redhat.com>	2014-11-20 08:23:53 +0100
> committer	Stephan Bergmann <sbergman at redhat.com>	2014-11-20 08:34:07 +0100
> commit	04ae3d0cc9b671729deabf33c2cea1031d72e6ae (patch)
> tree	5b3b8f08aa393c8e659947bd709f3752299686f2
> parent	e7abad5683a28305204977b57357dddefab0e065 (diff)
> len cannot be <= 1 here

That commit is merely adding the assert that fires here because SbRtl_Mid
(basic/source/runtime/methods.cxx) is calling rtl::OUStringBuffer::remove with
bad arguments (*this being "abc", start=0, len=-1).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180406/37b75676/attachment-0001.html>


More information about the Libreoffice-bugs mailing list