diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2018-06-06 15:27:48 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-06-08 12:51:10 -0600 |
commit | 9ba2a5cb88969c847015905db7f1627ae3c82f73 (patch) | |
tree | 0a20140ba624428846c3fa66a11149211969d4c4 /drivers/ptp/ptp_pch.c | |
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>
Diffstat (limited to 'drivers/ptp/ptp_pch.c')
0 files changed, 0 insertions, 0 deletions