Prevent read to invalid RefBuffer
authorYaowu Xu <yaowu@google.com>
Wed, 25 May 2016 16:28:36 +0000 (09:28 -0700)
committerYaowu Xu <yaowu@google.com>
Wed, 25 May 2016 16:28:36 +0000 (09:28 -0700)
commit75b6cfe1c50e749a0edb5460a491ca5ac947aff5
treedd383666a0590e3eedd2f0e684b1f3abd7106341
parent7acd0a59caaa2ded8e0c2a219bac926316e2b812
Prevent read to invalid RefBuffer

This commit adds check to validate RefBuffer before reading into the
data structure, to prevent invalid read.

BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=614701

Change-Id: Ie111e95bd18e88fa19d8b25e097cdf52b7139cb6
vp9/decoder/vp9_decodeframe.c