[PATCH 0/3] qemu: fix off-by-one memory allocation

Ján Tomko jtomko at redhat.com
Tue Mar 17 15:12:17 UTC 2020


On a Tuesday in 2020, Peter Krempa wrote:
>String list was allocated without extra element.
>
>Peter Krempa (3):
>  qemuBlockBitmapsHandleCommitStart: Fix allocation of string list
>  qemuBlockBitmapsHandleCommitFinish: Use proper variable to iterate
>  qemublocktest: Add tests for re-enabling of bitmaps after commit
>
> src/qemu/qemu_block.c                         |  4 +-
> .../bitmap/snapshots-synthetic-broken.json    | 18 ++++++++
> .../bitmap/snapshots-synthetic-broken.out     |  2 +
> .../snapshots-synthetic-broken-1-2            | 30 ++++++++++++
> .../snapshots-synthetic-broken-1-3            | 46 +++++++++++++++++++
> .../snapshots-synthetic-broken-1-4            | 46 +++++++++++++++++++
> .../snapshots-synthetic-broken-1-5            | 46 +++++++++++++++++++
> .../snapshots-synthetic-broken-2-3            | 46 +++++++++++++++++++
> .../snapshots-synthetic-broken-2-4            | 46 +++++++++++++++++++
> .../snapshots-synthetic-broken-2-5            | 46 +++++++++++++++++++
> 10 files changed, 328 insertions(+), 2 deletions(-)
>

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

Jano
-------------- 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/20200317/3bf06743/attachment-0001.sig>


More information about the libvir-list mailing list