Fix uninitialized reads on malformed ogg files.
authorDale Curtis <dalecurtis@chromium.org>
Wed, 7 Mar 2012 22:26:58 +0000 (14:26 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 18:34:40 +0000 (19:34 +0100)
commit55065315caf138223b1f2f4e168fc64f601d1352
treeb1cb6c8807982a838b8d5d86d84d57a550dc74ff
parent808187965570012cca99a7c0fdf1d93652947285
Fix uninitialized reads on malformed ogg files.

The ogg decoder wasn't padding the input buffer with the appropriate
FF_INPUT_BUFFER_PADDING_SIZE bytes. Which led to uninitialized reads in
various pieces of parsing code when they thought they had more data than
they actually did.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ef0d779706c77ca9007527bd8d41e9400682f4e4)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/oggdec.c