Created attachment 174687 [details] An embedded FB DB with Cyrillic data in a table and two queries Open attached BD; execute QueryBad and widen the column to see more than 25 characters. Some of the results display random garbage after the padding.
Created attachment 174689 [details] Garbage shown when following bug 144230 comment 0 Tested with Version: 7.2.1.1 (x64) / LibreOffice Community Build ID: 3cfc32d9754d2d239bd8ce2941029c12873010c1 CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: threaded
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2e5dad443a30055d93dbcb3bf9cac906e80b2e25 tdf#144230: sanitize string length embedded in SQL_VARYING data It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/1266d8bea7044b14177feb62241d96508363a2f9 tdf#144230: sanitize string length embedded in SQL_VARYING data It will be available in 7.2.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
In fact, this is just a dupe of tdf#144340. I only workarounded one possible manifestation, but still it wasn't working correctly. *** This bug has been marked as a duplicate of bug 144340 ***
*** Bug 144949 has been marked as a duplicate of this bug. ***