Skip to content

TC in ToXmlCurve() at IccXML/IccLibXML/IccMpeXml.cpp:1032:41 #390

@xsscx

Description

@xsscx

Additional Report

cd Testing/hybrid

iccToXml LCDDisplay.icc LCDDisplay-icc-xml.xml

IccXML/IccLibXML/IccMpeXml.cpp:1032:41: runtime error: downcast of address 0x506000000020 which does not point to an object of type 'CIccSingleSampledeCurveXml'
0x506000000020: note: object is of type 'CIccSingleSampledCurve'
 00 00 00 00  50 92 c4 6c 79 7b 00 00  00 00 00 00 00 01 00 00  80 14 00 00 90 51 00 00  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'CIccSingleSampledCurve'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior IccXML/IccLibXML/IccMpeXml.cpp:1032:41
IccXML/IccLibXML/IccMpeXml.cpp:1034:18: runtime error: member call on address 0x506000000020 which does not point to an object of type 'CIccSingleSampledeCurveXml'
0x506000000020: note: object is of type 'CIccSingleSampledCurve'
 00 00 00 00  50 92 c4 6c 79 7b 00 00  00 00 00 00 00 01 00 00  80 14 00 00 90 51 00 00  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'CIccSingleSampledCurve'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior IccXML/IccLibXML/IccMpeXml.cpp:1034:18
XML successfully created

Originally posted by @xsscx in #388

Metadata

Metadata

Assignees

Labels

BugBug ReportIn ScopeMaintainer indicates In Scope ReportSecuritySecurity RelatedTriagedMaintainer indicates triaged status and ready for developer handoff

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions