msi: Fix NULL dereference in MsiQueryComponentStateW (coverity)

Nikolay Sivov bunglehead at gmail.com
Sat Jan 24 08:17:38 CST 2009


Paul Vriens wrote:
> Nikolay Sivov wrote:
>> Changelog:
>>     - Fix NULL dereference in MsiQueryComponentStateW, test added
>>
>> +    r = pMsiQueryComponentStateA(prodcode, NULL, 
>> MSIINSTALLCONTEXT_MACHINE, NULL, &state);
>> +    ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_SUCCESS, got 
>> %d\n", r);
>
> Copy-paste error in the ok message.
>
Thanks, fixed in try2.



More information about the wine-devel mailing list