
2 Oct
2020
2 Oct
'20
7:52 a.m.
On a Friday in 2020, Peter Krempa wrote:
virBitmapNewEmpty() can create a bitmap with 0 lenght. With such a
*length
bitmap virBitmapToString will return NULL rather than an empty string. Initialize the buffer to avoid that.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/util/virbitmap.c | 3 +++ 1 file changed, 3 insertions(+)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano