msi: Avoid a crash if a parameter is NULL.
This commit is contained in:
parent
269236c1c8
commit
17e2c3cc61
|
@ -350,6 +350,9 @@ static BOOL check_volume(LPCWSTR path, LPCWSTR want_volume, LPWSTR volume,
|
|||
WCHAR name[MAX_PATH];
|
||||
UINT type;
|
||||
|
||||
if (!want_volume)
|
||||
return TRUE;
|
||||
|
||||
if (!(path[0] && path[1] == ':'))
|
||||
{
|
||||
if (intype)
|
||||
|
|
Loading…
Reference in New Issue