| Summary: | login_init_entry: Cannot find user when username length is 64 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Brian Hamon <brhamon> | ||||
| Component: | sshd | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | minor | ||||||
| Priority: | P4 | ||||||
| Version: | 3.9p1 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
Brian Hamon
2004-11-12 02:50:10 AEDT
Created attachment 739 [details]
One-line change. Unit tested on Linux.
65 probably would have worked, I added 8 to keep the alignment of subsequent
fields.
Comment on attachment 739 [details]
One-line change. Unit tested on Linux.
Seems reasonable to me, all of the references in loginrec.c are limited by
sizeof(li->username).
Objections?
I think we should probably round it up to the nearest power of two, but I agree: ok. Thanks, applied (increased to 128 bytes). Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |