vorbisdec: Check bark_map_size.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Jan 2013 23:54:12 +0000 (00:54 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Mar 2014 03:23:59 +0000 (04:23 +0100)
commit3926ebc7029d97f2aa8c1d834a9a67d821c43db8
tree556b7dec1e35bbd96f79f57510ed3f58ecc0dd8e
parent85162a60b8f954ddaf1726691d39945fba0ce8c5
vorbisdec: Check bark_map_size.

This fixes potential divisions by zero and out of array accesses.

Reported-by: Dale Curtis <dalecurtis@chromium.org>
Found-by: inferno@chromium.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 2c16bf2de07c68513072bf3cc96401d2c6291a3e)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vorbisdec.c