[FFmpeg-trac] #8158(undetermined:new): left shift of negative value bug in libavcodec/wmavoice.c
FFmpeg
trac at avcodec.org
Mon Sep 16 17:43:43 EEST 2019
#8158: left shift of negative value bug in libavcodec/wmavoice.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 left shift of negative value bug in libavcodec/wmavoice.c:1523
{{{
libavcodec/wmavoice.c:1523:50: runtime error: left shift of negative value
-2
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
libavcodec/wmavoice.c:1523:50 in
}}}
How to reproduce:
{{{
% ./ffmpeg_g -y -r 86 -i wmv3-wmaspeeech.wmv -loglevel 99 -map 0 -vframes
43 -aframes 60 -r 101 -ac 30 -strict 1 output/tmp.wtv
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/8158>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list