Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: ipc/ipc_channel_reader.cc

Issue 283313002: Ensure that any IPC sent from a child process that couldn't be deserialized causes that p… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: switch to histograms Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_reader.cc
===================================================================
--- ipc/ipc_channel_reader.cc (revision 270662)
+++ ipc/ipc_channel_reader.cc (working copy)
@@ -95,6 +95,8 @@
HandleInternalMessage(m);
else
listener_->OnMessageReceived(m);
+ if (m.dispatch_error())
+ listener_->OnBadMessageReceived(m);
p = message_tail;
} else {
// Last message is partial.
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698