Re: [libvirt] [PATCH v2] security_selinux: Fix crash in virSecuritySELinuxRestoreFileLabel

2016-02-03 Thread John Ferlan
On 01/21/2016 07:52 AM, Shanzhi Yu wrote: > virSecuritySELinuxRestoreFileLabel should never be called with NULL path > add check before call this function in case of causeing libvirtd crash > > https://bugzilla.redhat.com/show_bug.cgi?id=1300532 > Signed-off-by: Shanzhi Yu >

[libvirt] [PATCH v2] security_selinux: Fix crash in virSecuritySELinuxRestoreFileLabel

2016-01-21 Thread Shanzhi Yu
virSecuritySELinuxRestoreFileLabel should never be called with NULL path add check before call this function in case of causeing libvirtd crash https://bugzilla.redhat.com/show_bug.cgi?id=1300532 Signed-off-by: Shanzhi Yu --- src/security/security_selinux.c | 25