avcodec/xpmdec: Fix multiple pointer/memory issues
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 00:38:33 +0000 (02:38 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 May 2017 21:38:03 +0000 (23:38 +0200)
commitcb243972b121b1ae6b60a78ff55a0506c69f3879
treef49b9533060b73cc0fb19bdd7abc4ef4c8c6a092
parent73ae60d7df0404b06141faf9a6f62fa87d0a770c
avcodec/xpmdec: Fix multiple pointer/memory issues

Most of these were found through code review in response to
fixing 1466/clusterfuzz-testcase-minimized-5961584419536896
There is thus no testcase for most of this.
The initial issue was Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/xpmdec.c