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

--- Comment #11 from Noel Grandin <[email protected]> ---
Also note analysis at https://gerrit.libreoffice.org/c/core/+/162185,
specifically:

So the fundamental problem here is that we do not support tables in
footnotes. And this bug is because we don't prevent tables from being
pasted into footnotes.

And when we paste a table into a footnote, we make a call to
OUString::copy (or OUString::subView) with invalid arguments.

But copy() has this weird bit of code that returns something useful in
that case, which prevents this situation from crashing in a release
build.
So when I changed it to use subView(), subView() does not have the same weird
error-handling code as copy(), and it started crashing.

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

Reply via email to