[Bug 952] login_init_entry: Cannot find user when username length is 64
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Nov 12 02:50:11 EST 2004
http://bugzilla.mindrot.org/show_bug.cgi?id=952
Summary: login_init_entry: Cannot find user when username length
is 64
Product: Portable OpenSSH
Version: 3.9p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P4
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: brhamon at cisco.com
struct logininfo (loginrec.h) defines LINFO_NAMESIZE to 64. The call to strlcpy
on loginrec.c line 357 will truncate the 64th character. When a user logs in
with a username of exactly 64 characters, the following error message is
displayed:
login_init_entry: Cannot find
user "testlengthtestlengthtestlengthtestlengthtestlengthtestlengthtes"
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list