Mike McCormack : msi: Avoid a crash if a parameter is NULL.
6 Apr
2006
6 Apr
'06
10:52 a.m.
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(a)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)
7193
Age (days ago)
7193
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard