oleau32: Fix one entry overflow (Coverity).
This commit is contained in:
parent
394a36c25a
commit
46d94653f1
|
@ -7425,7 +7425,7 @@ HRESULT WINAPI VarDateFromStr(OLECHAR* strIn, LCID lcid, ULONG dwFlags, DATE* pd
|
|||
/* Parse the string into our structure */
|
||||
while (*strIn)
|
||||
{
|
||||
if (dp.dwCount > 6)
|
||||
if (dp.dwCount >= 6)
|
||||
break;
|
||||
|
||||
if (isdigitW(*strIn))
|
||||
|
|
Loading…
Reference in New Issue