Skip to content
Snippets Groups Projects
Commit e91f860e authored by James Zern's avatar James Zern Committed by Michael Niedermayer
Browse files

vp9/update_prob: prevent out of bounds table read


the max value of the lookup in expanded form is:
(((1 << 7) - 1) << 1) - 65 + 1 + 64 = 254

add one entry of padding to inv_map_table[] to prevent out of bounds
access with non-conforming / fuzzed bitstreams

Signed-off-by: default avatarJames Zern <jzern@google.com>
Reviewed-by: default avatar"Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 088b410e
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