[libvirt] [PATCH 2/3] security_dac: Avoid segfault when no label is requested

2012-08-28 Thread Peter Krempa
When no DAC label was requested for a domain the DAC manager tried to strdup a NULL string causing a segfault. --- src/security/security_dac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/security/security_dac.c b/src/security/security_dac.c index 925498f..4162e26

Re: [libvirt] [PATCH 2/3] security_dac: Avoid segfault when no label is requested

2012-08-28 Thread Eric Blake
On 08/28/2012 09:51 AM, Peter Krempa wrote: When no DAC label was requested for a domain the DAC manager tried to strdup a NULL string causing a segfault. --- src/security/security_dac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/security/security_dac.c