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>
Thu, 10 Jan 2013 23:58:40 +0000 (00:58 +0100)
commit2c16bf2de07c68513072bf3cc96401d2c6291a3e
treef149cc97137b55063544447861ee34120a6e239d
parent7e5c5fa5fc8f99be66341b95257d42fa2d1f0fbb
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>
libavcodec/vorbisdec.c