-
Notifications
You must be signed in to change notification settings - Fork 525
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
Segmentation fault casued by heap use after free using mp4box in mpgviddmx_process, reframe_mpgvid.c:851 #1887
Comments
|
Here is the trace reported by ASAN: |
|
reposting my previous comment hm this one is a bit trickier when doing gpac/src/filters/reframe_mpgvid.c Lines 847 to 851 in 70607fc
the however, gpac/src/filters/reframe_mpgvid.c Line 594 in 70607fc
so the I'm not sure about the best way to fix this yet but wanted to share the analysis |
Hi, there.
There is a segmentation fault caused by null pointer dereference in mpgviddmx_process, reframe_mpgvid.c:851 in commit 592ba26.
Here is my environment, compiler info and gpac version:
To reproduce, run
POC:
poc.zip
(unzip first)
Here is the trace reported by gdb:
The reason for this bug is that the program does not check the nullity of the pointer before copy memory to it.

The text was updated successfully, but these errors were encountered: