1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.bin/chpass
Ed Maste ba85da072b 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
2018-04-19 12:50:49 +00:00
..
chpass.1
chpass.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
chpass.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
edit.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
field.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
Makefile
Makefile.depend
table.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
util.c chpass: reject change/expiry dates beyond y2106 2018-04-19 12:50:49 +00:00