[FFmpeg-trac] #7979(ffmpeg:new): Division by zero bug from libavformat/rawenc.c:70:50

FFmpeg trac at avcodec.org
Sun Jun 30 12:57:55 EEST 2019


#7979: Division by zero bug from libavformat/rawenc.c:70:50
-------------------------------------+-------------------------------------
             Reporter:  Suhwan       |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  ffmpeg       |                  Version:  git-
             Keywords:  Division by  |  master
  Zero, ASAN, FFMpeg, avformat       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 There's a division by zero bug in libavformat/rawenc.c:70.

 How to reproduce:
 {{{
 run following cmd with tmp.avi file:
 % ffmpeg_g  -y -i tmp.avi -map 0 -c:a:104 utvideo -c:v magicyuv
 -disposition:a g722 -disposition:s:8 pam -vframes 0 -aframes 25 -ar 22050
 -ac 5 tmp_.adx

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

 built with clang-9, clang-asan option.
 }}}

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


More information about the FFmpeg-trac mailing list