Commit 483590a3 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi/tests: Avoid accessing uninitialized memory.

Found by valgrind.
parent ade350b4
...@@ -11391,6 +11391,7 @@ static void test_emptypackage(void) ...@@ -11391,6 +11391,7 @@ static void test_emptypackage(void)
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
} }
buffer[0] = 0;
size = MAX_PATH; size = MAX_PATH;
r = MsiRecordGetString(hrec, 1, buffer, &size); r = MsiRecordGetString(hrec, 1, buffer, &size);
todo_wine todo_wine
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment