There is a integer overflow in function filter_core/filter_props.c:gf_props_assign_value in GPAC 1.0.1. 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.
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](https://user-images.githubusercontent.com/44844446/112755438-41f0a380-9013-11eb-9232-f453d25d3c18.png)
In gdb:
![1](https://user-images.githubusercontent.com/44844446/112755443-46b55780-9013-11eb-82b5-cced1e7c3936.png)

The crafted file is in attach zip:
[bug.zip](https://github.com/gpac/gpac/files/6217467/bug.zip)

A integer overflow in function filter_core/filter_props.c:gf_props_assign_value
This is a GitHub Issue
repo:gpac
owner:gpac
Title : A integer overflow in function filter_core/filter_props.c:gf_props_assign_value
Issue date:

--- start body ---
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](https://user-images.githubusercontent.com/44844446/112755438-41f0a380-9013-11eb-9232-f453d25d3c18.png)
In gdb:
![1](https://user-images.githubusercontent.com/44844446/112755443-46b55780-9013-11eb-82b5-cced1e7c3936.png)

The crafted file is in attach zip:
[bug.zip](https://github.com/gpac/gpac/files/6217467/bug.zip)

--- end body ---

An integer overflow vulnerability in the function gf_props_assign_value of GPAC allows attackers to exploit negative sizes in the value.data.size field, potentially leading to a heap overflow when processing crafted files. This can result in memory corruption and may allow for arbitrary code execution.