[PATCH 10/14] version/tests: Fix some format-overflow warnings.

Rémi Bernon rbernon at codeweavers.com
Tue Feb 11 12:09:32 CST 2020


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/version/tests/install.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/version/tests/install.c b/dlls/version/tests/install.c
index b06125ff503..d0e37e28094 100644
--- a/dlls/version/tests/install.c
+++ b/dlls/version/tests/install.c
@@ -31,7 +31,7 @@ static void test_find_file(void)
     DWORD ret;
     UINT dwCur, dwOut ;
     char tmp[MAX_PATH];
-    char appdir[MAX_PATH];
+    char appdir[MAX_PATH + 12];
     char curdir[MAX_PATH];
     char filename[MAX_PATH];
     char outBuf[MAX_PATH];
-- 
2.25.0




More information about the wine-devel mailing list