summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPeter Maydell2017-01-09 20:05:59 +0100
committerMichael Tokarev2017-01-24 21:26:53 +0100
commite11078846996ded6f824868ae63a0c77031ad64c (patch)
tree0559e3fe50896e4f3c84cdb41def76c03c301c61 /docs
parentlm32: milkymist-tmu2: fix another integer overflow (diff)
downloadqemu-e11078846996ded6f824868ae63a0c77031ad64c.tar.gz
qemu-e11078846996ded6f824868ae63a0c77031ad64c.tar.xz
qemu-e11078846996ded6f824868ae63a0c77031ad64c.zip
disas/cris.c: Fix Coverity warning about unchecked NULL
Coverity (CID 1005689) warns that we don't check that spec_reg_info() returned non-NULL before dereferencing. Add the check, though as the comment notes this is a can't-really-happen case because the earlier constraint matching should have ruled out the "unknown reg" case. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions