commit | 6b8bafbac0d9e1102db2eacc0ba98c64a59d1c9e | [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:51:43 2020 -0700 |
tree | 6e1a22c6f0796e28b927ff3c7a189177ccaa9391 | |
parent | 1dea9a052b7f214c10a77d5ed6ffd3602722a817 [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 f846413e621d7245d8e78f04349a6a93d2bbbea4)