<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Crash when trying to save a form using an image bigger than length of Binary fix field"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138691#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Crash when trying to save a form using an image bigger than length of Binary fix field"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138691">bug 138691</a>
from <span class="vcard"><a class="email" href="mailto:lionel@mamane.lu" title="Lionel Elie Mamane <lionel@mamane.lu>"> <span class="fn">Lionel Elie Mamane</span></a>
</span></b>
<pre>(In reply to Julien Nabet from <a href="show_bug.cgi?id=138691#c2">comment #2</a>)
<span class="quote">> 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.</span >
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).
<span class="quote">> Remark: I don't know how "Any" => "Sequence" conversion takes length into
> account to retrieve 0 size when the image is too big.</span >
Does the "Any" actually contain something not of zero size?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>