lavc: Check the image size before calling get_buffer
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 4 Aug 2014 12:15:45 +0000 (14:15 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 4 Aug 2014 12:15:45 +0000 (14:15 +0200)
commit146b187113e3cc20c2a97c5f264da13e701ca247
tree787c4efc1c2f6a1725252dcb0e5ab49267ef8c4a
parent43d676432740c6d5e5234ed343f13902909fd124
lavc: Check the image size before calling get_buffer

Bug-Id: CVE-2011-3935
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/utils.c