Skip to content

Segfault because of Out-of-Bound Read #1

@GanbaruTobi

Description

@GanbaruTobi

I tested this lib with AdressSanitizer.
Its likely to crash because of the referenced condition, which will just happily read behind the strings length.

cxml/cxml.c

Lines 160 to 162 in 36f7e51

while(str.str[str.length] != '"' && str.str[str.length] != '\'') {
str.length++;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions