Re: [PATCH] Properly check the return value of CCWAddressAsString

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

 



On 06/23/2014 08:42 AM, Peter Krempa wrote:
> On 06/23/14 08:36, Ján Tomko wrote:
>> It returns NULL on failure. Checking if the negation of it
>> is less than zero makes no sense. (Found by coverity after moving
>> the code)
>>
>> In another case, the return value wasn't checked at all.
>> ---
>>  src/conf/domain_addr.c | 5 +++--
>>  1 file changed, 3 insertions(+), 2 deletions(-)
>>
> 
> ACK,
> 

Thanks, pushed.

Jan


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]