diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-21 22:48:29 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-21 22:48:29 +0000 |
commit | df60edb5fcd0d8b809f1deabae75cdd013c6f748 (patch) | |
tree | 30da37e88c5b53a8e730c0306d2390713f3c1f69 /ipc | |
parent | a3e0cb18e35b6a79e4088b313d448de655d01e5a (diff) | |
download | chromium_src-df60edb5fcd0d8b809f1deabae75cdd013c6f748.zip chromium_src-df60edb5fcd0d8b809f1deabae75cdd013c6f748.tar.gz chromium_src-df60edb5fcd0d8b809f1deabae75cdd013c6f748.tar.bz2 |
Coverity: Initialize member variables.
CID=16452
BUG=none
TEST=none
R=thestig@chromium.org
Review URL: http://codereview.chromium.org/7217017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_channel_posix.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc index 4ccf712..7aa04d2 100644 --- a/ipc/ipc_channel_posix.cc +++ b/ipc/ipc_channel_posix.cc @@ -309,6 +309,8 @@ Channel::ChannelImpl::ChannelImpl(const IPC::ChannelHandle& channel_handle, pipe_name_(channel_handle.name), listener_(listener), must_unlink_(false) { + memset(input_buf_, 0, sizeof(input_buf_)); + memset(input_cmsg_buf_, 0, sizeof(input_cmsg_buf_)); if (!CreatePipe(channel_handle)) { // The pipe may have been closed already. const char *modestr = (mode_ & MODE_SERVER_FLAG) ? "server" : "client"; |