[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] conf: prevent NULL pointer access in virSecurityLabelDefsParseXML



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]