Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mojo: Force crash when sending oversized messages
This causes a CHECK failure when any process attempts to send a message which exceeds the maxmimum allowed message size. We used to only validate message size on receipt and shoot the sending Channel if receiving an oversized message. We still do, but we used to, too. This change should make it much easier to identify offending code responsible for sending oversized messages in any process type. BUG=758902 Change-Id: I1a175f25d3e2f0be4ef9a8dc2af1b46ba282fa0c Reviewed-on: https://chromium-review.googlesource.com/666082 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Ken Rockot <rockot@chromium.org> Cr-Commit-Position: refs/heads/master@{#501844}
- Loading branch information