Re: [PATCH 1/6] conf: fix NULL check in virNetDevBandwidthParse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

ACK.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]