diff options
| author | Christoph Hellwig <[email protected]> | 2023-11-17 13:13:36 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2023-11-20 17:25:33 +0000 |
| commit | 1c22e0295a5eb571c27b53c7371f95699ef705ff (patch) | |
| tree | f729a30e956550ddbb358383834ff0774d7485e7 /drivers/fpga/fpga-bridge.c | |
| parent | nvme: blank out authentication fabrics options if not configured (diff) | |
| download | kernel-1c22e0295a5eb571c27b53c7371f95699ef705ff.tar.gz kernel-1c22e0295a5eb571c27b53c7371f95699ef705ff.zip | |
nvmet: nul-terminate the NQNs passed in the connect command
The host and subsystem NQNs are passed in the connect command payload and
interpreted as nul-terminated strings. Ensure they actually are
nul-terminated before using them.
Fixes: a07b4970f464 "nvmet: add a generic NVMe target")
Reported-by: Alon Zahavi <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
