System info:
Ubuntu 18.04.6 LTS, X64, gcc version 7.4.0, gpac (latest master 4a7a63)
Compile Command:
$ CC="gcc -fsanitize=address -g" CXX="g++ -fsanitize=address -g" ./configure --static-mp4box$ make
Run Command:
./MP4Box -dash 1000 crash_2
ASAN info:
===================================================================12759==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020000000d3atpc 0x55feb146edf3bp0x7fff627852e0sp0x7fff627852d0READ of size 1at0x6020000000d3 thread T0 #00x55feb146edf2in gf_m2ts_section_complete media_tools/mpegts.c:1471 #10x55feb146f3abin gf_m2ts_gather_section media_tools/mpegts.c:1740 #20x55feb147524cin gf_m2ts_process_packet media_tools/mpegts.c:3440 #30x55feb147524cin gf_m2ts_process_data media_tools/mpegts.c:3507 #40x55feb1484886in gf_m2ts_probe_file media_tools/mpegts.c:4641 #50x55feb13ac7f0in gf_dash_segmenter_probe_input media_tools/dash_segmenter.c:5505 #60x55feb13d350ain gf_dasher_add_input media_tools/dash_segmenter.c:6669 #70x55feb0faea6fin mp4boxMain /home/dr3dd/fuzzing/gpac/applications/mp4box/main.c:4704 #80x7f1e4bd95b96in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #90x55feb0f9d7a9in _start (/home/dr3dd/fuzzing/gpac/bin/gcc/MP4Box+0x1657a9)0x6020000000d3 is located 0 bytes to the right of 3-byte region [0x6020000000d0,0x6020000000d3)allocated by thread T0 here: #00x7f1e4ca1df40in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdef40) #10x55feb146f309in gf_m2ts_gather_section media_tools/mpegts.c:1730SUMMARY: AddressSanitizer: heap-buffer-overflow media_tools/mpegts.c:1471in gf_m2ts_section_completeShadow bytes around the buggy address:0x0c047fff7fc0: 000000000000000000000000000000000x0c047fff7fd0: 000000000000000000000000000000000x0c047fff7fe0: 000000000000000000000000000000000x0c047fff7ff0: 000000000000000000000000000000000x0c047fff8000: fa fa 02 fa fa fa 0000 fa fa 0000 fa fa 0000=>0x0c047fff8010: fa fa 0000 fa fa 0000 fa fa[03]fa fa fa fa fa0x0c047fff8020: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa0x0c047fff8030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa0x0c047fff8040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa0x0c047fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa0x0c047fff8060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa faShadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01020304050607 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8Globalredzone: f9Globalinit order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb==12759==ABORTING
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/
System info:
Ubuntu 18.04.6 LTS, X64, gcc version 7.4.0, gpac (latest master 4a7a63)
Compile Command:
Run Command:
ASAN info:
gdb Info:
here is crash file:
crash_2.zip
Thanks
dr3dd
The text was updated successfully, but these errors were encountered: