commit | f85554e12ff1a75d4bc47ac602c9201acc43ecc6 | [log] [tgz] |
---|---|---|
author | James Hawkins <jhawkins@google.com> | Thu Jul 28 11:50:23 2016 -0700 |
committer | James Hawkins <jhawkins@google.com> | Fri Jul 29 08:24:28 2016 -0700 |
tree | b73b7d1e1c35bcd164869840a968ca43400035e4 | |
parent | a6cb3062ff754e9896978dc11b18480ed83d218c [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 (cherry picked from commit 4dded613b3aaee016adffd895edf3866426fc22a)