Skip to content

Design limitation of read boundaries #327

@robUx4

Description

@robUx4

We recently got a file that has some upper element that violates its size boundaries.

When calling EbmlElement::FindNextElement() one can pass the limit to which the elements can be found with MaxDataSize. However that value is not used if we read the next upper element. There's a check on the value but if it's a binary or master element with no constraints it will be valid no matter what, and returned because UpperLevel > 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    abi-breakbreaks the ABI (e.g. programs linked against the library have to be recompiled)api-breakbreaks the API (e.g. programs using it will have to adjust their source code)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions