summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_channel_reader.cc')
-rw-r--r--ipc/ipc_channel_reader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/ipc_channel_reader.cc b/ipc/ipc_channel_reader.cc
index 401e4e1..9a3cc3c 100644
--- a/ipc/ipc_channel_reader.cc
+++ b/ipc/ipc_channel_reader.cc
@@ -95,6 +95,8 @@ bool ChannelReader::DispatchInputData(const char* input_data,
HandleInternalMessage(m);
else
listener_->OnMessageReceived(m);
+ if (m.dispatch_error())
+ listener_->OnBadMessageReceived(m);
p = message_tail;
} else {
// Last message is partial.