dv: check buffer size before reading profile.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 7 Mar 2012 21:48:41 +0000 (13:48 -0800)
committerReinhard Tartler <siretart@tauware.de>
Tue, 13 Mar 2012 22:30:21 +0000 (23:30 +0100)
commit74871ac70ae387470a5da469157050cb2d3ed36f
tree9f6e977be5b06b781d2a51a53186df454fa4efed
parent9cb7f6e54a426e132396548a745cb32ff825b1fa
dv: check buffer size before reading profile.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit e97efecec82ca8458a9bbd75a91ebf556abde362)

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