[libvirt] [PATCH 1/2] leaseshelper: Skip entries missing expiry time on INIT action

Peter Krempa pkrempa at redhat.com
Wed Dec 3 17:49:54 UTC 2014


On 12/03/14 18:47, Eric Blake wrote:
> On 12/03/2014 10:29 AM, Peter Krempa wrote:
>> Coverity pointed out that on other places we always check the return
>> value from virJSONValueObjectGetNumberLong() but not in the new addition
>> in leaseshelper. To solve the issue and also be more robust in case
>> somebody would corrupt the file, skip outputing of the lease entry in
> 
> s/outputing/outputting/
> 
>> case the expiry time is missing.
>> ---
>>  src/network/leaseshelper.c | 10 ++++++++--
>>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> ACK.
> 

Thanks; I've fixed the typo (and s/on/in/ in first line) and pushed the
patches.

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141203/9133d16a/attachment-0001.sig>


More information about the libvir-list mailing list