diff options
author | philipchen <philipchen@google.com> | 2017-05-03 16:53:57 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-09 11:29:16 -0700 |
commit | bab7c0dc8812bff760c454a0b2166dfcb3591800 (patch) | |
tree | 614b8955810eda34bc021903e99d92220577e3d2 /Makefile.rules | |
parent | 8c980fc5af4283a34e10d02ba0c99fb2369ffa31 (diff) | |
download | chrome-ec-bab7c0dc8812bff760c454a0b2166dfcb3591800.tar.gz |
virtual_battery: prevent access out of bounds of memory
BUG=chromium:717737
BRANCH=none
TEST=manually run 'power_supply_info' a few times and see
consistent battery parameters
TEST=access cached smart battery registers from the host
command and see it returns 0 for out of bounds of memory
Change-Id: I87cf2900ff93a952dc88cd9c3da82321533e4eb5
Reviewed-on: https://chromium-review.googlesource.com/495628
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Commit-Queue: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
(cherry picked from commit 96514bb2d21dbe8b4cc6177db9e916384649e28f)
Reviewed-on: https://chromium-review.googlesource.com/499607
Commit-Ready: Philip Chen <philipchen@chromium.org>
Reviewed-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'Makefile.rules')
0 files changed, 0 insertions, 0 deletions