avcodec/interplayvideo: Check side data size before use
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Oct 2016 01:51:17 +0000 (03:51 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Dec 2016 17:29:12 +0000 (18:29 +0100)
commit0e3dc45ce81f9c9db5a6a6e2df96670164e82dec
tree6bebb10a2c5f2e489e9920cfe90351e3b36df646
parent072246993acb9ce22f88e3df697f78dba61fcdd3
avcodec/interplayvideo: Check side data size before use

Fixes out of array read

Found-by: Thomas Garnier using libFuzzer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 85d23e5cbc9ad6835eef870a5b4247de78febe56)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/interplayvideo.c