Jacek Caban (@jacek) commented about dlls/wininet/internet.c:
static inline BOOL calc_year(SYSTEMTIME* time, const WCHAR **s, WCHAR *end) {
- WORD current_year = time->wYear;
- if (**s == '\0') return TRUE; time->wYear = wcstol( *s, &end, 10 );
- if (1601 > time->wYear) /* year should be between 1601 and 30827 inclusive */
It would be nice to have a test case with a less obvious value, such as 100 or 1600.