commit | d4c8e34fe8beeb7877ce7f8d2da6affd7231b2cb | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@primarydata.com> | Wed Jun 18 15:00:19 2014 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Jun 23 11:31:38 2014 -0400 |
tree | 4e493b1102bfedbfec2fc2a9e3258010e3d066a5 | |
parent | f7ce5d284253db9760fc1c3a96b66ec2d9abf0ab [diff] |
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>