shell32: Ensure extraPmts is a valid pointer before checking it.
This commit is contained in:
parent
0deb3d04ed
commit
5e289b91c0
|
@ -783,7 +783,7 @@ static void Control_DoLaunch(CPanel* panel, HWND hWnd, LPCWSTR wszCmd)
|
|||
}
|
||||
|
||||
/* Now check if there had been a numerical value in the extra params */
|
||||
if ((*extraPmts == '@') && (sp == -1)) {
|
||||
if ((extraPmts) && (*extraPmts == '@') && (sp == -1)) {
|
||||
sp = atoiW(extraPmts + 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue