Skip to content

Commit 54e0dbe

Browse files
[ADVAPI32_WINETEST] test_create_delete_svc(): Fix 'account' size (reactos#2960)
Cherry-pick https://source.winehq.org/git/wine.git/commit/56a83c585aeb071af29824399e22db5cdce0318a
1 parent 092e245 commit 54e0dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/rostests/winetests/advapi32/service.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static void test_create_delete_svc(void)
194194
SC_HANDLE scm_handle, svc_handle1, svc_handle2;
195195
CHAR username[UNLEN + 1], domain[MAX_PATH];
196196
DWORD user_size = UNLEN + 1;
197-
CHAR account[UNLEN + 3];
197+
CHAR account[MAX_PATH + UNLEN + 1];
198198
static const CHAR servicename [] = "Winetest";
199199
static const CHAR pathname [] = "we_dont_care.exe";
200200
static const CHAR empty [] = "";

0 commit comments

Comments
 (0)