diff --git a/dlls/ntdll/tests/directory.c b/dlls/ntdll/tests/directory.c index 1109f7f3a4f..4618f4eaff2 100644 --- a/dlls/ntdll/tests/directory.c +++ b/dlls/ntdll/tests/directory.c @@ -737,7 +737,7 @@ done: static void set_up_case_test(const char *testdir) { BOOL ret; - char buf[MAX_PATH]; + char buf[MAX_PATH + 5]; HANDLE h; ret = CreateDirectoryA(testdir, NULL);