FreeBSD Bugzilla – Attachment 15679 Details for
Bug 28991
adduser(8) generates too short salt with blf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 527 bytes, created by
Yoshihiro Koya
on 2001-07-15 20:10:25 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Yoshihiro Koya
Created:
2001-07-15 20:10:25 UTC
Size:
527 bytes
patch
obsolete
>Index: adduser.perl >=================================================================== >RCS file: /home/ncvs/src/usr.sbin/adduser/adduser.perl,v >retrieving revision 1.46 >diff -u -r1.46 adduser.perl >--- adduser.perl 2001/05/02 13:20:12 1.46 >+++ adduser.perl 2001/07/15 18:44:00 >@@ -894,7 +894,7 @@ > > warn "calculate salt\n" if $verbose > 1; > # to64 >- for ($i = 0; $i < 8; $i++) { >+ for ($i = 0; $i < 27; $i++) { > srand(time + $rand + $$); > $rand = rand(25*29*17 + $rand); > $salt .= $itoa64[$rand & $#itoa64];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28991
: 15679