summary refs log tree commit diff stats
path: root/gdbstub/gdbstub.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-09-29 12:42:16 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-10-06 11:53:40 +0100
commit5413c37f3b2acdae53c19ed16632c723fc93f109 (patch)
treeb2cba7252a7543315c831ed98209b1db07a6b0cb /gdbstub/gdbstub.c
parentb7855bf65f5bed868b06d6492a6d8a174f6cb71b (diff)
downloadfocaccia-qemu-5413c37f3b2acdae53c19ed16632c723fc93f109.tar.gz
focaccia-qemu-5413c37f3b2acdae53c19ed16632c723fc93f109.zip
plugins: Assert mmu_idx in range before use in qemu_plugin_get_hwaddr
Coverity reports out-of-bound accesses here.  This should be a
false positive due to how the index is decoded from MemOpIdx.

Fixes: Coverity CID 1487201
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Message-Id: <20220401190233.329360-1-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220929114231.583801-37-alex.bennee@linaro.org>
Diffstat (limited to 'gdbstub/gdbstub.c')
0 files changed, 0 insertions, 0 deletions