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 16:59:40 +0000 (17:59 +0100)
commit9ded14fcb8a57e0ec24b147f19d02faf4b7b93b3
tree4d513e52c81ebaddcabafda897f97221a8c3c389
parentd1d329932fd47d5e0fd4ca3c37827b98981c62cd
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