#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


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 13 months ago.
tmp.tiff (31.5 KB) - added by Suhwan 13 months ago.

Download all attachments as: .zip

Change History (4)

Changed 13 months ago by Suhwan

Changed 13 months ago by Suhwan

comment:1 Changed 13 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords vc2 added; vc2enc_dwt removed

Patch sent.

comment:2 Changed 12 months ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.