Index: mojo/edk/system/child_broker.cc |
diff --git a/mojo/edk/system/child_broker.cc b/mojo/edk/system/child_broker.cc |
index 33c96bbff08c3056f7e54e885cef59ac5ec8990b..6903c8204dbd23b393729c8e859407609dc983db 100644 |
--- a/mojo/edk/system/child_broker.cc |
+++ b/mojo/edk/system/child_broker.cc |
@@ -106,6 +106,7 @@ void ChildBroker::ConnectMessagePipe(uint64_t pipe_id, |
DCHECK(internal::g_io_thread_task_runner->RunsTasksOnCurrentThread()); |
ConnectMessagePipeMessage data; |
+ memset(&data, 0, sizeof(data)); |
data.pipe_id = pipe_id; |
if (pending_connects_.find(pipe_id) != pending_connects_.end()) { |
if (!parent_async_channel_) { |