From 1117fa68dbb4afec543ae3ee1d9c6d467b4da40a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Tue, 11 Feb 2020 19:09:27 +0100 Subject: [PATCH] mscoree/tests: Fix some format-overflow warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RĂ©mi Bernon Signed-off-by: Vincent Povirk Signed-off-by: Alexandre Julliard --- dlls/mscoree/tests/comtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mscoree/tests/comtest.c b/dlls/mscoree/tests/comtest.c index 4879e3b7622..69e24494e6d 100644 --- a/dlls/mscoree/tests/comtest.c +++ b/dlls/mscoree/tests/comtest.c @@ -71,7 +71,7 @@ static BOOL write_resource_file(const char *path_tmp, const char *name_res, cons static BOOL compile_cs_to_dll(char *source_path, char *dest_path) { const char *path_csc = "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\csc.exe"; - char cmdline[MAX_PATH]; + char cmdline[2 * MAX_PATH + 74]; char path_temp[MAX_PATH]; PROCESS_INFORMATION pi; STARTUPINFOA si = { 0 };