mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-29 00:32:35 +08:00
25ba1d6895
Explicitly check that mach_vm_read() successfully read the entire requested region. This is a speculative fix for an infrequent crash that occurs in the wild where only part of the region read by ReadMapped() was actually mapped into memory. Bug: chromium:918626 Change-Id: I4f4b3902d11480dc4a003608cfb1d371ec89425b Reviewed-on: https://chromium-review.googlesource.com/c/1455170 Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>