diff options
author | Christopher Ferris <cferris@google.com> | 2020-05-26 10:33:18 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2020-06-04 10:44:21 -0700 |
commit | 40f657b9f4b1053b0a04034f36a3dc1a89c3451a (patch) | |
tree | f6f08633d1def26c5d4031089e1e7e6fafbf74fb /trusty/coverage/coverage_test.cpp | |
parent | 6ea9b8b580f56ddac47dca63e8c94e23eb2edcb4 (diff) |
Fail explicitly on length overflow.
Instead of aborting when FileMap::create detects an overflow, detect the
overflow directly and fail the call.
Bug: 156997193
Test: Ran unit tests, including new unit test that aborted before.
Change-Id: Ie49975b8949fd12bbde14346ec9bbb774ef88a51
Merged-In: Ie49975b8949fd12bbde14346ec9bbb774ef88a51
(cherry picked from commit 68604b9c29b5bd11e2e2dbb848d6b364bf627d21)
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions