]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_dac: Avoid segfault when no label is requested
authorPeter Krempa <pkrempa@redhat.com>
Tue, 28 Aug 2012 16:27:31 +0000 (18:27 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 28 Aug 2012 16:40:36 +0000 (18:40 +0200)
commitf2b241e6a76a2b01f002bf1f71ee321b40bd2ee2
treea4910344cdc2de481ba22f82d5a7b2d342dcacbb
parentf2bb32b1d2443b74cdc6d482697332862adfc769
security_dac: Avoid segfault when no label is requested

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