summary refs log tree commit diff stats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-07-13 19:24:04 +0200
committerKlaus Jensen <k.jensen@samsung.com>2021-07-26 21:09:39 +0200
commit5029de44b5352d466f1b6e7c0a9f19e1259d33b3 (patch)
tree2c73635dd867fb08aea16173cc05e139eea2b851 /scripts/qapi/types.py
parenta316aa50e6c9f25c22a705000271d33620a40595 (diff)
downloadfocaccia-qemu-5029de44b5352d466f1b6e7c0a9f19e1259d33b3.tar.gz
focaccia-qemu-5029de44b5352d466f1b6e7c0a9f19e1259d33b3.zip
hw/nvme: fix out-of-bounds reads
Peter noticed that mmio access may read into the NvmeParams member in
the NvmeCtrl struct.

Fix the bounds check.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions