[Bug 227589] chpass(1): post-2106 dates in account expiration corrupt passwd entry
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 19 12:51:51 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227589
--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:
Author: emaste
Date: Thu Apr 19 12:50:49 UTC 2018
New revision: 332769
URL: https://svnweb.freebsd.org/changeset/base/332769
Log:
chpass: reject change/expiry dates beyond y2106
The pwd.db and spwd.db files store the change and expire dates as
unsigned 32-bit ints, which overflow in 2106. Reject larger values for
now, until the introduction of a v5 password database.
i386 has 32-bit time_t and so dates beyond y2038 are already rejected by
mktime.
PR: 227589
Reviewed by: lidl
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Changes:
head/usr.bin/chpass/util.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list