Fix incorrect size reading
authorJohann <johannkoenig@google.com>
Wed, 18 Dec 2013 02:29:06 +0000 (18:29 -0800)
committerJohann <johannkoenig@google.com>
Wed, 18 Dec 2013 02:48:55 +0000 (18:48 -0800)
commit85770264ac891505730dcd5092d1993a62c74060
tree8254d3b1b7cc4c1f7ff420990100422ecf0ab868
parentaf416c4daf6681a7ad599d3c1325723ab116b99e
Fix incorrect size reading

Guard against incorrect size values moving *data past data_end.

Check read length against the difference of the buffers.

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