[ros-bugs] [Bug 4917] Regression: NetStats; Internal Error to date Enconde

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Fri Oct 23 15:19:12 CEST 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4917





--- Comment #2 from gabrielilardi <gabrielilardi at hotmail.it>  2009-10-23 15:19:12 CET ---
reactos/lib/rtl/time.c

http://svn.reactos.org/viewcvs/reactos/trunk/reactos/lib/rtl/time.c?annotate=37554&pathrev=37554#l189

189 :   dchapyshev      37554    if (TimeFields->Milliseconds < 0 ||
TimeFields->Milliseconds > 999 ||
190 :                   TimeFields->Second < 0 || TimeFields->Second > 59 ||
191 :                   TimeFields->Minute < 0 || TimeFields->Minute > 59 ||
192 :                   TimeFields->Hour < 0 || TimeFields->Hour > 23 ||
193 :                   TimeFields->Month < 1 || TimeFields->Month > 12 ||
194 :                   TimeFields->Day < 1 ||
195 :                   TimeFields->Day > MonthLengths[TimeFields->Month == 2
||
196 :                   IsLeapYear(TimeFields->Year)][TimeFields->Month - 1] ||
197 :                   TimeFields->Year < 1601)
198 :                   {
199 :                   return FALSE;
200 :                   } 

line 195 misses a closing square bracket.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the Ros-bugs mailing list