msi/tests: Avoid accessing uninitialized memory.
Found by valgrind.
This commit is contained in:
parent
ade350b4d4
commit
483590a3c5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue