Conversation
xsscx
approved these changes
Mar 8, 2026
Member
xsscx
left a comment
There was a problem hiding this comment.
Maintainer Review
2026-03-08 01:11:03 UTC
cd ~
mkdir pr-657
cd pr-657
git clone https://github.com/InternationalColorConsortium/iccDEV.git
cd iccDEV
git fetch origin pull/657/head:pr-657
git checkout pr-657
cd Build
export CXX=clang++ && export CXXFLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer -g -O1 -fprofile-arcs -ftest-coverage" && export LDFLAGS="-fsanitize=address,undefined -fprofile-arcs" && cmake Cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_ASAN=ON -DENABLE_UBSAN=ON -DENABLE_COVERAGE=ON
make -j32
wget https://github.com/xsscx/fuzz/raw/refs/heads/master/graphics/icc/ub-runtime-error-icFloatNumber-IccMpeBasic_cpp-Line1825.icc
wget https://github.com/xsscx/fuzz/raw/refs/heads/master/graphics/icc/crash_obs.icc
ASAN_OPTIONS=detect_leaks=0 Tools/IccV5DspObsToV4Dsp/iccV5DspObsToV4Dsp ub-runtime-error-icFloatNumber-IccMpeBasic_cpp-Line1825.icc crash_obs.icc foo.icc
...
git log --oneline --graph -1
* 35006ee (HEAD -> pr-657, origin/issue-650) call Begin, and check error return values in v5DspObsToV4Dsp
file ub-runtime-error-icFloatNumber-IccMpeBasic_cpp-Line1825.icc
ub-runtime-error-icFloatNumber-IccMpeBasic_cpp-Line1825.icc: color profile 5.0, RGB/XYZ-mntr device, 30428 bytes, 28-10-2014 17:13:25, embedded, relative colorimetric, PCS X=0xeee2 Z=0xeefc, 0x541b281dcc4ec11c MD5 'LCD Display'
identify ub-runtime-error-icFloatNumber-IccMpeBasic_cpp-Line1825.icc
ub-runtime-error-icFloatNumber-IccMpeBasic_cpp-Line1825.icc ICC 1x1 1x1+0+0 16-bit sRGB 30428B 0.000u 0:00.000
ASAN_OPTIONS=detect_leaks=0 Tools/IccV5DspObsToV4Dsp/iccV5DspObsToV4Dsp ub-runtime-error-icFloatNumber-IccMpeBasic_cpp-Line1825.icc crash_obs.icc foo.icc
bad tagIn in ub-runtime-error-icFloatNumber-IccMpeBasic_cpp-Line1825.icc
Member
Post Merge Audit Report2026-03-11 13:49:43 UTC Maintainer SummaryThe Issue was initially Opened by yours truly and was a UB error: The 'Code Review' performed in Approving the PR was made based on the Application Response not Matching on: Code at HEADResolution
A PR will be opened shortly to Resolve the Issue. Lessons LearnedThis Merge Defect can directly be traced to the Maintainer (me) not putting eyeballs on the PR Code and instead running the Reproducer and Approving. |
xsscx
pushed a commit
to xsscx/research
that referenced
this pull request
Mar 11, 2026
Addresses code review gap identified in PR #657 post-merge audit. Builds iccDEV master with ASAN+UBSAN and runs positive functional tests (exit 0 + output file exists) on all CLI tools. Key coverage: - iccV5DspObsToV4Dsp: 9 tests (Rec2020 × 6 PCC + LCD × 3 PCC) using the exact profiles that expose the PR #657 Begin() regression - iccToXml/iccFromXml round-trip serialization - iccRoundTrip color transform accuracy - iccDumpProfile, iccApplyToLink, iccTiffDump Runs Mon+Thu 05:00 UTC and on workflow_dispatch with configurable ref. References: - PR #657: InternationalColorConsortium/iccDEV#657 - Issue #667: InternationalColorConsortium/iccDEV#667 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #650
Pull Request Checklist