Opened 6 years ago
Closed 6 years ago
#8158 closed defect (fixed)
left shift of negative value bug in libavcodec/wmavoice.c
| Reported by: | Suhwan | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | avcodec |
| Version: | git-master | Keywords: | wmavoice ubsan |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
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.
Attachments (2)
Change History (4)
by , 6 years ago
| Attachment: | wmv3-wmaspeeech.wmv added |
|---|
by , 6 years ago
| Attachment: | gdb-wmavoice added |
|---|
comment:2 by , 6 years ago
| Component: | undetermined → avcodec |
|---|---|
| Keywords: | wmavoice added |
| Priority: | normal → minor |
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



poc