From d3fa7eb964aa27c91e5f65e56e3daac28f00df25 Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sat, 28 Jan 2023 22:51:16 +0100 Subject: [PATCH] Update DriverAssistInject.cpp --- Sandboxie/core/svc/DriverAssistInject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sandboxie/core/svc/DriverAssistInject.cpp b/Sandboxie/core/svc/DriverAssistInject.cpp index 9e804b20..b9c1983a 100644 --- a/Sandboxie/core/svc/DriverAssistInject.cpp +++ b/Sandboxie/core/svc/DriverAssistInject.cpp @@ -1,6 +1,6 @@ /* * Copyright 2004-2020 Sandboxie Holdings, LLC - * Copyright 2020-2022 David Xanatos, xanasoft.com + * Copyright 2020-2023 David Xanatos, xanasoft.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,7 +69,7 @@ void DriverAssist::InjectLow(void *_msg) goto finish; } - WCHAR boxname[BOXNAME_COUNT_48]; + WCHAR boxname[48]; WCHAR exename[99]; errlvl = SbieApi_QueryProcessEx2((HANDLE)msg->process_id, 96, boxname, exename, NULL, NULL, NULL); if (errlvl != 0)