Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2018 02:57:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227589] chpass(1): post-2038 dates in account expiration corrupt passwd entry
Message-ID:  <bug-227589-227-cVrBYomrOt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227589-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227589-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227589

--- Comment #4 from Ed Maste <emaste@freebsd.org> ---
Ah, it's actually a y2106 problem: on all archs but i386 we have 64-bit tim=
e_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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227589-227-cVrBYomrOt>