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
Loading
Please sign in to comment
Changed to use strtoul, with a break if it fails to read the checksum. Test: mm test-art-host Bug: 32066687 Change-Id: Ic1299c23aae15a8329ad57b4eca5c0857f6eefb6