commit | 4dded613b3aaee016adffd895edf3866426fc22a | [log] [tgz] |
---|---|---|
author | James Hawkins <jhawkins@google.com> | Thu Jul 28 11:50:23 2016 -0700 |
committer | James Hawkins <jhawkins@google.com> | Thu Jul 28 11:59:22 2016 -0700 |
tree | 6936b5ad2dcc0baa49ba300e89cef14df3c2c32e | |
parent | 44c909d46743f50f67aa4af03ff2588b3b7deb1c [diff] |
bootstat: Fix a potential unhandled exception for malformed input. In rare cases the hardware storage on the device may be hosed and return garbage. Use ParseInt which handles bad input instead of stoi. BUG: 29334139 Change-Id: I91aedc169df110bea8097775f73dda11def22311