FreeBSD Bugzilla – Attachment 9780 Details for
Bug 19886
skey won't work for usernames > 8 characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 647 bytes, created by
Gregory Bond
on 2000-07-13 07:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Gregory Bond
Created:
2000-07-13 07:20:01 UTC
Size:
647 bytes
patch
obsolete
>Index: skeylogin.c >=================================================================== >RCS file: /usr/ncvs/src/lib/libskey/skeylogin.c,v >retrieving revision 1.14 >diff -u -r1.14 skeylogin.c >--- skeylogin.c 1998/10/26 13:33:39 1.14 >+++ skeylogin.c 2000/07/13 06:05:43 >@@ -19,6 +19,8 @@ > #include <time.h> > #include <errno.h> > >+#include <utmp.h> >+ > #include "skey.h" > #include "pathnames.h" > >@@ -124,7 +126,7 @@ > > /* Look up user name in database */ > len = strlen(name); >- if( len > 8 ) len = 8; /* Added 8/2/91 - nmh */ >+ if( len > UT_NAMESIZE ) len = UT_NAMESIZE; > found = 0; > while(!feof(mp->keyfile)){ > recstart = ftell(mp->keyfile);
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 19886
: 9780