mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
Return an error in MsiGetComponentPathW if passed a null component.
This commit is contained in:
parent
029c83d88e
commit
8caef535e0
@ -1011,6 +1011,8 @@ INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR szProduct, LPCWSTR szComponent,
|
||||
TRACE("%s %s %p %p\n", debugstr_w(szProduct),
|
||||
debugstr_w(szComponent), lpPathBuf, pcchBuf);
|
||||
|
||||
if( !szComponent )
|
||||
return INSTALLSTATE_INVALIDARG;
|
||||
if( lpPathBuf && !pcchBuf )
|
||||
return INSTALLSTATE_INVALIDARG;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user