-
Notifications
You must be signed in to change notification settings - Fork 46
Labels
BugBug ReportBug ReportTriagedMaintainer indicates triaged status and ready for developer handoffMaintainer indicates triaged status and ready for developer handofflibFuzzerlibFuzzer RelatedlibFuzzer Related
Description
Maintainer Repro
2026-03-06 02:43:39 UTC
Host
5f7e03a (HEAD -> master, origin/master, origin/HEAD) Add link to ICC Intellectual Property Policy in CONTRIBUTING (#643)
PoC Replay
Step 2. wget https://github.com/xsscx/fuzz/raw/refs/heads/master/graphics/tif/test_rgb.tif
Step 3. ASAN_OPTIONS=detect_leaks=0 iccApplyProfiles test_rgb.tif ub-out.tif 1 0 0 0 0 ub-nan-outside-range-iccApplyProfiles_cpp-Line560.icc 0
PoC Expected Output
ASAN_OPTIONS=detect_leaks=0 iccApplyProfiles /tmp/test_rgb.tif /tmp/ub-out.tif 1 0 0 0 0 ub-nan-outside-range-iccApplyProfiles_cpp-Line560.icc 0
Tools/CmdLine/IccApplyProfiles/iccApplyProfiles.cpp:560:39: runtime error: -nan is outside the range of representable values of type 'unsigned char'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Tools/CmdLine/IccApplyProfiles/iccApplyProfiles.cpp:560:39
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugBug ReportBug ReportTriagedMaintainer indicates triaged status and ready for developer handoffMaintainer indicates triaged status and ready for developer handofflibFuzzerlibFuzzer RelatedlibFuzzer Related