summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gss_util.c
diff options
context:
space:
mode:
authorSean Finney <sean.finney@sonyericsson.com>2011-04-19 11:05:47 -0400
committerSteve Dickson <steved@redhat.com>2011-04-19 12:30:22 -0400
commit9274e94db85bac04e170414cb8e0f4be271cde90 (patch)
tree382d0202e3f02b6388496403e6fc8d9f54e27412 /utils/gssd/gss_util.c
parenta99269230a0e77e7bed4fa31c9547f0d61c7f206 (diff)
downloadnfs-utils-9274e94db85bac04e170414cb8e0f4be271cde90.tar.gz
nfs-utils-9274e94db85bac04e170414cb8e0f4be271cde90.tar.xz
nfs-utils-9274e94db85bac04e170414cb8e0f4be271cde90.zip
mountd: Use a dynamic buffer for storing lists of gid's
Previously, in auth_unix_gid, group lists were stored in an array of hard-coded length 100, and in the situation that the group lists for a particular call were too large, the array was swapped with a dynamically allocated/freed buffer. For environments where users are commonly in a large number of groups, this isn't an ideal approach. Instead, use malloc/realloc to grow the list on an as-needed basis. Signed-off-by: Sean Finney <sean.finney@sonyericsson.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gss_util.c')
0 files changed, 0 insertions, 0 deletions