diff options
author | harti <harti@FreeBSD.org> | 2005-11-17 12:19:19 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-11-17 12:19:19 +0000 |
commit | 1e3942d92fbfc6325be930d198f024249f617bcb (patch) | |
tree | 09ef840c8ff36f332f376ede7f3140f7472b78ad /usr.sbin/rpc.lockd/lockd_lock.h | |
parent | 03dcfc1488f97956f1bdfbabfe376109a259278f (diff) | |
download | FreeBSD-src-1e3942d92fbfc6325be930d198f024249f617bcb.zip FreeBSD-src-1e3942d92fbfc6325be930d198f024249f617bcb.tar.gz |
When a user is in more than 16 groups the call to authunix_create() will
result in abort() beeing called. This is because there is a limit of
the number of groups in the RPC which is 16. When the actual number of
groups is too large it results in xdr_array() returning an error which,
in turn, authunix_create() handles by just calling abort().
Fix this by passing only the first 16 groups to authunix_create().
Diffstat (limited to 'usr.sbin/rpc.lockd/lockd_lock.h')
0 files changed, 0 insertions, 0 deletions