vorbisdec: Prevent a potential integer overflow.
authorAlex Converse <alex.converse@gmail.com>
Tue, 3 Aug 2010 00:25:06 +0000 (00:25 +0000)
committerAlex Converse <alex.converse@gmail.com>
Tue, 3 Aug 2010 00:25:06 +0000 (00:25 +0000)
commit366d919016a679d3955f6fe5278fa7ce4f47b81e
tree4a8dcaeea99ef09bae878c6ce164f0eb6a2f9b88
parent83abdf5ff059649635e7e7e16c528e1973ac8a67
vorbisdec: Prevent a potential integer overflow.

If sizeof uint_fast8_t > 1 and sizeof size_t <= 4, the expression that mallocs
classifs  is susceptible to integer overflow.

Originally committed as revision 24675 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vorbis_dec.c