diff options
author | Christopher Ferris <cferris@google.com> | 2020-05-26 10:33:18 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2020-06-04 11:05:18 -0700 |
commit | 4d14303653247da3922242796ab6d63123fbd004 (patch) | |
tree | a1247d4a856063b577e6ee1ccfaad4b64229d234 /trusty/coverage/coverage.cpp | |
parent | e62a9d7669ac85844d4424474f5c88c096f7160b (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.cpp')
0 files changed, 0 insertions, 0 deletions