commit | c30ee682ce3d681bb240b87fa13ebfb6f2933045 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue May 26 10:33:18 2020 -0700 |
committer | Anis Assi <anisassi@google.com> | Thu Sep 10 13:50:20 2020 -0700 |
tree | a10fb74555ab81b34073144f4a114087ab57c475 | |
parent | ff6fe54c3a0a18d6af206882eb9fc65c8e0ad3de [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) (cherry picked from commit 4d14303653247da3922242796ab6d63123fbd004)