From 73a82577fa48cad58dc9fdc8b765789aaf934c50 Mon Sep 17 00:00:00 2001 From: tsz8899 Date: Sun, 8 Feb 2026 21:52:14 +0800 Subject: [PATCH] [client,windows] Initialize variable in wf_keyboard_set_indicators as requested --- client/Windows/wf_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Windows/wf_event.c b/client/Windows/wf_event.c index a1df9c06e..6e6ca4783 100644 --- a/client/Windows/wf_event.c +++ b/client/Windows/wf_event.c @@ -970,7 +970,7 @@ static BOOL wf_scale_mouse_event_ex(wfContext* wfc, UINT16 flags, UINT16 buttonM BOOL wf_keyboard_set_indicators(rdpContext* context, UINT16 led_flags) { wfContext* wfc = (wfContext*)context; - BYTE keyState[256]; + BYTE keyState[256] = { 0 }; if (!wfc || !GetKeyboardState(keyState)) return FALSE;