https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277863

John F. Carr <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from John F. Carr <[email protected]> ---
Stepping through mktime, I see a binary search in the range INT_MIN to INT_MAX
seconds that fails because time -4611686018427387904 seconds does not convert
cleanly to a 32 bit year number when using 32 bit intermediate variables.  In
this code y = -109624180.

        if (ckd_add(&tmp->tm_year, y, -TM_YEAR_BASE)) {
          errno = EOVERFLOW;
          return NULL;
        }

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to