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>
Sun, 10 Feb 2013 17:01:15 +0000 (18:01 +0100)
commitc3761b661874174a63aded4933a62aa1246f9339
treea3b66259d51453f60386f8474c76a5da10aa0c0a
parent2e1474fd9988e0d8749b8ba2eb46a945ef37dfb7
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