Fix potential OOB read with Error Concealment
authorJohn Koleszar <jkoleszar@google.com>
Fri, 5 Aug 2011 16:27:25 +0000 (12:27 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 12 Aug 2011 18:49:34 +0000 (14:49 -0400)
commitcdae03a4eb9690df77b5926a7835b2d355c62a13
tree059c02f350d8a04cf2325ce3623317955b7fc3b4
parente28e08146e468c55e435d19b2c95654e04fe3044
Fix potential OOB read with Error Concealment

This patch fixes an OOB read when error concealment is enabled and the
partition sizes are corrupt. The partition size read from the bitstream
was not being validated in EC mode.

Change-Id: Ia81dfd4bce1ab29ee78e42320abe52cee8318974
vp8/decoder/decodframe.c