summaryrefslogtreecommitdiffstats
path: root/adduser/adduser.perl
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-01-04 14:07:53 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-01-04 14:07:53 +0000
commit406b5529cc9bccbc926b8a442e7a714be756e146 (patch)
tree9c04ea9f5b265e9b7cc4999131d3696a7a032e57 /adduser/adduser.perl
parentefdd090a8513d6b95e767e897438aeb6c60ae6f4 (diff)
downloadpw-darwin-406b5529cc9bccbc926b8a442e7a714be756e146.tar.gz
pw-darwin-406b5529cc9bccbc926b8a442e7a714be756e146.tar.zst
pw-darwin-406b5529cc9bccbc926b8a442e7a714be756e146.zip
-Clarification of last commit-
The char that the random letters and numbers are being pulled from is ended with a '\0'. Using sizeof() includes this '\0' in the 'pool' of possible characters. This patch decrements by one the size so we don't accidently end the new password prematurly.
Diffstat (limited to 'adduser/adduser.perl')
0 files changed, 0 insertions, 0 deletions