avcodec/cinepak: Check side data size before use
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Oct 2016 12:47:38 +0000 (13:47 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Dec 2016 19:25:15 +0000 (20:25 +0100)
commit9cab9b878fd40add15422cbe4d51b60cf2d319ee
treec0c0cf96790fbd30a7e3cc3395a65d1639f8f0eb
parent35498718474f287eb6fa209b4f72756ecc66c32c
avcodec/cinepak: Check side data size before use

Fixes out of array read

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 121be310607879841d19a34d9f16d4fe9ba7f18c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cinepak.c