diff options
author | Christopher Ferris <cferris@google.com> | 2020-05-26 10:33:18 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2020-05-28 18:38:18 -0700 |
commit | f846413e621d7245d8e78f04349a6a93d2bbbea4 (patch) | |
tree | a8a4ba13d1a41132b1de9fe2f3a868796a34c72b /trusty/coverage/coverage.cpp | |
parent | 75b3266e22fdcf8ae73607b8346d1f156cea28ce (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