Changes between Initial Version and Version 2 of Ticket #9099


Ignore:
Timestamp:
Feb 10, 2021, 10:36:03 PM (2 weeks ago)
Author:
cehoyos
Comment:

I cannot reproduce a crash.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9099

    • Property Keywords asan hevc added; NULL Pointer Dereference removed
    • Property Priority changed from important to normal
    • Property Summary changed from FFmpeg/libavcodec: NULL Pointer Dereference to Undefined behaviour in the hevc decoder
  • Ticket #9099 – Description

    initial v2  
    1414
    1515-- [ Reproduce with ASAN & Report
    16 
     16{{{
    1717ubuntu@VM-0-6-ubuntu:~$ FFREPORT=1 ./bin/ffmpeg -i PoC output.mp4 # sorry I didn't go deep to figure out the format of the PoC
    1818Report written to "ffmpeg-20210210-224350.log"
     
    6868SUMMARY: AddressSanitizer: SEGV /home/ubuntu/ffmpeg_sources/FFmpeg/libavcodec/hevcdec.c:3427:19 in hevc_decode_free
    6969==23809==ABORTING
    70 
     70}}}
     71{{{
    7172ubuntu@VM-0-6-ubuntu:~$ cat ffmpeg-20210210-224350.log
    7273ffmpeg started on 2021-02-10 at 22:43:50
     
    123124detected 16 logical cores
    124125[hevc @ 0x619000002d80] Invalid NAL unit size in extradata.
    125 
    126 
     126}}}
    127127-- [ GDB Report
    128 
     128{{{
    129129ubuntu@VM-0-6-ubuntu:~$ gdb --args ./bin/ffmpeg -i PoC output.mp4
    130130(gdb) run
     
    218218/* ... */
    219219
    220 
     220}}}
    221221-- [ PoC base64 encoded
    222 
     222{{{
    223223ubuntu@VM-0-6-ubuntu:~$ base64 PoC
    224224MDAwMG1vb3YAAABsMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAw
     
    231231MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAA0YXZjQzAwMDAwMDAwMDAwMDAwMDAw
    232232MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMGZybWFIdmMx
    233 
     233}}}
    234234
    235235Thank you.