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

Unified Diff: mojo/edk/system/node_channel.cc

Issue 2102443004: [mojo-edk] Fix uninitialized padding in AddBrokerClient message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/node_channel.cc
diff --git a/mojo/edk/system/node_channel.cc b/mojo/edk/system/node_channel.cc
index 45e933bccf10876d63ba36603ab5681047a101af..c0b4331047d8b149ebe29034663ba256d626c139 100644
--- a/mojo/edk/system/node_channel.cc
+++ b/mojo/edk/system/node_channel.cc
@@ -291,6 +291,7 @@ void NodeChannel::AddBrokerClient(const ports::NodeName& client_name,
data->client_name = client_name;
#if !defined(OS_WIN)
data->process_handle = process_handle;
+ data->padding = 0;
#endif
WriteChannelMessage(std::move(message));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698