#8162: left shift of negative value bug in libavcodec/mpeg12dec.c
-------------------------------------+-------------------------------------
             Reporter:  Suhwan       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  ubsan        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 There is a left shift of negative value bug in libavcodec/mpeg12dec.c
 {{{
 libavcodec/mpeg12dec.c:2017:14: runtime error: left shift of negative
 value -622428417
 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
 libavcodec/mpeg12dec.c:2017:14 in
 }}}
 How to reproduce:
 {{{
 % ./ffmpeg_g -y -i pedestrians-bug001-minimal.gxf -loglevel 99 -map 0
 -aframes 68 -ab 738k -ac 12 -strict 3 output/tmp.roq

 ffmpeg version N-94943-g1db6e47e85
 built on ubuntu 18.04 with clang-6 and UBSAN option.
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8162>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to