In MsiLocateComponent pcchBuf can be NULL so don't try to dereference
it.
This commit is contained in:
parent
3393fbbf69
commit
199efb74fe
|
@ -853,14 +853,14 @@ LANGID WINAPI MsiLoadStringA( MSIHANDLE handle, UINT id, LPSTR lpBuffer,
|
||||||
INSTALLSTATE WINAPI MsiLocateComponentA(LPCSTR szComponent, LPSTR lpPathBuf,
|
INSTALLSTATE WINAPI MsiLocateComponentA(LPCSTR szComponent, LPSTR lpPathBuf,
|
||||||
DWORD *pcchBuf)
|
DWORD *pcchBuf)
|
||||||
{
|
{
|
||||||
FIXME("%s %p %08lx\n", debugstr_a(szComponent), lpPathBuf, *pcchBuf);
|
FIXME("%s %p %p\n", debugstr_a(szComponent), lpPathBuf, pcchBuf);
|
||||||
return INSTALLSTATE_UNKNOWN;
|
return INSTALLSTATE_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALLSTATE WINAPI MsiLocateComponentW(LPCWSTR szComponent, LPWSTR lpPathBuf,
|
INSTALLSTATE WINAPI MsiLocateComponentW(LPCWSTR szComponent, LPWSTR lpPathBuf,
|
||||||
DWORD *pcchBuf)
|
DWORD *pcchBuf)
|
||||||
{
|
{
|
||||||
FIXME("%s %p %08lx\n", debugstr_w(szComponent), lpPathBuf, *pcchBuf);
|
FIXME("%s %p %p\n", debugstr_w(szComponent), lpPathBuf, pcchBuf);
|
||||||
return INSTALLSTATE_UNKNOWN;
|
return INSTALLSTATE_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue