dfa: check that the caller set width/height properly.
authorAnton Khirnov <anton@khirnov.net>
Fri, 28 Sep 2012 12:47:56 +0000 (14:47 +0200)
committerReinhard Tartler <siretart@tauware.de>
Fri, 4 Jan 2013 06:43:37 +0000 (07:43 +0100)
commit4c849c69910c6c59ba57022ef28aaf70192a0e12
tree26a17c22ecd32bdcf39d6869be040c77d44d6fb8
parent42c3a3719b055836291eec5765857872fb75a1f8
dfa: check that the caller set width/height properly.

Fixes CVE-2012-2786.
(cherry picked from commit ee715f49a06bf3898246d01b056284a9bb1bcbb9)

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