[PATCH 0/4] virbitmap: Fix buffer overflow when shrinking a bitmap and copying it

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

 



See patches for rationale.

Peter Krempa (4):
  virBitmapNewCopy: Honor sizes of either bitmap when doing memcpy()
  virbitmap: Extract and reuse buffer size calculation into a function
  util: virbitmap: Extract clearing of unused bits at the end of the
    last unit
  util: bitmap: Rewrite virBitmapShrink using new helpers

 src/util/virbitmap.c | 84 +++++++++++++++++++++-----------------------
 1 file changed, 40 insertions(+), 44 deletions(-)

-- 
2.47.0




[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