commit | 9ba2a5cb88969c847015905db7f1627ae3c82f73 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Wed Jun 06 15:27:48 2018 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 08 12:51:10 2018 -0600 |
tree | 0a20140ba624428846c3fa66a11149211969d4c4 | |
parent | d4c68c7a8e2aa060d3c245052c76e74dd20b141b [diff] |
nvmet: filter newlines from user input We should avoid consuming the newlines in traddr, trsvcid and device_path. Add minimal processing to make sure they are gone. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>