From 3e9f0d57ac4ef943763f950505ce3bb68bcf61ae Mon Sep 17 00:00:00 2001 From: Viktor Liu <17948409+lixmal@users.noreply.github.com> Date: Thu, 16 Jan 2025 22:19:32 +0100 Subject: [PATCH] [client] Fix windows info out of bounds panic (#3196) --- client/system/info_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/system/info_windows.go b/client/system/info_windows.go index 28bd3d3007c..f3f387f2839 100644 --- a/client/system/info_windows.go +++ b/client/system/info_windows.go @@ -105,7 +105,7 @@ func getOSNameAndVersion() (string, string) { split := strings.Split(dst[0].Caption, " ") - if len(split) < 3 { + if len(split) <= 3 { return "Windows", getBuildVersion() }