[libvirt] [PATCH] Fix crash in SELinuxSecurityVerify

Laine Stump laine at laine.org
Thu Jan 13 16:58:45 UTC 2011


On 01/13/2011 10:23 AM, Laine Stump wrote:
> On 01/13/2011 10:12 AM, Eric Blake wrote:
>> On 01/13/2011 08:00 AM, Laine Stump wrote:
>>> On 01/13/2011 08:46 AM, Daniel P. Berrange wrote:
>>>> On Thu, Jan 13, 2011 at 12:30:30AM -0500, Laine Stump wrote:
>>>>> When attempting to edit a domain, libvirtd segfaulted in
>>>>> SELinuxSecurityVerify() on this line:
>>>>>
>>>>>     if (!STREQ(virSecurityManagerGetModel(mgr), secdef->model)) {
>> This looks like the same crash as is fixed by:
>>
>> https://www.redhat.com/archives/libvir-list/2011-January/msg00472.html
>>
>
> Thanks for pointing that out. Yes, that would fix the specific crash I 
> experienced, but doesn't address it in the more general manner that 
> Daniel suggested.

Nevermind. I wasn't looking carefully enough - that patch *does* fix it 
in the general case.




More information about the libvir-list mailing list