[libvirt] [PATCH] audit: fix minor off-by-one
Eric Blake
eblake at redhat.com
Thu May 26 17:20:34 UTC 2011
On 05/26/2011 11:04 AM, Laine Stump wrote:
> On 05/26/2011 11:11 AM, Eric Blake wrote:
>> Coverity spotted this off-by-one. Thankfully, no one in libvirt
>> was ever calling virAuditSend with an argument of 3.
>>
>> * src/util/virtaudit.c (virAuditSend): Use correct comparison.
>> ---
>> src/util/virtaudit.c | 4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> ACK.
Thanks; pushed.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110526/d1856498/attachment-0001.sig>
More information about the libvir-list
mailing list