commit | 096685fc2a955ea17d5363ab452e301be2b43873 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Wed Nov 09 18:45:38 2011 +0000 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Nov 11 12:49:52 2011 -0600 |
tree | cb51c3ef29a58cb24e6c4e4e362908ed310b7741 | |
parent | 1bbd1592c89a433e1a0501d582652d54d367ca53 [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>