[Bug 227589] chpass(1): post-2038 dates in account expiration corrupt passwd entry

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 19 02:57:49 UTC 2018


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

--- Comment #4 from Ed Maste <emaste at freebsd.org> ---
Ah, it's actually a y2106 problem: on all archs but i386 we have 64-bit time_t
but are storing 32-bit unsigned ints in the pwd db. signed 32 bit int goes to
2038, unsigned 32 bit to 2106.

i386 has 32-bit time_t and chpass will already reject post-y2038 dates.

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


More information about the freebsd-bugs mailing list