Module: wine Branch: master Commit: 46d94653f144c25dec717bd707fea9a577abf61e URL: http://source.winehq.org/git/wine.git/?a=commit;h=46d94653f144c25dec717bd707...
Author: Marcus Meissner marcus@jet.franken.de Date: Tue May 22 21:18:52 2007 +0100
oleau32: Fix one entry overflow (Coverity).
---
dlls/oleaut32/vartype.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c index fd4e56e..fca8f8f 100644 --- a/dlls/oleaut32/vartype.c +++ b/dlls/oleaut32/vartype.c @@ -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))