avcodec/xan: Improve overlapping check
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 30 Oct 2017 22:21:40 +0000 (23:21 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit35c1e95b41e9a626be39629993eb23dae2f80fd7
tree950389cefc842ed86a1cff92401bb4dcc132a918
parent9d4ad2dbfdc770f1cab85a7b176024924303be6b
avcodec/xan: Improve overlapping check

Fixes: memcpy-param-overlap
Fixes: 3612/clusterfuzz-testcase-minimized-6393461273001984

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e8fafef1db43ead4eae5a6301ccc300e73aa47da)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/xan.c