Files
OpenCellular/common
philipchen bab7c0dc88 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>
2017-05-09 11:29:16 -07:00
..
2016-11-08 17:11:28 -08:00
2017-04-26 13:37:04 -07:00
2015-05-19 02:46:27 +00:00
2017-03-24 09:32:53 -07:00
2016-11-15 17:41:53 -08:00
2016-04-27 14:04:07 -07:00
2017-02-06 14:50:32 -08:00
2015-09-25 09:13:34 -07:00
2016-03-02 13:39:47 -08:00
2016-11-15 17:41:53 -08:00
2014-05-17 20:14:17 +00:00
2016-05-05 19:16:50 -07:00
2016-03-21 16:35:33 -07:00
2017-02-23 16:02:02 -08:00