Alexandre Julliard : mscoree/tests: Fix some uninitialized buffers.

Alexandre Julliard julliard at winehq.org
Wed Nov 7 14:47:32 CST 2018


Module: wine
Branch: master
Commit: 6427276c275bdbda6312d36666e792a35d2c5e8f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=6427276c275bdbda6312d36666e792a35d2c5e8f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Nov  7 19:33:38 2018 +0100

mscoree/tests: Fix some uninitialized buffers.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mscoree/tests/comtest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/mscoree/tests/comtest.c b/dlls/mscoree/tests/comtest.c
index 5d6f23e..eec5d9a 100644
--- a/dlls/mscoree/tests/comtest.c
+++ b/dlls/mscoree/tests/comtest.c
@@ -186,6 +186,8 @@ static void prepare_and_run_test(const char *dll_source, run_type run)
     ULONG_PTR cookie;
     HANDLE handle_context = 0;
 
+    path_manifest_exe[0] = path_manifest_dll[0] = path_dll_source[0] = 0;
+
     GetTempPathA(MAX_PATH, path_tmp);
     GetTempPathA(MAX_PATH, path_tmp_manifest);
     PathAppendA(path_tmp_manifest, "manifests");




More information about the wine-cvs mailing list