Index: remoting/host/event_executor_win.cc |
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc |
index b1fe052927ae619c537c9f48b768b0725767af43..980b1ad7a12970647e4df08f91d8ec09ebbe2c42 100644 |
--- a/remoting/host/event_executor_win.cc |
+++ b/remoting/host/event_executor_win.cc |
@@ -61,6 +61,8 @@ void EventExecutorWin::HandleKey(const KeyEvent* event) { |
int scan_code = MapVirtualKeyEx(key, MAPVK_VK_TO_VSC_EX, hkl); |
INPUT input; |
+ memset(&input, 0, sizeof(input)); |
+ |
input.type = INPUT_KEYBOARD; |
input.ki.time = 0; |
input.ki.wVk = key; |