[PATCH 10/15] virBitmapNewQuiet: Don't fail on unlikely overflow scenario

Ján Tomko jtomko at redhat.com
Fri Oct 2 10:49:26 UTC 2020

On a Friday in 2020, Peter Krempa wrote:
>Modify the condition which would make virBitmapNewQuiet fail to possibly
>overallocate by 1 rather than failing.
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/util/virbitmap.c | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201002/bea4ecfd/attachment-0001.sig>

More information about the libvir-list mailing list