summaryrefslogtreecommitdiffstats
path: root/libavcodec/dirac.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-12-19 23:45:00 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-12-22 19:39:43 +0100
commit7172175da6f8dfe6939e5366190a8066b78d71df (patch)
tree133725551c71abc0727c6f7fa0ee76c26248961d /libavcodec/dirac.c
parent5dbd114b83b05adea7d0dea0ec53b6700291fb37 (diff)
downloadffmpeg-streaming-7172175da6f8dfe6939e5366190a8066b78d71df.zip
ffmpeg-streaming-7172175da6f8dfe6939e5366190a8066b78d71df.tar.gz
mlvdec: validate bits_per_coded_sample
A negative bits_per_coded_sample doesn't make sense. If it is too large, the size calculation for av_get_packet overflows, resulting in allocation of a too small buffer. Also make sure width and height are sane. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/dirac.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud