diff options
-rw-r--r-- | Userland/Libraries/LibGfx/ICC/Profile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/ICC/Profile.cpp b/Userland/Libraries/LibGfx/ICC/Profile.cpp index 56e05baa1b..9a37d49357 100644 --- a/Userland/Libraries/LibGfx/ICC/Profile.cpp +++ b/Userland/Libraries/LibGfx/ICC/Profile.cpp @@ -984,7 +984,8 @@ ErrorOr<void> Profile::check_tag_types() // ICC v4, 9.2.17 cicpTag // "Permitted tag types: cicpType" - // FIXME + if (!has_type(cicpTag, { CicpTagData::Type }, {})) + return Error::from_string_literal("ICC::Profile: cicpTag has unexpected type"); // ICC v4, 9.2.18 colorantOrderTag // "Permitted tag types: colorantOrderType" |