Commit 17e2c3cc authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Avoid a crash if a parameter is NULL.

parent 269236c1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment