commit | 750a746f6a4a53464249028c174c49363f05fcd1 | [log] [tgz] |
---|---|---|
author | Justin Cohen <justincohen@google.com> | Mon May 24 21:50:27 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Tue May 25 07:32:52 2021 -0700 |
tree | 7f9d920cbd5b01f1043773b713a5c1e7c9903acb | |
parent | b1300c711b05a403c65f41cbf90984c82d5f816c [diff] |
Check for empty children after dropping overlapping ranges. Before this changes, the logic checked for empty children before DropRangesThatOverlapNonOwned in CoalesceOwnedMemory. This could lead to a NULL added to the children vector, which will later lead to a crash. Instead check after drop ranges. Change-Id: I54793bd536adec7289d02ef477877f57ef1ab958 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2906378 Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> GitOrigin-RevId: 161a84977b319baf7819c9527da427809169aa45
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.