Skip to content

Fix mirror segfault with unaligned size

Kevin Wolf qemu-devel 1 version Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2mirror: Fix qiov size for short requestsblock/mirror.c tests/qemu-iotests/041 tests/qemu-iotests/041.out+10 -34 replies
2/2block: Assert qiov length matches request lengthblock.c block/raw-posix.c+10 -41 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchEric Blake
1/2T-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.1 0/2] Fix mirror segfault with unaligned size

Kevin Wolf (2):
mirror: Fix qiov size for short requests
block: Assert qiov length matches request length

 block.c                    |  2 ++
 block/mirror.c             |  4 +++-
 block/raw-posix.c          | 12 ++++++++----
 tests/qemu-iotests/041     |  5 +++++
 tests/qemu-iotests/041.out |  4 ++--
 5 files changed, 20 insertions(+), 7 deletions(-)
Signature · 1 line
1.8.3.1