[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] disas/cris.c: Fix Coverity warning about unch
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-trivial] [PATCH] disas/cris.c: Fix Coverity warning about unchecked NULL |
Date: |
Thu, 12 Jan 2017 14:03:06 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 |
09.01.2017 22:05, Peter Maydell wrote:
> 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.
Applied to -trivial, thanks!
/mjt