Up to [local] / src / usr.bin / passwd
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_7_5_BASE
Revision 1.64 / (download) - annotate - [select for diffs], Mon May 8 17:15:43 2023 UTC (13 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)
Prevent signed integer overflow A signed integer overflow could occur after INT_MAX bad password attempts. Check for unlimited tries first and then increment the counter. Also consider INT_MAX to be a valid upper limit. ok millert@