Capture the size of an existing file for allocator size.
There are checks inside the PMA that limit any passed size to whatever
was defined when the memory segment was created. But that could be
wrong if the segment is corrupted.
Bug: 749223
Change-Id: Ib0f5416e4c43b597b15e2cb05b3787677e5c0ea1
Reviewed-on: https://chromium-review.googlesource.com/596487
Commit-Queue: Brian White <bcwhite@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491502}
CrOS-Libchrome-Original-Commit: fbdce5f50459c167c3e43641b4e1cde87d2ba512
1 file changed