[libvirt] [PATCH 1/3] qemu: fix crash due to freeing an uninitialised pointer

Michal Privoznik mprivozn at redhat.com
Fri Dec 6 13:49:26 UTC 2019


On 12/6/19 10:11 AM, Pavel Mores wrote:
> The bug was fairly though not 100% reproducible, presumably due to the fact
> that some of the time, 'safename' might turn out NULL by chance, in which case
> freeing it is OK.
> 
> Signed-off-by: Pavel Mores <pmores at redhat.com>
> ---
>   src/qemu/qemu_monitor_text.c | 2 --
>   1 file changed, 2 deletions(-)

D'oh! I've came around this bug in the morning when playing with 
libvirt-php too and merged patch around the same time as you posted this 
fix.

https://www.redhat.com/archives/libvir-list/2019-December/msg00341.html

Sorry,
Michal




More information about the libvir-list mailing list