diff options
author | Christoph Hellwig <[email protected]> | 2023-11-17 08:13:36 -0500 |
---|---|---|
committer | Keith Busch <[email protected]> | 2023-11-20 09:25:33 -0800 |
commit | 1c22e0295a5eb571c27b53c7371f95699ef705ff (patch) | |
tree | f729a30e956550ddbb358383834ff0774d7485e7 /scripts/gdb/linux/interrupts.py | |
parent | c7ca9757bda35ff9ce27ab42f2cb8b84d983e6ad (diff) |
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 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions