Date: Thu, 19 Apr 2018 12:51:49 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 227589] chpass(1): post-2106 dates in account expiration corrupt passwd entry Message-ID: <bug-227589-227-v0ke09saPi@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 #5 from commit-hook@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 --=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-v0ke09saPi>