[libvirt] [PATCH 2/6] util: fix virBitmap allocation in virProcessInfoGetAffinity

Eric Blake eblake at redhat.com
Thu Nov 29 16:53:31 UTC 2012


> Found by coverity:
> Error: REVERSE_INULL (CWE-476):
>     libvirt-0.10.2/src/util/processinfo.c:141: deref_ptr: Directly
>     dereferencing pointer "map".
>     libvirt-0.10.2/src/util/processinfo.c:142: check_after_deref:
>     Null-checking "map" suggests that it may be null, but it has
>     already
>     been dereferenced on all paths leading to the check.
> ---
>  src/util/processinfo.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

ACK.




More information about the libvir-list mailing list