Re: [PATCH] security_manager: fix comparison

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

 



On 04/03/2013 02:40 PM, Luiz Capitulino wrote:
> On Wed, 3 Apr 2013 22:23:28 +0200
> Guido Günther <agx@xxxxxxxxxxx> wrote:
> 
>> otherwise we crash later on if we don't find a match like:
>>
>>  #0  0xb72c2b4f in virSecurityManagerGenLabel (mgr=0xb8e42d20, vm=0xb8ef40c0) at security/security_manager.c:424

>>  
>>      virObjectLock(mgr);
>> -    for (i = 0; vm->nseclabels; i++) {
>> +    for (i = 0; i < vm->nseclabels; i++) {

Yep, that's a pretty obvious fix.

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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]

  Powered by Linux