Module: wine Branch: refs/heads/master Commit: 17e2c3cc6156591bdea49eba8f199ea20cb7a1f4 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=17e2c3cc6156591bdea49eba...
Author: Mike McCormack mike@codeweavers.com Date: Thu Apr 6 12:45:19 2006 +0900
msi: Avoid a crash if a parameter is NULL.
---
dlls/msi/files.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/files.c b/dlls/msi/files.c index aa6f8e6..e191fe6 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -350,6 +350,9 @@ static BOOL check_volume(LPCWSTR path, L WCHAR name[MAX_PATH]; UINT type;
+ if (!want_volume) + return TRUE; + if (!(path[0] && path[1] == ':')) { if (intype)