dv: Fix null pointer dereference due to ach=0
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Jan 2012 16:51:40 +0000 (17:51 +0100)
committerAlex Converse <alex.converse@gmail.com>
Tue, 6 Mar 2012 23:28:00 +0000 (15:28 -0800)
commitefd30c4d95c56680f011c36a7f75c5c7389e34f2
treea938bb67a73396eec90504a96dbb2797052df7ce
parentd7fddc97d40025876e1342109a49f07ba8fa6878
dv: Fix null pointer dereference due to ach=0

dv: Fix null pointer dereference due to ach=0

Fixes part2 of CVE-2011-3929

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Roman Shaposhnik <roman@shaposhnik.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Alex Converse <alex.converse@gmail.com>
(cherry picked from commit 5a396bb3a66a61a68b80f2369d0249729bf85e04)
libavformat/dv.c