Re: [PATCH] qemu: Fix NULL pointer access in qemuProcessInitCpuAffinity()

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

 



On Thu, Jun 06, 2019 at 03:44:33PM +0200, Andrea Bolognani wrote:
> Commit 2f2254c7f4e5 attempted to fix a memory leak by ensuring
> cpumapToSet is always a freshly allocated bitmap, but regrettably
> introduced a NULL pointer access while doing so, because it called
> virBitmapCopy() without allocating the destination bitmap first.
>
> Solve the issue by using virBitmapNewCopy() instead.
>
> Reported-by: John Ferlan <jferlan@xxxxxxxxxx>
> Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
> ---
Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux