commit | b4f52304d53162a27ca7047aeeb4d18fcb95143b | [log] [tgz] |
---|---|---|
author | Jeff Hao <jeffhao@google.com> | Mon Nov 14 15:31:06 2016 -0800 |
committer | Jeff Hao <jeffhao@google.com> | Mon Nov 14 15:31:06 2016 -0800 |
tree | 0518bef2d8a407f0952ed37bfc5f1bc0ee3be73c | |
parent | 66ceada00fec4b52481a42120fb9d1b89f357390 [diff] |
Fix use of std::stoi without error handling. Changed to use strtoul, with a break if it fails to read the checksum. Test: mm test-art-host Bug: 32066687 Change-Id: Ic1299c23aae15a8329ad57b4eca5c0857f6eefb6