[libvirt] [PATCH] conf: prevent NULL pointer access in virSecurityLabelDefsParseXML
Peter Krempa
pkrempa at redhat.com
Mon Aug 27 13:06:43 UTC 2012
On 08/27/12 14:51, Ján Tomko wrote:
> When checking for seclabels without security models, def->nseclabels is
> already set to n. In the case of an error def->seclabels is freed but
> nseclabels is left untouched. This leads to a segmentation fault when
> def is freed in virDomainDefParseXML.
> ---
> src/conf/domain_conf.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
ACK && pushed.
Peter
More information about the libvir-list
mailing list