You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qemu: Fix NULL pointer access in qemuProcessInitCpuAffinity()
Commit 2f2254c 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 <[email protected]>
Signed-off-by: Andrea Bolognani <[email protected]>
Reviewed-by: Erik Skultety <[email protected]>
Reviewed-by: John Ferlan <[email protected]>
0 commit comments