[PATCH 09/14] user32/tests: Fix some format-overflow warnings.
Rémi Bernon
rbernon at codeweavers.com
Tue Feb 11 12:09:31 CST 2020
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/user32/tests/cursoricon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/tests/cursoricon.c b/dlls/user32/tests/cursoricon.c
index 6687ebc4a89..7a5f9551615 100644
--- a/dlls/user32/tests/cursoricon.c
+++ b/dlls/user32/tests/cursoricon.c
@@ -1287,7 +1287,7 @@ static void test_LoadImage_working_directory(void)
char executable_path[MAX_PATH];
int pos_slash;
char old_PATH[10000];
- char new_PATH[10000];
+ char new_PATH[10000 + MAX_PATH];
BOOL ret;
GetCurrentDirectoryA(ARRAY_SIZE(old_working_dir), old_working_dir);
--
2.25.0
More information about the wine-devel
mailing list