Johann 738b829b8c Fix incorrect size reading
Cherry pick from vp9:

commit 85770264ac891505730dcd5092d1993a62c74060
Guard against incorrect size values moving *data past data_end.

Check read length against the difference of the buffers.

Change-Id: I5e8679ddd447c4d73deb80be5ec94841a92c5fcd
2018-01-26 15:51:50 -08:00
..
2018-01-26 15:51:50 -08:00
2017-10-12 08:50:04 +08:00
2013-12-03 17:19:41 -08:00