mirror of
https://github.com/reactos/reactos.git
synced 2026-07-05 02:44:52 +08:00
- add check for NULL pointer, "first" is NULL for folders, files without extension etc. see bug 3959
See issue #3959 for more details. svn path=/trunk/; revision=38202
This commit is contained in:
@@ -155,7 +155,9 @@ WelcomeDlgProc(HWND hwndDlg,
|
||||
first[1] = L'\0';
|
||||
|
||||
first = wcsrchr(pContext->szDescription, L'.');
|
||||
first[0] = L'\0';
|
||||
|
||||
if(first)
|
||||
first[0] = L'\0';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user