mirror of
https://github.com/reactos/wine.git
synced 2025-02-10 22:35:56 +00:00
Older platforms choke on a NULL as the third parameter to
MsiViewGetError.
This commit is contained in:
parent
e9ce57739d
commit
a9476d4edf
@ -388,7 +388,9 @@ static void test_viewmodify(void)
|
||||
ok(r == ERROR_SUCCESS, "query failed\n");
|
||||
|
||||
/* check what the error function reports without doing anything */
|
||||
r = MsiViewGetError( 0, NULL, NULL );
|
||||
sz = 0;
|
||||
/* passing NULL as the 3rd param make function to crash on older platforms */
|
||||
r = MsiViewGetError( 0, NULL, &sz );
|
||||
ok(r == MSIDBERROR_INVALIDARG, "MsiViewGetError return\n");
|
||||
|
||||
/* open a view */
|
||||
|
Loading…
x
Reference in New Issue
Block a user