Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20704 Details for
Bug 33383
glibc vulnerabilities
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glibc-2.2.5-getgrouplist.patch
glibc-2.2.5-getgrouplist.patch (text/plain), 708 bytes, created by
SpanKY
on 2003-11-13 10:07:05 UTC
(
hide
)
Description:
glibc-2.2.5-getgrouplist.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2003-11-13 10:07:05 UTC
Size:
708 bytes
patch
obsolete
>--- glibc-2.2.5/grp/initgroups.c.orig 2003-11-13 13:03:29.620138976 -0500 >+++ glibc-2.2.5/grp/initgroups.c 2003-11-13 13:05:03.693837600 -0500 >@@ -23,6 +23,7 @@ > #include <stdlib.h> > #include <string.h> > #include <unistd.h> >+#include <sys/param.h> > #include <sys/types.h> > #include <nsswitch.h> > >@@ -207,6 +208,9 @@ > return -1; > > result = internal_getgrouplist (user, group, &size, &newgroups, -1); >+ >+ memcpy (groups, newgroups, MIN (*ngroups, result) * sizeof (gid_t)); >+ > if (result > *ngroups) > { > *ngroups = result; >@@ -214,8 +218,6 @@ > } > else > *ngroups = result; >- >- memcpy (groups, newgroups, *ngroups * sizeof (gid_t)); > > free (newgroups); > return result;
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 33383
: 20704 |
20706
|
20751