diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2020-11-04 11:22:47 +0100 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-11-09 15:44:21 +0100 |
commit | bf288953f13b4a3c57e6e59656ac5367491c65eb (patch) | |
tree | 24e0200c45b0189185afad12eac6d9b3c4aa0562 /ui | |
parent | 8ce648056fe2e1b071579b66401c8a58ecbebe05 (diff) | |
download | qemu-bf288953f13b4a3c57e6e59656ac5367491c65eb.zip qemu-bf288953f13b4a3c57e6e59656ac5367491c65eb.tar.gz qemu-bf288953f13b4a3c57e6e59656ac5367491c65eb.tar.bz2 |
hw/block/nvme: fix uint16_t use of uint32_t sgls member
nvme_map_sgl_data erroneously uses the sgls member of NvmeIdNs as a
uint16_t.
Reported-by: Coverity (CID 1436129)
Fixes: cba0a8a344fe ("hw/block/nvme: add support for scatter gather lists")
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Message-Id: <20201104102248.32168-3-its@irrelevant.dk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions