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
1 changed files with 1 additions and 1 deletions

View File

@ -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))