Re: [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]

 



On Thu, Oct 17, 2024 at 14:09:08 +0200, Peter Krempa wrote:
> 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(-)

Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>



[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