block: Fix multiwrite error handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Completely replaced patch 1 which Stefan found to be incorrect (thanks for the good review!). Hope I've got it right this time.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: Fix early failure in multiwriteblock.c | +29 | 2 replies | |
| 2/2 | block: Handle multiwrite errors only when all requests have completedblock.c | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/2] block: Fix multiwrite error handling
The bdrv_aio_multiwrite error handling has some bugs that lead to premature cleanup, causing use-after-free and double free problems.
v2:
- Completely replaced patch 1 which Stefan found to be incorrect (thanks for the good review!). Hope I've got it right this time.
Kevin Wolf (2):
block: Fix early failure in multiwrite
block: Handle multiwrite errors only when all requests have completed
block.c | 40 ++++++++++++++++++++++++++++++---------- 1 files changed, 30 insertions(+), 10 deletions(-)