Skip to content

UB runtime error: member access within null pointer at IccXML/IccLibXML/IccMpeXml.cpp:3123:54 #376

@xsscx

Description

@xsscx

Maintainer Repro

Mon Dec 29 07:38:48 PM UTC 2025

Step 1. wget https://raw.githubusercontent.com/xsscx/Commodity-Injection-Signatures/refs/heads/master/xml/icc/npd-CIccMpeXmlCalculator-ParseXml-ub-load-null-ptr.xml

Step 2. iccFromXml npd-CIccMpeXmlCalculator-ParseXml-ub-load-null-ptr.xml foo.bar

Expected Output

IccXML/IccLibXML/IccMpeXml.cpp:3123:54: runtime error: member access within null pointer of type 'struct _xmlNode'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior iccDEV/IccXML/IccLibXML/IccMpeXml.cpp:3123:54

Metadata

Metadata

Assignees

No one assigned

    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