commit | c39f23e7273bf6593d2b7eb58306eb168183ccc4 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue May 26 10:33:18 2020 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu May 28 18:38:18 2020 -0700 |
tree | a8a4ba13d1a41132b1de9fe2f3a868796a34c72b | |
parent | 3be59a487c93bcbbb3e21f7bda538a4dede2acc2 [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)