]> git.sesse.net Git - ffmpeg/commit
vorbisdec: Error on bark_map_size equal to 0.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Jan 2013 23:54:12 +0000 (00:54 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 25 Feb 2013 06:33:59 +0000 (07:33 +0100)
commit11dcecfcca0eca1a571792c4fa3c21fb2cfddddc
tree679e673fc84fbdf13b55441d92508c0e2d0dfee4
parent3d035d5a6a9116a334fc82dcb37704da2d074958
vorbisdec: Error on bark_map_size equal to 0.

The value is used to calculate output LSP curve and a division by zero
and out of array accesses would occur.

CVE-2013-0894

CC: libav-stable@libav.org
Reported-by: Dale Curtis <dalecurtis@chromium.org>
Found-by: inferno@chromium.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/vorbisdec.c