avcodec/vp8: Check buffer size in vp8_decode_frame_header()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 18 Jul 2015 17:18:24 +0000 (19:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 18 Jul 2015 17:37:04 +0000 (19:37 +0200)
commit599d746e07319dc792ed2e511b666fe482f1ff88
tree0d9ea65a9376e3acbbda1b7953ba152a4be9ac9c
parenta84f0e8d8f293df3c535f9b893730a835bed6520
avcodec/vp8: Check buffer size in vp8_decode_frame_header()

avoids null pointer dereference
Fixes: signal_sigsegv_d5de40_964_vp80-00-comprehensive-010.ivf with memlimit of 1048576

Found-by: Samuel GroƟ, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp8.c