Bugzilla – Attachment 1924 Details for
Bug 1817
lastlog is not recorded with the big uid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch solving the problem
openssh-5.6p1-biguid.patch (text/plain), 573 bytes, created by
jchadima
on 2010-09-13 21:09:31 AEST
(
hide
)
Description:
Patch solving the problem
Filename:
MIME Type:
Creator:
jchadima
Created:
2010-09-13 21:09:31 AEST
Size:
573 bytes
patch
obsolete
>diff -up openssh-5.6p1/loginrec.c.orig openssh-5.6p1/loginrec.c >--- openssh-5.6p1/loginrec.c.orig 2010-09-13 11:32:57.000000000 +0200 >+++ openssh-5.6p1/loginrec.c 2010-09-13 12:48:25.000000000 +0200 >@@ -1548,7 +1548,7 @@ lastlog_openseek(struct logininfo *li, i > > if (S_ISREG(st.st_mode)) { > /* find this uid's offset in the lastlog file */ >- offset = (off_t) ((long)li->uid * sizeof(struct lastlog)); >+ offset = (off_t) ((long)(unsigned)li->uid * sizeof(struct lastlog)); > > if (lseek(*fd, offset, SEEK_SET) != offset) { > logit("%s: %s->lseek(): %s", __func__,
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 1817
: 1924 |
1946