diff options
Diffstat (limited to 'xlators/nfs/lib/src/auth-unix.c')
| -rw-r--r-- | xlators/nfs/lib/src/auth-unix.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/nfs/lib/src/auth-unix.c b/xlators/nfs/lib/src/auth-unix.c index 10000c3858d..50ca381ec85 100644 --- a/xlators/nfs/lib/src/auth-unix.c +++ b/xlators/nfs/lib/src/auth-unix.c @@ -59,6 +59,11 @@ nfs_auth_unix_authenticate (rpcsvc_request_t *req, void *priv)                  goto err;          } +        if (aup.aup_len > 16) { +                ret = RPCSVC_AUTH_REJECT; +                goto err; +        } +          req->uid = aup.aup_uid;          req->gid = aup.aup_gid;          req->auxgidcount = aup.aup_len;  | 
