ffmpeg: add image size check to codec_get_buffer()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Jan 2012 05:32:05 +0000 (06:32 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Jan 2012 05:48:30 +0000 (06:48 +0100)
commit668494acd8b20f974c7722895d4a6a14c1005f1e
tree29050ae016aeac4e5b411ec681bd3678c0326147
parent28d634711b0cca18677a48d18416566b6565b567
ffmpeg: add image size check to codec_get_buffer()

Fixes CVE-2011-3935

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