vbscript: Avoid use of uninitialized variable in Global_InStrRev().

oldstable
Gerald Pfeifer 2015-02-16 02:11:40 +01:00 committed by Alexandre Julliard
parent f0e2ea988e
commit 69a6138350
1 changed files with 2 additions and 0 deletions

View File

@ -1810,6 +1810,8 @@ static HRESULT Global_InStrRev(vbdisp_t *This, VARIANT *args, unsigned args_cnt,
}else {
start = SysStringLen(str1);
}
} else {
str2 = NULL;
}
if(SUCCEEDED(hres)) {