[libvirt] [PATCH] conf: Don't free the constructed string in virDomainGetBlkioParametersAssignFromDef

Ján Tomko jtomko at redhat.com
Thu Jun 30 12:53:12 UTC 2016


On Thu, Jun 30, 2016 at 02:39:09PM +0200, Peter Krempa wrote:
>virTypedParameterAssign steals the string rather than copying it into
>the typed parameter and thus freeing it leads to a crash when attempting
>to serialize the results.
>
>This was introduced in commit 9f50f6e2 and later made an universal
>helper in 32e6339c.
>
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1351473
>---
> src/conf/domain_conf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

ACK

Jan




More information about the libvir-list mailing list