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

null pointer reference in gf_isom_get_media_data_size #1377

Closed
cuanduo opened this issue Jan 2, 2020 · 1 comment
Closed

null pointer reference in gf_isom_get_media_data_size #1377

cuanduo opened this issue Jan 2, 2020 · 1 comment

Comments

@cuanduo
Copy link

cuanduo commented Jan 2, 2020

Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you!

Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/

MP42TS -src $POC -dst-file /dev/null
count_video.zip
asan output

root@ubuntu:/home/tim/gpac# ../gpac-asan/MP42TS -src crashes/count_video.mp4-signalb-0x0 -dst-file /dev/null
AddressSanitizer:DEADLYSIGNAL
=================================================================
==112791==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x55e4a53e12e4 bp 0x602000000370 sp 0x7fffdb37dbe0 T0)
==112791==The signal is caused by a READ memory access.
==112791==Hint: address points to the zero page.
    #0 0x55e4a53e12e3 in gf_isom_get_media_data_size isomedia/isom_read.c:3312
    #1 0x55e4a5391fdd in fill_isom_es_ifce /home/tim/gpac-asan/applications/mp42ts/main.c:620
    #2 0x55e4a5391fdd in open_source /home/tim/gpac-asan/applications/mp42ts/main.c:1518
    #3 0x55e4a53836c0 in parse_args /home/tim/gpac-asan/applications/mp42ts/main.c:2260
    #4 0x55e4a53836c0 in main /home/tim/gpac-asan/applications/mp42ts/main.c:2465
    #5 0x7f9a8b98ab6a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26b6a)
    #6 0x55e4a53899c9 in _start (/home/tim/gpac-asan/MP42TS+0x1249c9)

@aureliendavid
Copy link
Contributor

see #1378

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