FreeBSD Bugzilla – Attachment 5492 Details for
Bug 13108
authunix_create_default includes egid twice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 505 bytes, created by
David Mazieres
on 1999-08-12 16:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
David Mazieres
Created:
1999-08-12 16:00:00 UTC
Size:
505 bytes
patch
obsolete
>--- /usr/src/lib/libc/rpc/auth_unix.c Wed May 28 01:05:02 1997 >+++ auth_unix.c Thu Aug 12 10:31:50 1999 >@@ -206,9 +206,9 @@ > gid = (int)getegid(); > if ((len = getgroups(NGROUPS, real_gids)) < 0) > abort(); >- if(len > NGRPS) len = NGRPS; /* GW: turn `gid_t's into `int's */ >+ if(--len > NGRPS) len = NGRPS; /* GW: turn `gid_t's into `int's */ > for(i = 0; i < len; i++) { >- gids[i] = (int)real_gids[i]; >+ gids[i] = (int)real_gids[i+1]; > } > return (authunix_create(machname, uid, gid, len, gids)); > }
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 13108
: 5492