OpenBSD CVS

CVS log for src/usr.bin/passwd/local_passwd.c


[BACK] Up to [local] / src / usr.bin / passwd

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: HEAD


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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.