Conversation
xsscx
approved these changes
Mar 1, 2026
Member
xsscx
left a comment
There was a problem hiding this comment.
Maintainer Review
2026-03-01 03:18:38 UTC
mkdir pr-639
cd pr-639
git clone https://github.com/InternationalColorConsortium/iccDEV.git
cd iccDEV
git fetch origin pull/639/head:pr-639
git checkout pr-639
cd Build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -Wno-dev -DCMAKE_CXX_FLAGS="-g -fsanitize=address,undefined -fno-sanitize=leak -fno-omit-frame-pointer -Wall" -DENABLE_TOOLS=ON -DENABLE_STATIC_LIBS=ON -DENABLE_SHARED_LIBS=ON Cmake > cmake.log 2>&1
make -j32
wget https://github.com/xsscx/fuzz/raw/refs/heads/master/xml/icc/segv-CIccTagXmlStruct-ParseTag-IccTagXml_cpp-Line4738.xml
ASAN_OPTIONS=detect_leaks=0,print_scariness=1 iccFromXml segv-CIccTagXmlStruct-ParseTag-IccTagXml_cpp-Line4738.xml foo.bar
Expected Output
ASAN_OPTIONS=detect_leaks=0,print_scariness=1 Tools/IccFromXml/iccFromXml segv-CIccTagXmlStruct-ParseTag-IccTagXml_cpp-Line4738.xml foo.bar
Profile parsed. Profile is invalid, but saved correctly
Error! - - Unknown 'c%eN' = 6325654E: Unknown profile class!
Error! - Both Colorimetric PCS or Spectral PCS are not defined!
Warning! - Header date - 0: Invalid year!
Warning! - Header date - 0: Invalid month!
Warning! - Header date - 0: Invalid day!
NonCompliant! - Required tags missing.
Error! - Unknown Profile Class.
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 #633
Pull Request Checklist