-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M110] MojoIpcz: Fix nullptr deref in DataPipe
In some scenarios a DataPipe may be re-entered during its own closure by a trap event handler on its control portal. This is currently unsafe as it can result in nullptr dereferences on the DataPipe's `portal_` field. This change ensures there are no more unchecked dereferences of `portal_`. Fixed: 1399872 (cherry picked from commit 304e98b) Change-Id: Ie1cf45de7a0f607d0e90b9eb52970604a3dcd922 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4139413 Reviewed-by: Alex Gough <ajgo@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1089903} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4148307 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Ken Rockot <rockot@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5481@{#183} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
Showing
4 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters