[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 12:56:26 UTC 2020


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

--- Comment #6 from Julien Nabet <serval2412 at yahoo.fr> ---
I kept on the tests and I finally could reproduce the empty sequence too:
Here are the steps:
- create a table following steps for initial description but with length 10000
(instead of 100)
- create a form the same way as initial description
- in the form
- type "1" for field 1
- choose image with a length < 10000
- close form and save
- reopen the form
- choose image with a length > 10000
=> crash with an empty sequence.

So not Heisenberg at all! :-)

Now let's find the possible and most appropriate location to fix
(check+warning) this between:
- forms/source/runtime/formoperations.cxx
- forms/source/component/DatabaseForm.cxx
- dbaccess/source/core/api/RowSet.cxx
- dbaccess/source/core/api/RowSetCache.cxx
- dbaccess/source/core/api/KeySet.cxx
- dbaccess/source/core/api/CacheSet.cxx
- connectivity/source/commontools/dbtools.cxx
- dbaccess/source/core/api/preparedstatement.cxx

I removed connectivity/source/drivers/firebird/PreparedStatement.cxx since we
want a generic fix (not Firebird specific).

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


More information about the Libreoffice-bugs mailing list