mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00: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:
parent
98a6b82bc5
commit
3e2f6025fc
1 changed files with 3 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue