|author||Justin Cohen <email@example.com>||Fri Jul 29 01:18:25 2022|
|committer||Crashpad LUCI CQ <firstname.lastname@example.org>||Fri Jul 29 02:33:32 2022|
ios: Properly handle overflows in scoped_vm_read. Passing -1 (or size_t max) to ScopedVMRead would succeed, because the amount of memory to be read would overflow vm_address_t/vm_size_t and turn into something reasonable. ScopedVMRead would return true having only read a miniscule subset of the requested data length. Bug: 1348341 Change-Id: I061a1d86928f211c541a6378a78ee045d489a838 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3791710 Commit-Queue: Justin Cohen <email@example.com> Reviewed-by: Mark Mentovai <firstname.lastname@example.org>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.