Opened 2 years ago

Closed 2 years ago

#7985 closed defect (fixed)

undefined-behavior at libavcodec/vc2enc_dwt.c:69

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

Description

Summary of the bug:
There's an undefined-behavior at libavcodec/vc2enc_dwt.c:69:34
How to reproduce:

% ffmpeg_g -y -r 74 -i tmp.tiff -map 0 -c:a mpeg1video -c:v vc2 -disposition:a pgm -disposition:a flv -vframes 46 -r 3 -ab 731 -ar 22050 -b:v 716k tmp_.adx

ffmpeg version N-94149-g50e194e6e1 Copyright (c) 2000-2019 the FFmpeg developers
built with clang version 9.0.0 (https://github.com/llvm/llvm-project.git 442a120567a4bc6c59bc754f9edabfb770086f36)

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (2)

gdb_log_7985 (14.1 KB ) - added by Suhwan 2 years ago.
tmp.tiff (31.5 KB ) - added by Suhwan 2 years ago.

Download all attachments as: .zip

Change History (4)

by Suhwan, 2 years ago

Attachment: gdb_log_7985 added

by Suhwan, 2 years ago

Attachment: tmp.tiff added

comment:1 by Carl Eugen Hoyos, 2 years ago

Component: undeterminedavcodec
Keywords: vc2 added; vc2enc_dwt removed

Patch sent.

comment:2 by Carl Eugen Hoyos, 2 years ago

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