Created attachment 187952 [details] WMF Picture which is not displayed Inserted picture ended with EOF with size !=3 not displayed. This is a clone of the OO ticket: https://bz.apache.org/ooo/show_bug.cgi?id=42090
Created attachment 187953 [details] How file should looks like
In MS Office if the invalid record is found, the content is displayed up to the wrong record. Currently: If wrong WMF record is found the image is not displayed at all. Expected: If wrong WMF record is found, the image is displayed up to the wrong WMF record.
Bartosz Kosiorek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/00e02dd832988ec3e7f37569c932ed66e1eb6efd tdf#155887 Add individual WMF records validation It will be available in 24.2.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.
Bartosz Kosiorek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c75cac85230d3899fe9f5f5086c117e4e1e5d330 tdf#155887 WMF Fix displaying images with size of EOF other that 3 It will be available in 24.2.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.