[FFmpeg-trac] #8143(undetermined:new): left shift of negative value in libavformat/rmdec.c
FFmpeg
trac at avcodec.org
Sun Sep 15 05:44:28 EEST 2019
#8143: left shift of negative value in libavformat/rmdec.c
-------------------------------------+-------------------------------------
Reporter: Suhwan | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: ubsan | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
There's a left shift of negative value bug in libavformat/rmdec.c:727:41
{{{
libavformat/rmdec.c:727:41: runtime error: left shift of negative value -1
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
libavformat/rmdec.c:727:41 in
}}}
How to reproduce:
{{{
% ./ffmpeg_g -y -i thankyou.rm -map 0 -c copy -c: v:79 targa -disposition:
a:122 dpx -disposition: v:100 pcm_vidc -vframes 73 -aframes 50 -r 17 -ab
724k -ar 22050 -ac 10 -strict 0 output/tmp.ffmetadata
ffmpeg version N-94887-ge55018ee11 (git master)
built on ... ubuntu 18.04 with clang-6 and UBSAN option.
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8143>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list