]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFSD: pass null terminated buf to kstrtouint()
authorMalahal Naineni <malahal@us.ibm.com>
Sun, 9 Sep 2012 15:25:47 +0000 (10:25 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Oct 2012 16:32:38 +0000 (09:32 -0700)
commit13a34f1542a04f7165c1b41dd6faff85a9ebf061
tree9c02867f651c841c136d3e9273a664497c89d1b1
parent977469fff176739539ac78e2977d50214e2bdcf6
NFSD: pass null terminated buf to kstrtouint()

commit 9959ba0c241a71c7ed8133401cfbbee2720da0b5 upstream.

The 'buf' is prepared with null termination with intention of using it for
this purpose, but 'name' is passed instead!

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/nfs4idmap.c