commit | 94242690d57be5df0dd60cc51bc2f41bb451ff89 | [log] [tgz] |
---|---|---|
author | Justin Cohen <justincohen@google.com> | Tue May 10 14:41:04 2022 |
committer | Crashpad LUCI CQ <crashpad-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 11 00:07:20 2022 |
tree | 4990af9adbfd0fd48501afcea81e1a1aad7e786b | |
parent | 34a090b5730fef3ee8da0570c7d2ce79ec78ba3f [diff] |
ios: Check dyld_image_info->imageFilePath for nullptr. It seems on iOS 14, sometimes this path can be empty. Passing nullptr to strlen will crash. Also fixes an incorrect file path length for the dyldPath. Bug: 1323905 Change-Id: Idf1ef9e0165853a5d57d272896a40bf0b30a3368 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3637717 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.