[libvirt] [PATCH] Fix crash in SELinuxSecurityVerify

Laine Stump laine at laine.org
Thu Jan 13 15:23:51 UTC 2011


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.

Anyway, since I've got other fish to fry, I'll hold off on making any 
other patch at least until Cole's patches are pushed.




More information about the libvir-list mailing list