diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-02-24 12:46:28 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-05-16 16:00:21 +0200 |
commit | aa5e396d42f938d23a8c6fa94217ba226cc5a214 (patch) | |
tree | 89bfc56d66b02f71c0fc982d6baa8fd02debb937 /libavcodec/tiff_common.c | |
parent | 5fcb98f34f5a5f8ce4d92d32362f20c12347364a (diff) | |
download | ffmpeg-aa5e396d42f938d23a8c6fa94217ba226cc5a214.tar.gz |
avcodec/rv34: Simplify and factor get_slice_offset() code
This also fixes several integer overflows by checking each value before
use.
Fixes: 662/clusterfuzz-testcase-4898131432964096
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8696f254444c2ec24daa570f26feadbd3df911e4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/tiff_common.c')
0 files changed, 0 insertions, 0 deletions