diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-10 22:09:03 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-27 00:46:34 +0100 |
commit | f76947fd567f20287bc8ca8e692a59026bac19e7 (patch) | |
tree | 60b4192471360af2ff4a168422b33484647c00af /libavfilter/vsrc_life.c | |
parent | 71fa32bbb7478a865ba9e955393766f733fdda50 (diff) | |
download | ffmpeg-f76947fd567f20287bc8ca8e692a59026bac19e7.tar.gz |
smvjpegdec: make sure cur_frame is not negative
This fixes a heap-buffer-overflow detected by AddressSanitizer.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 360bc0d90aa66cf21e9f488e77d21db18e01ec9c)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/vsrc_life.c')
0 files changed, 0 insertions, 0 deletions