msi: Fix NULL dereference in MsiQueryComponentStateW (coverity)

Paul Vriens paul.vriens.wine at gmail.com
Sat Jan 24 08:14:12 CST 2009


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.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list