OSDN Git Service

mjpegdec: check for pixel format changes
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Dec 2014 19:52:13 +0000 (20:52 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 19 Dec 2014 07:01:46 +0000 (08:01 +0100)
commit809c3023b699c54c90511913d3b6140dd2436550
treebe13a91ee2f9602083133f09c9f9b6b753987568
parent64f7575fbd64e5b65d5c644347408588c776f1fe
mjpegdec: check for pixel format changes

Fixes possible invalid memory access.

Based on code by Michael Niedermayer <michaelni@gmx.at>

CC: libav-stable@libav.org
Bug-ID: CVE-2014-8541
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/mjpegdec.c