Summary: | Corrupt png pattern in bundle causes crash | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | apelsinchoklad |
Component: | Resource Management | Assignee: | Halla Rempt <halla> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | halla |
Priority: | NOR | ||
Version: | 5.0.0-beta1 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/a5a8665bdfa837117a54988e3d8a72198b9bcee9 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Bundle containing faulty png pattern file
faulty patterns |
Description
apelsinchoklad
2021-08-22 11:55:55 UTC
Created attachment 140943 [details]
faulty patterns
Note: this isn't a png file, but a .pat gimp pattern file. Git commit 98f6eec605642bd872b4c4ce3f42601f34226f9e by Halla Rempt. Committed on 23/08/2021 at 09:58. Pushed by rempt into branch 'master'. Check whether the texturemaskinfo is valid before using it M +5 -0 plugins/paintops/libpaintop/KisTextureMaskInfo.cpp M +2 -0 plugins/paintops/libpaintop/KisTextureMaskInfo.h M +3 -6 plugins/paintops/libpaintop/kis_texture_option.cpp https://invent.kde.org/graphics/krita/commit/98f6eec605642bd872b4c4ce3f42601f34226f9e Git commit 55332f5508d2d46b4375375babebd9e40242a04e by Halla Rempt. Committed on 23/08/2021 at 09:57. Pushed by rempt into branch 'master'. Determine the mimetype of a pattern from its contents Some bundles contain patterns that have a .png extension, but are actually gimp patterns. M +10 -9 libs/pigment/resources/KoPattern.cpp https://invent.kde.org/graphics/krita/commit/55332f5508d2d46b4375375babebd9e40242a04e Git commit 49842cde14e25c3952355637e9c4503a1202baa0 by Halla Rempt. Committed on 23/08/2021 at 09:58. Pushed by rempt into branch 'krita/5.0'. Determine the mimetype of a pattern from its contents Some bundles contain patterns that have a .png extension, but are actually gimp patterns. (cherry picked from commit 55332f5508d2d46b4375375babebd9e40242a04e) M +10 -9 libs/pigment/resources/KoPattern.cpp https://invent.kde.org/graphics/krita/commit/49842cde14e25c3952355637e9c4503a1202baa0 Git commit a5a8665bdfa837117a54988e3d8a72198b9bcee9 by Halla Rempt. Committed on 23/08/2021 at 09:58. Pushed by rempt into branch 'krita/5.0'. Check whether the texturemaskinfo is valid before using it (cherry picked from commit 98f6eec605642bd872b4c4ce3f42601f34226f9e) M +5 -0 plugins/paintops/libpaintop/KisTextureMaskInfo.cpp M +2 -0 plugins/paintops/libpaintop/KisTextureMaskInfo.h M +3 -6 plugins/paintops/libpaintop/kis_texture_option.cpp https://invent.kde.org/graphics/krita/commit/a5a8665bdfa837117a54988e3d8a72198b9bcee9 |