mjpegbdec: Fix overflow in SOS.
authorAlex Converse <alex.converse@gmail.com>
Wed, 25 Jan 2012 21:39:24 +0000 (13:39 -0800)
committerReinhard Tartler <siretart@tauware.de>
Tue, 28 Feb 2012 21:20:45 +0000 (22:20 +0100)
commit083a8a00373b12dc06b8ae4c49eec61fb5e55f4b
treedac1f91b30bca4ccbc4c555ac902f9b5e2b83002
parent71a939fee47d8b59ba1258b481322d16378e556f
mjpegbdec: Fix overflow in SOS.

Based in part by a fix from Michael Niedermayer <michaelni@gmx.at>

Fixes CVE-2011-3947

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
(cherry picked from commit b57d262412204e54a7ef8fa1b23ff4dcede622e5)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/mjpegbdec.c