Skip to content

A integer overflow in function filter_core/filter_props.c:gf_props_assign_value #1718

Description

@treebacker

There is a integer overflow in function filter_core/filter_props.c:gf_props_assign_value.
In which, the arg const GF_PropertyValue *value,maybe value->value.data.size is a negative number.
In result, memcpy in gf_props_assign_value failed.
More, this bug may result a heap overflow with crafted file.

In command line:
./bin/gcc/gpac -info bug.flac
2
In gdb:
1

The crafted file is in attach zip:
bug.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions