mjpegbdec: Fix incorrect bitstream buffer size.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Jan 2012 22:55:21 +0000 (23:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Jan 2012 22:56:09 +0000 (23:56 +0100)
commit01e5e97026cf0b344abafca22b0336a2c58b2a33
tree807365a7a7a473e6e2dd13e748418bc833d0e219
parentdd453f197c136aa6ee45bb1e9d2a1d65e69c9fcc
mjpegbdec: Fix incorrect bitstream buffer size.

Fixes CVE-2011-3947

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegbdec.c