Skip to content

Research: iccApplytoLink indicates Invalid Profile(2): ICC/Lab_float-F11_2deg-MAT.icc #1322

@xsscx

Description

@xsscx

Maintainer Summary

2026-06-12 15:41:53 UTC

Git

57a8ea7 (HEAD -> master, tag: ci-latest-27378717751-1, origin/master, origin/HEAD) Fix: leak in CIccXform::Create on failure paths (#1304) (#1305)

Issue

  • iccApplytoLink indicates Invalid Profile(2): ICC/Lab_float-F11_2deg-MAT.icc
    • Is this command output the expected behavior?

Repro

git clone https://github.com/InternationalColorConsortium/iccDEV.git
cd iccDEV/Build
git checkout 57a8ea7
git branch && echo "---" && git log --oneline -1
CC=clang CXX=clang++ CXXFLAGS="-fsanitize=address,undefined,integer,bounds,null,float-divide-by-zero,alignment,vla-bound -fno-omit-frame-pointer -g -O0" LDFLAGS="-fsanitize=address,undefined,integer,bounds,null,float-divide-by-zero,alignment,vla-bound" cmake Cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=ON -DENABLE_UBSAN=ON -DENABLE_TOOLS=ON
make -j32
        cd ../Testing/
        echo "=== Updating PATH ==="
         for d in ../Build/Tools/*; do
          [ -d "$d" ] && export PATH="$(realpath "$d"):$PATH"
         done
cd hybrid
printf '%s\n%s\n%s\n' 'unsigned-integer-overflow:*/IccMD5.cpp' 'shift-base:*/IccMD5.cpp' 'shift-exponent:*/IccMD5.cpp' > silence.txt && ASAN_OPTIONS='print_scariness=1:halt_on_error=1:detect_leaks=0' UBSAN_OPTIONS='halt_on_error=0:suppressions='"$PWD"'/silence.txt' ./BuildAndTest.sh
iccApplyToLink Results/qa_link_002_t0_lut5_opt4_ft0_i0_st3.icc 0 5 4 QA_Link_002 -0.1 1.1 0 0 '-ENV:0ni?' 1 ICC/Spec380_10_730-D50_2deg.icc 101 -PCC ICC/Spec400_10_700-F11_2deg-Abs.icc ICC/Lab_float-F11_2deg-MAT.icc 103 -PCC ICC/Lab_float-D50_2deg.icc -ENV:bkgY 0.168 ICC/CMYK-STop_Overprint_Profile.icc 1001 -PCC ICC/Spec400_10_700-IllumA_2deg-Abs.icc

Application Output

Invalid Profile(2): ICC/Lab_float-F11_2deg-MAT.icc

iccPawgReport Output

Command: iccPawgReport ICC/Lab_float-F11_2deg-MAT.icc

[ ASSESSMENT SUMMARY ]

  Total checklist items:  31
  PASS:                   20
  WARN:                   7
  FAIL:                   0
  N/A:                    4
  GAP:                    0
  NOT RUN:                0

  Overall:                REPORT - no PAWG failures; review WARN/GAP/NOT RUN items

iccDumpProfile Output

Validation Report
-----------------
Profile has warning(s) for version 5.00

Warning! - AToB3Tag: No processing elements.
Warning! - BToA3Tag: No processing elements.

Observation

ICC Profile Load & Store should be Reviewed for expected outputs when using iccApplytoLink.

Metadata

Metadata

Labels

ResearchResearch Status indicated by Maintainer

Type

No fields configured for Report.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions