[FFmpeg-trac] #7981(undetermined:new): null pointer passed as argument at libavcodec/frame_thread_encoder.c:213:20

FFmpeg trac at avcodec.org
Sun Jun 30 15:33:21 EEST 2019


#7981: null pointer passed as argument at libavcodec/frame_thread_encoder.c:213:20
-------------------------------------+-------------------------------------
             Reporter:  Suhwan       |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  Null         |               Blocked By:
  Pointer passed, Division by Zero,  |
  ASAN, FFMpeg, avformat             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 There are 2 null pointer passed as argument at
 libavcodec/frame_thread_encoder.c:213:45 and a division by zero at
 libavformat/rawenc.c:70:50.

 How to reproduce:
 {{{
 Run the following cmd:
 % ffmpeg_g  -t 0 -stream_loop 20 -y -r 49 -i tmp.avi -map 0 -c:v v408
 -c:s:8 pcm_s8 -disposition:a cinepak -disposition:v:109 ffv1 -aframes 38
 -ar 48000 -b:v 627 tmp_.adx

 ffmpeg version: N-94137-g89b96900fa Copyright (c) 2000-2019 the FFmpeg
 developers

 built with clang version 9.0.0 (https://github.com/llvm/llvm-project.git
 442a120567a4bc6c59bc754f9edabfb770086f36).

 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7981>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list