Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
treebacker opened this issue Mar 28, 2021 · 1 comment

Comments

@treebacker
Copy link

treebacker commented Mar 28, 2021

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

@jeanlf
Copy link
Contributor

jeanlf commented Mar 29, 2021

fixed here, thanks for the report

@jeanlf jeanlf closed this as completed Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants