Opened 5 years ago

Closed 5 years ago

#8165 closed defect (fixed)

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

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 is left shift of 64 by 25 places cannot be represented in type 'int' in libavformat/sdsdec.c:59

How to reproduce:

% ./ffmpeg_g -y -r 17 -i sds-pcm16.sds -target dvd -loglevel 0 -map 0 -c: s:0 targa -disposition: v:154 r10k -disposition: a:178 v210 -vframes 13 -aframes 105 output/tmp.idf

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

Attachments (2)

gdb-sdsdec59 (5.2 KB ) - added by Suhwan 5 years ago.
sds-pcm16.sds (58.2 KB ) - added by Suhwan 5 years ago.
poc

Download all attachments as: .zip

Change History (3)

by Suhwan, 5 years ago

Attachment: gdb-sdsdec59 added

by Suhwan, 5 years ago

Attachment: sds-pcm16.sds added

poc

comment:1 by Elon Musk, 5 years ago

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