scan-build static analysis | Reference Implementation | DemoIccMAX Project

User:fuzzer
Working Directory:DemoIccMAX-master/Build
Command Line:make
Clang Version:Homebrew clang version 17.0.3
Date:Sat Oct 28 10:26:16 2023

Bug Summary

Bug TypeQuantityDisplay?
All Bugs113
Logic error
Assigned value is garbage or undefined2
Called C++ object pointer is null3
Dereference of null pointer13
Garbage return value1
Result of operation is garbage or undefined4
Uninitialized argument value6
Unix API4
Memory error
Bad deallocator7
Double free2
Memory leak10
Use-after-free8
Unix API
Allocator sizeof operand mismatch1
Unused code
Dead assignment28
Dead increment3
Dead initialization20
Dead nested assignment1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchIccProfLib/IccMpeCalc.cppGetNewApply46701View Report
Logic errorAssigned value is garbage or undefinedIccProfLib/IccCmm.cppApply563522View Report
Logic errorAssigned value is garbage or undefinedIccProfLib/IccCmm.cppApply632114View Report
Memory errorBad deallocatorIccXML/IccLibXML/IccTagXml.cppParseXml257917View Report
Memory errorBad deallocatorIccXML/IccLibXML/IccMpeXml.cppParseXml59931View Report
Memory errorBad deallocatorIccXML/IccLibXML/IccTagXml.cppParseXml256413View Report
Memory errorBad deallocatorIccProfLib/IccCmm.cpp~CIccApplyPcsXform193737View Report
Memory errorBad deallocatorIccXML/IccLibXML/IccMpeXml.cppParseXml31228View Report
Memory errorBad deallocatorIccXML/IccLibXML/IccMpeXml.cppParseXml34332View Report
Memory errorBad deallocatorIccXML/IccLibXML/IccMpeXml.cppParseXml61435View Report
Logic errorCalled C++ object pointer is nullIccProfLib/IccCmm.cppCreate700826View Report
Logic errorCalled C++ object pointer is nullIccProfLib/IccCmm.cppCreate132327View Report
Logic errorCalled C++ object pointer is nullIccXML/IccLibXML/IccMpeXml.cppParseXml142213View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppAddXform100471View Report
Unused codeDead assignmentIccXML/IccLibXML/IccTagXml.cppParseTag45521View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppAddXform100691View Report
Unused codeDead assignmentIccProfLib/IccTagBasic.cppWrite43141View Report
Unused codeDead assignmentIccXML/IccLibXML/IccMpeXml.cppFlatten23181View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppAddXform100831View Report
Unused codeDead assignmentTools/CmdLine/IccApplyProfiles/iccApplyProfiles.cppmain4541View Report
Unused codeDead assignmentTools/CmdLine/IccDumpProfile/iccDumpProfile.cppmain2521View Report
Unused codeDead assignmentTools/CmdLine/IccApplyProfiles/iccApplyProfiles.cppmain2151View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppCreate8311View Report
Unused codeDead assignmentIccXML/IccLibXML/IccTagXml.cppParseXml5091View Report
Unused codeDead assignmentTools/CmdLine/IccApplyProfiles/iccApplyProfiles.cppmain2071View Report
Unused codeDead assignmentIccProfLib/IccTagLut.cppWrite46611View Report
Unused codeDead assignmentIccXML/IccLibXML/IccMpeXml.cppFlatten23141View Report
Unused codeDead assignmentTools/CmdLine/IccApplyProfiles/iccApplyProfiles.cppmain3921View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppAddXform100891View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppAddXform100511View Report
Unused codeDead assignmentIccProfLib/IccTagLut.cppWrite46621View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppCIccPcsStepRouteMcs34711View Report
Unused codeDead assignmentIccProfLib/IccTagMPE.cppValidate16281View Report
Unused codeDead assignmentTools/CmdLine/IccApplyProfiles/iccApplyProfiles.cppmain2031View Report
Unused codeDead assignmentIccProfLib/IccMpeCalc.cppDescribeSequence28511View Report
Unused codeDead assignmentIccProfLib/IccMpeCalc.cppApply47201View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppAddXform101031View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppCreate8861View Report
Unused codeDead assignmentIccXML/IccLibXML/IccTagXml.cppParseXml5271View Report
Unused codeDead assignmentIccProfLib/IccCmm.cppAddXform100771View Report
Unused codeDead assignmentTools/CmdLine/IccApplyProfiles/iccApplyProfiles.cppmain2111View Report
Unused codeDead incrementIccProfLib/IccConvertUTF.cppicConvertUTF8toUTF328191View Report
Unused codeDead incrementIccProfLib/IccConvertUTF.cppicConvertUTF8toUTF165931View Report
Unused codeDead incrementIccProfLib/IccConvertUTF.cppicConvertUTF8toUTF166051View Report
Unused codeDead initializationIccProfLib/IccCmm.cppMult42541View Report
Unused codeDead initializationIccXML/IccLibXML/IccTagXml.cppToXml16671View Report
Unused codeDead initializationIccProfLib/IccMpeSpectral.cppBegin20721View Report
Unused codeDead initializationIccProfLib/IccMpeSpectral.cppBegin14281View Report
Unused codeDead initializationIccProfLib/IccTagComposite.cppDescribe11261View Report
Unused codeDead initializationIccXML/IccLibXML/IccUtilXml.cppResize1441View Report
Unused codeDead initializationIccXML/IccLibXML/IccMpeXml.cppToXml16191View Report
Unused codeDead initializationIccProfLib/IccTagLut.cppWrite55491View Report
Unused codeDead initializationIccXML/IccLibXML/IccTagXml.cppParseXml4691View Report
Unused codeDead initializationIccXML/IccLibXML/IccTagXml.cppParseXml29471View Report
Unused codeDead initializationIccProfLib/IccCmm.cppConnect22711View Report
Unused codeDead initializationIccProfLib/IccMatrixMath.cppSetRange3631View Report
Unused codeDead initializationIccXML/IccLibXML/IccMpeXml.cppToXml15631View Report
Unused codeDead initializationIccProfLib/IccTagBasic.cppValidate44411View Report
Unused codeDead initializationIccXML/IccLibXML/IccTagXml.cppToXml6751View Report
Unused codeDead initializationIccProfLib/IccMpeBasic.cppRead27871View Report
Unused codeDead initializationIccProfLib/IccTagBasic.cppSetText17171View Report
Unused codeDead initializationIccProfLib/IccMatrixMath.cppSetRange3641View Report
Unused codeDead initializationIccXML/IccLibXML/IccMpeXml.cppParseImport19801View Report
Unused codeDead initializationIccXML/IccLibXML/IccMpeXml.cppToXml851View Report
Unused codeDead nested assignmentIccProfLib/IccTagMPE.cppValidate16281View Report
Logic errorDereference of null pointerIccProfLib/IccMpeCalc.cppSetElem488634View Report
Logic errorDereference of null pointerIccProfLib/IccTagBasic.cppInterpolate563222View Report
Logic errorDereference of null pointerIccProfLib/IccTagBasic.cppSetText8853View Report
Logic errorDereference of null pointerIccXML/IccLibXML/IccTagXml.cppParseXml46176View Report
Logic errorDereference of null pointerIccProfLib/IccMpeBasic.cppSetCurve23166View Report
Logic errorDereference of null pointerIccXML/IccLibXML/IccTagXml.cppParseXml47366View Report
Logic errorDereference of null pointerIccProfLib/IccTagBasic.cppInterpolate507320View Report
Logic errorDereference of null pointerIccProfLib/IccTagBasic.cppInterpolate506120View Report
Logic errorDereference of null pointerIccProfLib/IccTagBasic.cppInterpolate562022View Report
Logic errorDereference of null pointerIccProfLib/IccTagBasic.cppSetText16825View Report
Logic errorDereference of null pointerIccXML/IccLibXML/IccTagXml.cppParseXml41238View Report
Logic errorDereference of null pointerIccProfLib/IccCmm.cppApply105965View Report
Logic errorDereference of null pointerIccProfLib/IccTagBasic.cppInterpolate618719View Report
Memory errorDouble freeIccProfLib/IccMpeBasic.cpp~CIccFormulaCurveSegment18788View Report
Memory errorDouble freeIccProfLib/IccMpeCalc.cpp~CIccCalculatorFunc279419View Report
Logic errorGarbage return valueIccProfLib/IccTagLut.hNumPoints32519View Report
Memory errorMemory leakIccProfLib/IccCmm.cpppushBiRef2Ref330719View Report
Memory errorMemory leakIccProfLib/IccTagBasic.cppDescribe70615View Report
Memory errorMemory leakIccProfLib/IccArrayBasic.cppFindDeviceColor3416View Report
Memory errorMemory leakIccProfLib/IccEncoding.cppConvertFromParams19326View Report
Memory errorMemory leakIccProfLib/IccEval.cppEvaluateProfile20724View Report
Memory errorMemory leakIccProfLib/IccEncoding.cppConvertFromParams47980View Report
Memory errorMemory leakIccProfLib/IccArrayBasic.cppFindSpectralColor4146View Report
Memory errorMemory leakIccXML/IccLibXML/IccTagXml.cppicCurvesFromXml320930View Report
Memory errorMemory leakIccXML/IccLibXML/IccMpeXml.cppParseXml70436View Report
Memory errorMemory leakIccXML/IccLibXML/IccTagXml.cppParseXml266918View Report
Logic errorResult of operation is garbage or undefinedIccProfLib/IccEval.cppEvaluateProfile18321View Report
Logic errorResult of operation is garbage or undefinedIccProfLib/IccCAM.cppHyperbolic1667View Report
Logic errorResult of operation is garbage or undefinedIccProfLib/IccEval.cppEvaluateProfile19128View Report
Logic errorResult of operation is garbage or undefinedIccProfLib/IccCAM.cppHyperbolic1557View Report
Logic errorUninitialized argument valueIccProfLib/IccCmm.cppApply559822View Report
Logic errorUninitialized argument valueIccProfLib/IccCmm.cppApply627814View Report
Logic errorUninitialized argument valueIccProfLib/IccCmm.cppApply631518View Report
Logic errorUninitialized argument valueIccProfLib/IccCmm.cppApply562922View Report
Logic errorUninitialized argument valueIccProfLib/IccCmm.cppApply561918View Report
Logic errorUninitialized argument valueIccProfLib/IccCmm.cppApply630514View Report
Logic errorUnix APIIccProfLib/IccTagBasic.cppSetText8605View Report
Logic errorUnix APIIccProfLib/IccTagBasic.cppSetText5365View Report
Logic errorUnix APIIccProfLib/IccTagBasic.cppSetText17093View Report
Logic errorUnix APIIccProfLib/IccTagBasic.cppSetText21385View Report
Memory errorUse-after-freeIccProfLib/IccTagBasic.cppoperator=104515View Report
Memory errorUse-after-freeIccProfLib/IccTagDict.cppoperator=1659View Report
Memory errorUse-after-freeIccProfLib/IccTagLut.cppoperator=12147View Report
Memory errorUse-after-freeIccProfLib/IccMpeBasic.cppoperator=36037View Report
Memory errorUse-after-freeIccProfLib/IccTagDict.cppoperator=17111View Report
Memory errorUse-after-freeIccProfLib/IccCmm.cppCreate94526View Report
Memory errorUse-after-freeIccProfLib/IccMpeBasic.cppRead283724View Report
Memory errorUse-after-freeIccProfLib/IccMpeBasic.cppoperator=26907View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other ErrorIccProfLib/IccUtil.cppclang_other_error_4akEXG.iiclang_other_error_4akEXG.ii.stderr.txt
Other ErrorIccProfLib/IccUtil.cppclang_other_error_l82BpE.iiclang_other_error_l82BpE.ii.stderr.txt

Please consider submitting preprocessed files as bug reports.

Knowledgebase

DemoMax Issue #54

Pull Request #53

CVE-2022-26730

CVE-2023-32443