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>
Sun, 1 Apr 2012 16:33:29 +0000 (18:33 +0200)
commit6ae95a0b93e8df15fe5f364535a7214be0817736
treec46ac2f1f13fc0e073e9b86597d258810004f8d2
parent96ed18cab1048f03ff1c825f46b25d49218f1da4
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>
(cherry picked from commit 083a8a00373b12dc06b8ae4c49eec61fb5e55f4b)

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