FreeBSD Bugzilla – Attachment 11883 Details for
Bug 23204
length of salt in crypt() is not the same as described in man 3 crypt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 509 bytes, created by
andre
on 2000-12-01 10:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
andre
Created:
2000-12-01 10:50:01 UTC
Size:
509 bytes
patch
obsolete
>--- crypt-md5.c.orig Fri Dec 1 12:23:28 2000 >+++ crypt-md5.c Fri Dec 1 12:30:26 2000 >@@ -66,8 +66,8 @@ > if(!strncmp(sp,magic,strlen(magic))) > sp += strlen(magic); > >- /* It stops at the first '$', max 8 chars */ >- for(ep=sp;*ep && *ep != '$' && ep < (sp+8);ep++) >+ /* It stops at the first '$', max MD5_SALT_SIZE chars */ >+ for(ep=sp;*ep && *ep != '$' && ep < (sp+MD5_SALT_SIZE);ep++) > continue; > > /* get the length of the true salt */
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 23204
:
11882
| 11883