mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 01:41:18 +00:00
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);
|
||||
}
|
||||
|
||||
buffer[0] = 0;
|
||||
size = MAX_PATH;
|
||||
r = MsiRecordGetString(hrec, 1, buffer, &size);
|
||||
todo_wine
|
||||
|
Loading…
Reference in New Issue
Block a user