Opened 5 years ago

Closed 5 years ago

#8163 closed defect (fixed)

left shift of 64 by 25 places cannot be represented in type 'int' in libavformat/sdsdec.c:71

Reported by: Suhwan Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: ubsan
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
There's a left shift of 64 by 25 places cannot be represented in type 'int' in libavformat/sdsdec.c:71

How to reproduce:

% ./ffmpeg_g -y -r 64 -i sds-pcm24.sds -loglevel 99 -map 0 -c: s:8 wmv1 -c: v:42 aptx -disposition: a:80 avui -disposition: a:7 h263_v4l2m2m -vframes 72 -ab 326k -ac 10 output/tmp.paf

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

Attachments (2)

gdb-sdsdec71 (15.6 KB ) - added by Suhwan 5 years ago.
sds-pcm24.sds (77.7 KB ) - added by Suhwan 5 years ago.
poc

Download all attachments as: .zip

Change History (3)

by Suhwan, 5 years ago

Attachment: gdb-sdsdec71 added

by Suhwan, 5 years ago

Attachment: sds-pcm24.sds added

poc

comment:1 by Elon Musk, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.