Re: [PATCH 16/26] network: Resolve Coverity FORWARD_NULL

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

 



On 09/05/14 00:26, John Ferlan wrote:
> If the VIR_STRDUP(exptime,...) fails, then we will jump to cleanup,
> no need to check if exptime is set which causes Coverity to issue
> a complaint in the virStrToLong_ll call because there wasn't a check
> for a NULL value while there was one for the reference right after
> the VIR_STRDUP().
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/network/leaseshelper.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 


ACK




Attachment: signature.asc
Description: OpenPGP digital signature

--
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]