linux-bl808/drivers/nvme/target
Hannes Reinecke f04064814c nvmet: fixup buffer overrun in nvmet_subsys_attr_serial()
The serial number is copied into the buffer via memcpy_and_pad()
with the length NVMET_SN_MAX_SIZE. So when printing out we also
need to take just that length as anything beyond that will be
uninitialized.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-09-06 10:03:11 +02:00
..
admin-cmd.c
configfs.c
core.c
discovery.c
fabrics-cmd.c
fc.c
fcloop.c
io-cmd-bdev.c
io-cmd-file.c
Kconfig
loop.c
Makefile
nvmet.h
passthru.c
rdma.c
tcp.c
trace.c
trace.h
zns.c