Commit 46d94653 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

oleau32: Fix one entry overflow (Coverity).

parent 394a36c2
...@@ -7425,7 +7425,7 @@ HRESULT WINAPI VarDateFromStr(OLECHAR* strIn, LCID lcid, ULONG dwFlags, DATE* pd ...@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment