From f42d14fdd0cdde3a3504d9f925a0305560ea9606 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 19 Jul 2017 02:24:04 +0200 Subject: [PATCH] dmloader/tests: NUL terminate a wide string. Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/dmloader/tests/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dmloader/tests/loader.c b/dlls/dmloader/tests/loader.c index 17359940887..b24b2e2507e 100644 --- a/dlls/dmloader/tests/loader.c +++ b/dlls/dmloader/tests/loader.c @@ -47,7 +47,7 @@ static void test_directory(void) { IDirectMusicLoader8 *loader = NULL; HRESULT hr; - WCHAR con[] = {'c', 'o', 'n'}; + WCHAR con[] = {'c', 'o', 'n', 0}; WCHAR path[MAX_PATH]; WCHAR invalid_path[] = {'/', 'i', 'n', 'v', 'a', 'l', 'i', 'd', ' ', 'p', 'a', 't', 'h', 0};