aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-11-17 08:13:36 -0500
committerKeith Busch <kbusch@kernel.org>2023-11-20 09:25:33 -0800
commit1c22e0295a5eb571c27b53c7371f95699ef705ff (patch)
treef729a30e956550ddbb358383834ff0774d7485e7 /scripts/bpf_doc.py
parentc7ca9757bda35ff9ce27ab42f2cb8b84d983e6ad (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 <zahavi.alon@gmail.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions