aboutsummaryrefslogtreecommitdiff
path: root/xtensa-semi.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-11-09 18:45:38 +0000
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-11 12:49:52 -0600
commit096685fc2a955ea17d5363ab452e301be2b43873 (patch)
treecb51c3ef29a58cb24e6c4e4e362908ed310b7741 /xtensa-semi.c
parent1bbd1592c89a433e1a0501d582652d54d367ca53 (diff)
hw/omap_intc.c: Avoid crash on access to nonexistent banked registers
Avoid a crash due to null pointer dereference if a guest attempts to access banked registers for a nonexistent bank. Spotted by Coverity (see bug 887883). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'xtensa-semi.c')
0 files changed, 0 insertions, 0 deletions