summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorJames Hawkins <jhawkins@google.com>2016-07-28 11:50:23 -0700
committerJames Hawkins <jhawkins@google.com>2016-07-28 11:59:22 -0700
commit4dded613b3aaee016adffd895edf3866426fc22a (patch)
tree6936b5ad2dcc0baa49ba300e89cef14df3c2c32e /libutils/Unicode.cpp
parent44c909d46743f50f67aa4af03ff2588b3b7deb1c (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
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions