diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-19 23:45:00 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-22 19:39:43 +0100 |
commit | 7172175da6f8dfe6939e5366190a8066b78d71df (patch) | |
tree | 133725551c71abc0727c6f7fa0ee76c26248961d /libavdevice/libavdevice.v | |
parent | 5dbd114b83b05adea7d0dea0ec53b6700291fb37 (diff) | |
download | ffmpeg-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 'libavdevice/libavdevice.v')
0 files changed, 0 insertions, 0 deletions