Skip to content
Snippets Groups Projects
Commit 9e1c55cf authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

oggdec: check stream index before using it in ogg_get_length()


Fixes crash based on a uninitialized array index read.
If the read does not crash then out of array writes based
on the same index might have been triggered afterwards.

Found-by: default avatar <inferno@chromium.org>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 74c6db05
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment