https://git.reactos.org/?p=reactos.git;a=commitdiff;h=54e0dbe3b633456eb5159…
commit 54e0dbe3b633456eb5159fa1902da7ca83c323b4
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Sat Jul 4 15:24:46 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Jul 4 15:24:46 2020 +0200
[ADVAPI32_WINETEST] test_create_delete_svc(): Fix 'account' size (#2960)
Cherry-pick
https://source.winehq.org/git/wine.git/commit/56a83c585aeb071af29824399e22d…
---
modules/rostests/winetests/advapi32/service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/advapi32/service.c
b/modules/rostests/winetests/advapi32/service.c
index 8c13fbb2c6c..b92625fdf05 100644
--- a/modules/rostests/winetests/advapi32/service.c
+++ b/modules/rostests/winetests/advapi32/service.c
@@ -194,7 +194,7 @@ static void test_create_delete_svc(void)
SC_HANDLE scm_handle, svc_handle1, svc_handle2;
CHAR username[UNLEN + 1], domain[MAX_PATH];
DWORD user_size = UNLEN + 1;
- CHAR account[UNLEN + 3];
+ CHAR account[MAX_PATH + UNLEN + 1];
static const CHAR servicename [] = "Winetest";
static const CHAR pathname [] = "we_dont_care.exe";
static const CHAR empty [] = "";