Skip to content
Snippets Groups Projects
Commit cf4ab538 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Fix the string length returned by the idmapper


Functions like nfs_map_uid_to_name() and nfs_map_gid_to_group() are
expected to return a string without any terminating NUL character.
Regression introduced by commit 57e62324
(NFS: Store the legacy idmapper result in the keyring).

Reported-by: default avatarDave Chiluk <dave.chiluk@canonical.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: Bryan Schumaker <bjschuma@netapp.com>
Cc: stable@vger.kernel.org [>=3.4]
parent 6dbe51c2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment