84c54a935f
Add checks to detect overflow, and also detect other invalid (out of range) inputs for parsedate(). There could be more, and some of what is being added is not perfect, but many calculation overflows will be detected now (and cause an error return) and some of the most bizarre inputs that were previously accepted no longer will be. |
||
---|---|---|
.. | ||
compat | ||
Makefile | ||
disklabel_dkcksum.3 | ||
disklabel_dkcksum.c | ||
disklabel_scan.3 | ||
disklabel_scan.c | ||
efun.3 | ||
efun.c | ||
getbootfile.3 | ||
getbootfile.c | ||
getbyteorder.3 | ||
getbyteorder.c | ||
getdiskrawname.3 | ||
getdiskrawname.c | ||
getfsspecname.3 | ||
getfsspecname.c | ||
getfstypename.3 | ||
getlabelsector.3 | ||
getlabelsector.c | ||
getmaxpartitions.3 | ||
getmaxpartitions.c | ||
getmntopts.3 | ||
getmntopts.c | ||
getrawpartition.3 | ||
getrawpartition.c | ||
if_media.c | ||
kinfo_getvmmap.3 | ||
kinfo_getvmmap.c | ||
login.3 | ||
login.c | ||
login_cap.3 | ||
login_cap.c | ||
login_tty.c | ||
loginx.3 | ||
loginx.c | ||
logout.c | ||
logoutx.c | ||
logwtmp.c | ||
logwtmpx.c | ||
opendisk.3 | ||
opendisk.c | ||
openpty.3 | ||
parsedate.3 | ||
parsedate.y | ||
passwd.c | ||
pidfile.3 | ||
pidfile.c | ||
pidlock.3 | ||
pidlock.c | ||
proc_compare.3 | ||
pty.c | ||
pw_getconf.3 | ||
pw_init.3 | ||
pw_lock.3 | ||
raise_default_signal.3 | ||
raise_default_signal.c | ||
secure_path.3 | ||
secure_path.c | ||
shlib_version | ||
snprintb.3 | ||
sockaddr_snprintf.3 | ||
sockaddr_snprintf.c | ||
stat_flags.3 | ||
stat_flags.c | ||
strpct.3 | ||
strpct.c | ||
ttyaction.3 | ||
ttyaction.c | ||
ttymsg.3 | ||
ttymsg.c | ||
util.3 |