oleau32: Fix one entry overflow (Coverity).

This commit is contained in:
Marcus Meissner 2007-05-22 21:18:52 +01:00 committed by Alexandre Julliard
parent 394a36c25a
commit 46d94653f1

View File

@ -7425,7 +7425,7 @@ HRESULT WINAPI VarDateFromStr(OLECHAR* strIn, LCID lcid, ULONG dwFlags, DATE* pd
/* Parse the string into our structure */ /* Parse the string into our structure */
while (*strIn) while (*strIn)
{ {
if (dp.dwCount > 6) if (dp.dwCount >= 6)
break; break;
if (isdigitW(*strIn)) if (isdigitW(*strIn))