[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 6 11:54:17 UTC 2020


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

--- Comment #4 from Lionel Elie Mamane <lionel at mamane.lu> ---
(In reply to Julien Nabet from comment #2)

> after x >>= aBytes, aBytes is just a sequence of 0 because we get over max
> size.
> So setBytes is called with a 0 size sequence and it crashes.

I think that for robustness of LibreOffice, that would be useful to fix that
(namely, that it doesn't crash when called with empty sequence).

> Remark: I don't know how "Any" => "Sequence" conversion takes length into
> account to retrieve 0 size when the image is too big.

Does the "Any" actually contain something not of zero size?

-- 
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/20201206/c0a09c61/attachment.htm>


More information about the Libreoffice-bugs mailing list