[FFmpeg-trac] #7980(avcodec:new): heap-buffer-overflow at ffmpeg/libavcodec/zmbvenc.c:97:30 in block_cmp by null pointer or undefined-behavior libavformat/nutenc.c:794:27

FFmpeg trac at avcodec.org
Mon Jul 1 03:25:30 EEST 2019


#7980: heap-buffer-overflow at ffmpeg/libavcodec/zmbvenc.c:97:30 in block_cmp by
null pointer or undefined-behavior libavformat/nutenc.c:794:27
------------------------------------+-----------------------------------
             Reporter:  Suhwan      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  important   |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  zmbv ubsan  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by Suhwan):

 Thanks for Patching.

 To check heap buffer overflow in the program is needed to be compiled with
 clang-asan.
 usan option is for checking undefined behaviours.
 so I think asan option will reproduce the same log that I reported.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7980#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list