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

Andreas Heinisch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Andreas Heinisch <[email protected]> ---
In firebird::mallocSQLVAR [1] the string will be allocated. In the case of char
(SQL_TEXT) the length is 12 even if the field only contains 3. In
OResultSet::retrieveValue [2] the OUString will be created using that exact
length. This leads to this error since the list box compares "ant" with "ant   
   ". Could it be that retrieves the maximum size in bytes for a char?

[1]
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/Util.cxx?r=3a88b513#296
[2]
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/ResultSet.cxx?r=a9c8ac36#584

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

Reply via email to