summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-06-18 23:00:19 +0400
committerJ. Bruce Fields <bfields@redhat.com>2014-06-23 19:31:38 +0400
commitd4c8e34fe8beeb7877ce7f8d2da6affd7231b2cb (patch)
tree4e493b1102bfedbfec2fc2a9e3258010e3d066a5 /fs/nfsd/nfs4proc.c
parentf7ce5d284253db9760fc1c3a96b66ec2d9abf0ab (diff)
downloadlinux-d4c8e34fe8beeb7877ce7f8d2da6affd7231b2cb.tar.xz
nfsd: properly handle embedded newlines in fault_injection input
Currently rpc_pton() fails to handle the case where you echo an address into the file, as it barfs on the newline. Ensure that we NULL out the first occurrence of any newline. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
0 files changed, 0 insertions, 0 deletions