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

Unified Diff: ipc/ipc_channel_reader.cc

Issue 9662050: Coverity: Fix a few uninitialized vars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
Index: ipc/ipc_channel_reader.cc
diff --git a/ipc/ipc_channel_reader.cc b/ipc/ipc_channel_reader.cc
index 47d1e8d50ee8902d03963592c36d54aa1acc98b7..5080f517c58760855d5959ecc8cac513cd4c9ff6 100644
--- a/ipc/ipc_channel_reader.cc
+++ b/ipc/ipc_channel_reader.cc
@@ -9,6 +9,7 @@ namespace internal {
ChannelReader::ChannelReader(Channel::Listener* listener)
: listener_(listener) {
+ memset(input_buf_, 0, sizeof(input_buf_));
}
ChannelReader::~ChannelReader() {
« no previous file with comments | « content/browser/renderer_host/render_sandbox_host_linux.cc ('k') | webkit/plugins/ppapi/event_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698