IPC::ChannelMojo: Make IPC handling robust against bad messages.
commit185ffdf58f85e47db9666d2ad9b80ff9bd7fa54b
authormorrita <morrita@chromium.org>
Thu, 13 Nov 2014 22:54:09 +0000 (13 14:54 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 13 Nov 2014 22:54:38 +0000 (13 22:54 +0000)
tree359cd5979a693a66a321a78585909d5f8d019b27
parent9f854acce2b629eaeda70178e00085cbb95cef0d
IPC::ChannelMojo: Make IPC handling robust against bad messages.

This change replaces some DCHECK()s with real error handling.
They happen when it receives broken messages.

BUG=428800
R=viettrungluu@chromium.org

Review URL: https://codereview.chromium.org/725733002

Cr-Commit-Position: refs/heads/master@{#304102}
ipc/mojo/ipc_mojo_bootstrap.cc
ipc/mojo/ipc_mojo_bootstrap.h