]> git.kernelconcepts.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)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Sep 2012 21:46:19 +0000 (17:46 -0400)
commit9959ba0c241a71c7ed8133401cfbbee2720da0b5
treeda5f7373f5751f9eec3cac5c9ef6ba5fa1dcffbc
parent8c8651b8e2d2957e94c19bc72fd6b7cf9b47fce8
NFSD: pass null terminated buf to kstrtouint()

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>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4idmap.c