Files
qemu-ios/hw
Klaus Jensen 7645f21f40 hw/block/nvme: fix out-of-bounds read in nvme_subsys_ctrl
nvme_subsys_ctrl() is used in contexts where the given controller
identifier is from an untrusted source. Like its friends nvme_ns() and
nvme_subsys_ns(), nvme_subsys_ctrl() should just return NULL if an
invalid identifier is given.

Fixes: 645ce1a70c ("hw/block/nvme: support namespace attachment command")
Cc: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
2021-04-07 10:48:33 +02:00
..
…
…
…
…
2021-03-18 09:22:55 +00:00
…
2021-03-15 21:03:06 +01:00
2021-04-06 07:11:36 -04:00
…
2021-03-26 09:33:50 +01:00
2021-03-18 09:22:55 +00:00
…
2021-03-18 09:22:55 +00:00
…
…