commit | d5bb77bfdc448aa985da696041eb0e143747e13c | [log] [tgz] |
---|---|---|
author | John Bauman <jbauman@google.com> | Tue Jan 15 13:08:07 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jan 16 09:23:06 2019 +0000 |
tree | ea0f7ad82e6a357bb5901787c051949e1d88eb76 | |
parent | f86fa109d41926fb9bf01b1024732f6c677d273b [diff] |
[magma] Fix logic for determining how many buffers to copy This could read off the end of the array. Also fix some tests so they're more likely to detect this. Test: hikey960:go/magma-tps#L0 Change-Id: I8d30a5126390cef0377774336b1a03ce69c18624