Rémi Bernon : ntdll/tests: Fix some format-overflow warnings.
Alexandre Julliard
julliard at winehq.org
Wed Feb 12 16:21:06 CST 2020
Module: wine
Branch: master
Commit: 03d1a9c68e3e7f463b636142a0514e954878b5c5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=03d1a9c68e3e7f463b636142a0514e954878b5c5
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Tue Feb 11 19:09:35 2020 +0100
ntdll/tests: Fix some format-overflow warnings.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/tests/directory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/tests/directory.c b/dlls/ntdll/tests/directory.c
index 1109f7f3a4..4618f4eaff 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);
More information about the wine-cvs
mailing list